R2511-HP MSR Router Series ACL and QoS Configuration Guide(V5)
42
[RouterA-acl-basic-2001] quit
[RouterA] acl number 2002
[RouterA-acl-basic-2002] rule permit source 1.1.1.2 0
[RouterA-acl-basic-2002] quit
# Configure CAR policies for different flows received on Ethernet 1/1.
[RouterA] interface ethernet 1/1
[RouterA-Ethernet1/1] qos car inbound acl 2001 cir 54 cbs 4000 ebs 0 green pass red
remark-prec-pass 0
[RouterA-Ethernet1/1] qos car inbound acl 2002 cir 8 cbs 1875 ebs 0 green pass red
discard
[RouterA-Ethernet1/1] quit
2. Configure Router B:
# Configure a CAR policy on Ethernet 1/1 to limit the incoming traffic rate to 500 kbps and drop
the excess packets.
<RouterB> system-view
[RouterB] interface ethernet 1/1
[RouterB-Ethernet1/1] qos car inbound any cir 500 cbs 32000 ebs 0 green pass red discard
[RouterB-Ethernet1/1] quit
# Configure a CAR policy on Ethernet 1/2 to limit the sending rate to 1 Mbps and drop the excess
packets.
[RouterB] interface ethernet 1/2
[RouterB-Ethernet1/2] qos car outbound any cir 1000 cbs 65000 ebs 0 green pass red
discard
IP rate limit configuration example
Network requirements
As shown in Figure 12, limit the rate of packets entering Ethernet 1/2 of the Router as follows: perform
per-IP-address rate limiting for traffic sourced from Host A through Host Z, which are on the network
segment 2.1.1.1 through 2.1.1.100, with the per-IP-address rate limit being 5 kbps, and make traffic from all
IP addresses on the network segment share the remaining bandwidth.
Figure 12 Network diagram
Configuration procedure
# Configure per-IP-address rate limiting on Ethernet 1/2 to limit the rate of each PC on the network
segment 2.1.1.1 through 2.1.1.100, and make traffic from all IP addresses in the network segment share the
remaining bandwidth.










