H3C华为交换机端口限速有以下方法:
line-rate(lr)
speed
traffic-limit
qos car
H3C华为交换机端口限速
二层较为准确(如:lr,speed),三层不准确(如:traffic-linit,qos car)
lr :
E050:(可信度100%)
[Quidway-Ethernet0/1]line-rate ?
INTEGER<1-100> Target rate(Mbps
S5500:(可信度100%)
[S5500-GigabitEthernet1/0/1]qos lr outbound cir ?
INTEGER<64-1000000> Committed Information Rate(kbps), it must be a multIPle of 64
speed : (可信度100%)
[S5500-GigabitEthernet1/0/1]speed ?
10 Specify speed of current port 10Mb/s
100 Specify speed of current port 100Mb/s
1000 Specify speed of current port 1000Mb/s
auto Enable port’s speed negotiation automatically
traffic-limit : (可信度50%,当设定50M时,带宽为7M左右;当设定10M时,带宽为1M左右)
[Quidway E050-Ethernet0/1]traffic-limit inbound ip-group 2000 ?
INTEGER<1-100> Target rate(Mbps)
link-group Apply the link-based acl
rule Specify the ID of acl rule
qos car :(s5500)(可信度50%,当设定9.6M时,带宽为5M左右)
acl number 2000
rule 0 permit source 10.0.0.0 0.0.0.255
traffic classifier liukong operator and
if-match acl 2000
traffic behavior liukong
car cir 9600 cbs 200000 ebs 4000 green pass red discard yellow pass
qos policy liukong
classifier liukong behavior liukong
interface GigabitEthernet1/0/1
qos apply policy liukong inbound
补充说明:交换机端口限速
网友评论