Download Print this page

HP 6125G Configuration Manual Page 45

Hp 6125g & 6125g/xg blade switches acl and qos configuration guide-r2103.
Hide thumbs

Advertisement

[DeviceA-qospolicy-car] quit
# Apply QoS policy car to the incoming traffic of port GigabitEthernet 1/0/1.
[DeviceA] interface GigabitEthernet 1/0/1
[DeviceA-GigabitEthernet1/0/1] qos apply policy car inbound
Configure Device B:
2.
# Configure advanced ACL 3001 to match HTTP traffic.
<DeviceB> system-view
[DeviceB] acl number 3001
[DeviceB-acl-adv-3001] rule permit tcp destination-port eq 80
[DeviceB-acl-adv-3001] quit
# Create a class named http, and use ACL 3001 as the match criterion.
[DeviceB] traffic classifier http
[DeviceB-classifier-http] if-match acl 3001
[DeviceB-classifier-http] quit
# Create a class named class, and configure the class to match all packets.
[DeviceB] traffic classifier class
[DeviceB-classifier-class] if-match any
[DeviceB-classifier-class] quit
# Create a behavior named car_inbound, and configure the CAR action for the behavior as
follows: set the CIR to 2048 kbps.
[DeviceB] traffic behavior car_inbound
[DeviceB-behavior-car_inbound] car cir 2048
[DeviceB-behavior-car_inbound] quit
# Create a behavior named car_outbound, and configure a CAR action for the behavior as
follows: set the CIR to 1024 kbps.
[DeviceB] traffic behavior car_outbound
[DeviceB-behavior-car_outbound] car cir 1024
[DeviceB-behavior-car_outbound] quit
# Create a QoS policy named car_inbound, and associate class class with traffic behavior
car_inbound in the QoS policy.
[DeviceB] qos policy car_inbound
[DeviceB-qospolicy-car_inbound] classifier class behavior car_inbound
[DeviceB-qospolicy-car_inbound] quit
# Create a QoS policy named car_outbound, and associate class http with traffic behavior
car_outbound in the QoS policy.
[DeviceB] qos policy car_outbound
[DeviceB-qospolicy-car_outbound] classifier http behavior car_outbound
[DeviceB-qospolicy-car_outbound] quit
# Apply QoS policy car_inbound to the incoming traffic of port GigabitEthernet 1/0/1.
[DeviceB] interface GigabitEthernet 1/0/1
[DeviceB-GigabitEthernet1/0/1] qos apply policy car_inbound inbound
# Apply QoS policy car_outbound to the outgoing traffic of port GigabitEthernet 1/0/2.
[DeviceB] interface GigabitEthernet 1/0/2
[DeviceB-GigabitEthernet1/0/2] qos apply policy car_outbound outbound
39

Advertisement

   Related Manuals for HP 6125G

This manual also for:

3600 v2 series

Comments to this Manuals

Symbols: 0
Latest comments: