使用LLQ给视频流量提供保留带宽 在配置之前肯定事先已经将视频流量的数据包优先级更改成5,给ACL100和101定义的数据包加入class map, 然后使用policy map中的priority命令来保证1518k的带宽,并且把优先级set到5,交给下一跳路由器 class-map match-all nimokaka1 match access-group 100 class-map match-all nimokaka2 match access-group 101 ! policy-map video1 //定义LLQ策略 class nimokaka1 priority 1518 //使用priority定义为Video预留的带宽 set ip precedence 5 //更改优先级 class class-default fair-queue interface FastEthernet1/0/0.1 description HQ1 LAN encapsulation dot1Q 1 ip address 129.2.80.21 255.255.0.0 service-policy output video1 //在接口下应用策略 ! interface Serial1/0/0 description Router 1 to ROUTER 2 ip address 206.141.24.1 255.255.255.0 ip route-cache policy no ip route-cache distributed service-policy output video ! access-list 100 permit ip host 141.2.20.20 host 129.2.20.34 precedence critical //通过ACL匹配 access-list 101 permit ip host 129.2.20.34 host 141.2.20.20 precedence critical
|