Cisco QOS设置
作者:互联网
1、 抓取列表
1 Cisco1921# 2 3 Cisco1921#conf t 4 5 Cisco1921(config)#access-list 100 permit ip 12.172.1.0 0.0.0.255 any 6 7 Cisco1921(config)#access-list 100 permit ip any 12.172.1.0 0.0.0.255
2、 创建Class-Map
1 Cisco1921(config)#class-map match-all 10M 2 3 Cisco1921(config-cmap)#match access-group 100 4 5 Cisco1921(config-cmap)#exit
3、 创建Policy-Map
1 Cisco1921(config)#policy-map LIMIT 2 3 Cisco1921(config-pmap)#class 4 5 Cisco1921(config-pmap)#class 10M 6 7 Cisco1921(config-pmap-c)#police cir 10000000 bc 10000000 8 9 Cisco1921(config-pmap-c-police)#conform-action transmit 10 11 Cisco1921(config-pmap-c-police)#exceed-action transmit 12 13 Cisco1921(config-pmap-c-police)#violate-action drop
4、 接口应用策略
1 Cisco1921(config)#int port-channel 1.12 2 3 Cisco1921(config-subif)#service-policy input LIMIT 4 5 Cisco1921(config-subif)#service-policy output LIMIT
标签:设置,Cisco,Cisco1921,police,access,LIMIT,pmap,QOS,config 来源: https://www.cnblogs.com/travis-li/p/12619376.html