1 对整个网段的速率进行限制
[H3C]qos carl 1 source-ip-address subnet 192.168.1.1 24
[H3C]interface GigabitEthernet 1/0
[H3C-GigabitEthernet1/0]qos car inbound carl 1 cir 10000000 cbs 10000000 ebs 0 green pass red discard
2 对整个网段的每个IP的速率进行限制
[H3C]qos carl 1 source-ip-address subnet 192.168.1.1 24 per-address
[H3C]interface GigabitEthernet 1/0
[H3C-GigabitEthernet1/0]qos car inbound carl 1 cir 10000000 cbs 10000000 ebs 0 green pass red discard
3 对某一IP地址范围内的速率进行限制
[H3C]qos carl 1 source-ip-address range 192.168.1.10 to 192.168.1.20
[H3C]interface GigabitEthernet 1/0
[H3C-GigabitEthernet1/0]qos car inbound carl 1 cir 10000000 cbs 10000000 ebs 0 green pass red discard
4 对某一IP地址范围内每个IP的速率进行限制
[H3C]qos carl 1 source-ip-address range 192.168.1.10 to 192.168.1.20 per-address
[H3C]interface GigabitEthernet 1/0
[H3C-GigabitEthernet1/0]qos car inbound carl 1 cir 10000000 cbs 10000000 ebs 0 green pass red discard
你先看路由里面有不有这个功能。一般路由有限制流量。起码我那个可以