华为网络交换机QOS限速配置命令

1、配置ACL
acl number 3000
rule 10 permit ip source 192.168.x.x 0

2、匹配感兴趣流
traffic classifier tc-100 operator and
if-match acl 3000

3、配置策略动作(限速为15M)
traffic behavior tb-1
car cir 15360 pir 15360 cbs 2048000 pbs 2048000 green pass yellow pass red discard

4、配置策略
traffic policy tp-1
classifier tc-100 behavior tb-1

5、接口调用(此处为调用在出方向)
interface GigabitEthernet0/0/1
traffic-policy tp-1 outbound

猜你喜欢

转载自blog.51cto.com/13941833/2564295