打开APP
userphoto
未登录

开通VIP,畅享免费电子书等14项超值服

开通VIP
Cisco路由器QoS配置详解-过滤流量和队列排序(一)

Cisco路由器QoS配置详解-过滤流量和队列排序

定制队列) 学习CQ(定制队列)的配置;本实验首先用ACL定义一些流量。然后再将这些流量进行先后排队,最后将排好队的流量策略应用到接口上

1 过滤流量
R2(config)#access-list 101 permit ospf any any
R2(config)#access-list 101 permit eigrp any any
R2(config)#access-list 102 permit ip any 192.168.0.1 0.0.0.0
R2(config)#access-list 102 permit ip host 192.168.0.1 any
R2(config)#access-list 103 permit tcp any host 192.168.0.1 eq 23
R2(config)#access-list 103 permit tcp any host 192.168.0.1 eq 21
R2(config)#access-list 103 permit tcp any host 192.168.0.1 eq 20
R2(config)#access-list 104 permit udp any lt 200 any lt 200
R2(config)#access-list 104 permit tcp any range 135 139 any range 135 139
R2(config)#access-list 105 permit udp any range 16333 35252 any range 16333 35252
2 队列排序
R2(config)#queue-list 1 protocol ip 1 list 101      //将与List101匹配的流量排在第一位
R2(config)#queue-list 1 protocol ip 2 list 102
R2(config)#queue-list 1 protocol ip 3 list 103
R2(config)#queue-list 1 protocol ip 4 list 104
R2(config)#queue-list 1 protocol ip 5 list 105
3 将CQ应用到接口
R2(config) #int s0
R2(config-if) #custom-queue-list 1      //将这个定制好的队列应用到接口上
4 检验
R2 #sh queueing     //查看队列
Current fair queue configuration:
Interface       Discard     Dynamic      Reserved      Link      Priority
           threshold    queues      queues      queues      queues
BRI0           64         16                0                8               1
BRI0:1        64         16                0                8               1
BRI0:2        64         16                0                8               1
Serial1        64        256              0                8               1  
Current DLCI priority queue configuration:
Current priority queue configuration:
Current custom queue configuration:

List        Queue        Args
1 1    protocol ip   list 101
1 2    protocol ip   list 102
1 3    protocol ip   list 103
1 4    protocol ip   list 104
1 5    protocol ip   list 105

本站仅提供存储服务,所有内容均由用户发布,如发现有害或侵权内容,请点击举报
打开APP,阅读全文并永久保存 查看更多类似文章
猜你喜欢
类似文章
【热】打开小程序,算一算2024你的财运
Sourcewildcardbits的意思通配符ohyes
QOS中 PQ,CQ.RR,WFQ,CBWFQ,LLQ区分
ACL的基本工作原理
Cisco ASA防火墙的部署模式和控制访问
配置Auto-QoS
cisco 871w路由器QoS配置步骤
更多类似文章 >>
生活服务
热点新闻
分享 收藏 导长图 关注 下载文章
绑定账号成功
后续可登录账号畅享VIP特权!
如果VIP功能使用有故障,
可点击这里联系客服!

联系客服