免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1016 | 回复: 0
打印 上一主题 下一主题

Mapping CoS Values to Select Egress Queues [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2007-06-08 14:55 |只看该作者 |倒序浏览

Beginning in privileged EXEC mode, follow these steps to map CoS ingress values to select one of the egress queues:

Command
Purpose
Step 1
configure terminal
Enter global configuration mode.
Step 2
mls qos
Enable QoS on the switch.
Step 3
interface interface-id
Enter interface configuration mode, and specify the egress Gigabit-capable Ethernet interface.
Step 4
wrr-queue cos-map queue-id cos1 ... cosn
Map assigned CoS ingress values to select one of the egress queues.
The default map has these values:
CoS value 0, 1 selects queue 1.
CoS value 2, 3 selects queue 2.
CoS value 4, 5 selects queue 3.
CoS value 6, 7 selects queue 4.
For queue-id, specify the ID of the egress queue. The range is 1 to 4.
For cos1 ... cosn, specify the CoS values that select a queue. Enter up to eight CoS values. Separate each value with a space. The range is 0 to 7.
Step 5
end
Return to privileged EXEC mode.
Step 6
show mls qos interface queueing
Verify your entries.
Step 7
copy running-config startup-config
(Optional) Save your entries in the configuration file.
To return the default CoS-to-egress-queue map, use the no wrr-queue cos-map [queue-id] interface configuration command.
This example shows how to map CoS values 6 and 7 to queue 1, 4 and 5 to queue 2, 2 and 3 to queue 3, 0 and 1 to queue 4.
Switch(config)# interface gigabitethernet0/1
Switch(config-if)# wrr-queue cos-map 1 6 7
Switch(config-if)# wrr-queue cos-map 2 4 5
Switch(config-if)# wrr-queue cos-map 3 2 3
Switch(config-if)# wrr-queue cos-map 4 0 1


本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/33070/showart_317531.html
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP