Configuration Procedures - HP 5920 Configuration Manual

Acl and qos
Table of Contents

Advertisement

Limit the outgoing HTTP traffic (traffic accessing the Internet) rate of Ten-GigabitEthernet 1/0/2 to
102400 kbps and drop the excess traffic.
Figure 12 Network diagram

Configuration procedures

Configure Device A:
1.
# Configure ACL 2001 and ACL 2002 to match traffic from Server and Host A, respectively.
<DeviceA> system-view
[DeviceA] acl number 2001
[DeviceA-acl-basic-2001] rule permit source 1.1.1.1 0
[DeviceA-acl-basic-2001] quit
[DeviceA] acl number 2002
[DeviceA-acl-basic-2002] rule permit source 1.1.1.2 0
[DeviceA-acl-basic-2002] quit
# Create a class named server and use ACL 2001 as the match criterion. Create a class named
host and use ACL 2002 as the match criterion.
[DeviceA] traffic classifier server
[DeviceA-classifier-server] if-match acl 2001
[DeviceA-classifier-server] quit
[DeviceA] traffic classifier host
[DeviceA-classifier-host] if-match acl 2002
[DeviceA-classifier-host] quit
# Create a behavior named server and configure the CAR action for the behavior as follows: Set
the CIR to 102400 kbps, and mark the excess packets (red packets) with DSCP value 0 and
transmit them.
[DeviceA] traffic behavior server
[DeviceA-behavior-server] car cir 102400 red remark-dscp-pass 0
[DeviceA-behavior-server] quit
# Create a behavior named host and configure the CAR action for the behavior as follows: Set the
CIR to 25600 kbps.
[DeviceA] traffic behavior host
[DeviceA-behavior-host] car cir 25600
[DeviceA-behavior-host] quit
# Create a QoS policy named car and associate class server with behavior server and class host
with behavior host.
[DeviceA] qos policy car
40

Advertisement

Table of Contents
loading

This manual is also suitable for:

5900

Table of Contents