免费注册 查看新帖 |

Chinaunix

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

qos的做法,一个小问题请高手指教 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2007-08-19 13:14 |只看该作者 |倒序浏览
我想根据不同的业务分配带宽,使用CBWFQ队列调度,可是在配置的时候,总是提示:\r\n[Router-qospolicy-c-cbwfq default-class]af bandwidth 340\r\nCBQ : Can be enabled as an output feature only.\r\n[Router-qospolicy-c-cbwfq default-class]\r\n不知道是怎么回事,具体配置如下:(下划线部分是想加入的配置)\r\n!\r\nversion 1.74\r\nfirewall enable\r\naaa-enable\r\naaa accounting-scheme optional\r\n!\r\nacl 3011 match-order config\r\nrule normal permit ip source 16.128.45.128 0.0.0.15 destination any\r\nrule normal permit ip source 16.128.45.48 0.0.0.15 destination any\r\nrule normal permit ip source any destination 16.128.45.128 0.0.0.15\r\nrule normal permit ip source any destination 16.128.45.48 0.0.0.15\r\nrule normal deny ip source any destination any\r\n!\r\nacl 3012 match-order config\r\nrule normal permit ip source 16.128.186.0 0.0.0.255 destination any\r\nrule normal permit ip source any destination 16.128.186.0 0.0.0.255\r\nrule normal deny ip source any destination any\r\n!\r\nacl 3014 match-order config\r\nrule normal permit ip source 16.128.141.128 0.0.0.15 destination any\r\nrule normal permit ip source any destination 16.128.141.128 0.0.0.15\r\nrule normal deny ip source any destination any\r\n!\r\ninterface Aux0 \r\nasync mode flow\r\nlink-protocol ppp\r\n!\r\ninterface Ethernet0 \r\n!\r\ninterface Ethernet0.1\r\ndescription yingye\r\nvlan-type dot1q vid 140 \r\nip address 16.128.45.129 255.255.255.240\r\n!\r\ninterface Ethernet0.2\r\ndescription qiye\r\nvlan-type dot1q vid 110 \r\nip address 16.128.186.98 255.255.255.0\r\n!\r\ninterface Ethernet0.3\r\ndescription guanli\r\nvlan-type dot1q vid 1024 \r\nip address 16.128.1.129 255.255.255.240\r\n!\r\ninterface Ethernet0.4\r\ndescription VOIP\r\nvlan-type dot1q vid 4 \r\nip address 16.128.141.129 255.255.255.240\r\n!\r\ninterface Serial0 \r\nlink-protocol ppp\r\nip address 16.128.226.18 255.255.255.252\r\n!\r\nqos class logic-and qiye\r\nif-match acl 3012\r\n!\r\nqos class logic-and yingye\r\nif-match acl 3011\r\n!\r\nqos class logic-and voip\r\nif-match acl 3014\r\n!\r\nquit\r\nqos policy cbwfq\r\nqos-class default-class\r\naf bandwidth 500\r\nquit\r\nqos-class yingye\r\naf bandwidth 840\r\nquit\r\nqos-class voip\r\naf bandwidth 512\r\nquit\r\nquit\r\n!\r\nreturn\r\n\r\n[Router]\r\n请大侠指点
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP