需求如下:
(1)总带宽为80M
(2)服务器192.168.1.100的带宽设置保证上行 500 下行 1000
(3)内网的P2P/FTP的下载流量控制在40M内
(4)其它的PC由路由器自动计算
具体配置如下:
NBR (config)#ip bandwidth-auto-adjust total-bandwidth inbound 80000 outbound 80000 interface fastEthernet 1/0
NBR (config)#ip bandwidth-auto-adjust base-on-application interface fastEthernet 1/0
//开启游戏/WEB优先
NBR (config)#ip bandwidth-auto-adjust ip 192.168.1.100 inbound minimum 500 outbound minimum 1000 interface fastEthernet 1/0 application
NBR (config)#ip bandwidth-auto-adjust max-bandwidth inbound 40000 outbound 40000 interface fastEthernet 1/0 application low-priority
NBR (config)#ip bandwidth-auto-adjust auto-config interface fastEthernet 1/0
NBR (config)#ip bandwidth-auto-adjust uptight-percent 70 interface fastEthernet 1/0
//默认为阀值为70%,可以不需要配置,若配置值为70则不会显示,若配置值为非70则会在sh ru配置中显示
纠错