配合人臉pad測試,需要對交換機限速,記錄如下:
型號:H3C-S5120V2,設置端口限速。
<H3C>system
[H3C]int G1/0/23
[H3C-GigabitEthernet1/0/23]qos lr inbound cir ?
INTEGER<8-1048576> CIR value in kbps, it must be a multiple of 8 //系統信息提示,設置的速率參數必須是8的倍數疊加
[H3C-GigabitEthernet1/0/23]qos lr inbound cir 8 //進口速率
[H3C-GigabitEthernet1/0/23]qos lr outbound cir 8 //出口速率
[H3C-GigabitEthernet1/0/23]dis this
#
interface GigabitEthernet1/0/23
port access vlan 2
qos lr inbound cir 8 cbs 512
qos lr outbound cir 8 cbs 512
名詞解釋:
inbound 對上線用戶接受到的報文進行限速
outbound 對上線用戶發送的報文進行限速
any 對所用的IP數據包限速
cir 是committed-information-rate的縮寫,承諾信息速率,單位kbps
cbs 是committed-burst-size的縮寫,承諾突發尺寸,實際平均速率在承諾速率之內的突發流量,單位字節(byte)
ebs 是excess-burst-size的縮寫,進度突發尺寸,單位byte,缺省為0byte
取消端口限速
undo qos lr inbound
undo qos lr outbound
結束。