Ip Rate Limit Configuration Example; Network Requirements - HP MSR4080 Configuration Manual

Acl and qos
Hide thumbs Also See for MSR4080:
Table of Contents

Advertisement

# Configure GTS on GigabitEthernet 2/1/2, shaping the packets when the sending rate exceeds
500 kbps to decrease the packet loss rate of GigabitEthernet 2/1/0 of Router B.
<RouterA> system-view
[RouterA] interface gigabitethernet 2/1/2
[RouterA-GigabitEthernet2/1/2] qos gts any cir 500
[RouterA-GigabitEthernet2/1/2] quit
# Configure ACLs to permit the packets from the server and Host A.
[RouterA] acl number 2001
[RouterA-acl-basic-2001] rule permit source 1.1.1.1 0
[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 GigabitEthernet 2/1/0.
[RouterA] interface gigabitethernet 2/1/0
[RouterA-GigabitEthernet2/1/0] qos car inbound acl 2001 cir 54 cbs 4000 ebs 0 green
pass red remark-prec-pass 0
[RouterA-GigabitEthernet2/1/0] qos car inbound acl 2002 cir 8 cbs 1875 ebs 0 green
pass red discard
[RouterA-GigabitEthernet2/1/0] quit
2.
Configure Router B:
# Configure a CAR policy on GigabitEthernet 2/1/0 to limit the incoming traffic rate to 500 kbps
and drop the excess packets.
<RouterB> system-view
[RouterB] interface gigabitethernet 2/1/0
[RouterB-GigabitEthernet2/1/0] qos car inbound any cir 500 cbs 32000 ebs 0 green pass
red discard
[RouterB-GigabitEthernet2/1/0] quit
# Configure a CAR policy on GigabitEthernet 2/1/1 to limit the sending rate to 1 Mbps and drop
the excess packets.
[RouterB] interface gigabitethernet 2/1/1
[RouterB-GigabitEthernet2/1/1] qos car outbound any cir 1000 cbs 65000 ebs 0 green
pass red discard

IP rate limit configuration example

Network requirements

As shown in
of incoming packets from each IP address in the range of 2.1.1.1 to 2.1.1.100 to 5 kbps and to allow all IP
addresses in the range to share the remaining bandwidth.
Figure
12, configure a CAR-list-based CAR policy on GigabitEthernet 2/1/1 to limit the rate
44

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents