Configuration Procedures - HP 5830 Series Configuration Manual

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

Advertisement

Perform traffic control on GigabitEthernet 1/0/1 of Device A for traffic received from Server and Host A,
respectively, to meet the following requirements:
Limit the rate of traffic from Server to 1024 kbps: Transmit the conforming traffic, and mark the
excess traffic with DSCP value 0 and then transmit the traffic.
Limit the rate of traffic from Host A to 256 kbps: Transmit the conforming traffic, and drop the excess
traffic.
Perform traffic control on GigabitEthernet 1/0/1 and GigabitEthernet 1/0/2 of Device B to meet the
following requirements:
Limit the total incoming traffic rate of GigabitEthernet 1/0/1 to 2048 kbps and drop the excess
traffic.
Limit the outgoing HTTP traffic (traffic accessing the Internet) rate of GigabitEthernet 1/0/2 to 1024
kbps and drop the excess traffic.
Figure 12 Network diagram
Server
1.1.1.1/8
Ethernet

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 1024 kbps, and mark the excess packets (red packets) with DSCP value 0 and transmit
them.
Host A
GE1/0/1
1.1.1.2/8
GE1/0/1
GE1/0/3
Device A
GE1/0/2
Internet
Device B
GE1/0/2
Host B
36

Advertisement

Table of Contents
loading

Table of Contents