h3c sr6608路由器IP限速
实现目标:
流经路由器端口3/2/0的IP段10.2.181.0 单ip上传限速500KByte/s,单IP下载限速500KByte/s,网段上传下载限速5000KByte/s
1、进入路由特权模式并定义ip属性:
[H3C router] qos carl 1 source-ip-address range 10.2.181.2 to 10.2.181.254 per-address 定义要限速的源ip(单ip上传)
[H3C router] qos carl 2 destination-ip-address range 10.2.181.2 to 10.2.181.254 per-address 定义要限速的目的ip(单ip下载)
[H3C router] qos carl 3 source-ip-address range 10.2.181.2 to 10.2.181.254 定义网段上传速率
[H3C router] qos carl 4 destination-ip-address range 10.2.181.2 to 10.2.181.254 定义网段下载速率
[H3C router] interface GigabitEthernet3/2/0 进入要限速得端口
2、限速设置:
[H3C router-GigabitEthernet3/2/0] qos car inbound carl 1 cir 5000 cbs 50000 ebs 0 green pass red discard
[H3C router-GigabitEthernet3/2/0] qos car outbound carl 2 cir 5000 cbs 50000 ebs 0 green pass red discard
[H3C router-GigabitEthernet3/2/0] qos car inbound carl 3 cir 50000 cbs 500000 ebs 0 green pass red discard
[H3C router-GigabitEthernet3/2/0] qos car outbound carl 4 cir 500000 cbs 500000 ebs 0 green pass red discard
3、退出保存配置:
[H3C router-GigabitEthernet3/2/0] quit
[H3C router] save 保存配置
来源:51CTO
作者:bristol
链接:https://blog.51cto.com/bristol/2316774