华三S5120V2限速配置

配合人脸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

结束。

原文地址:https://www.cnblogs.com/liusingbon/p/13346286.html