HP FlexNetwork 6600 Configuration Manual page 130

Acl and qos
Table of Contents

Advertisement

Configuration procedure
1.
Configure device PE 1:
# Configure four classes to match the DSCP values AF11, AF21, AF31, and EF of the MPLS
packets in the same VPN.
<PE1> system-view
[PE1] traffic classifier af11
[PE1-classifier-af11] if-match dscp af11
[PE1-classifier-af11] traffic classifier af21
[PE1-classifier-af21] if-match dscp af21
[PE1-classifier-af21] traffic classifier af31
[PE1-classifier-af31] if-match dscp af31
[PE1-classifier-af31] traffic classifier efclass
[PE1-classifier-efclass] if-match dscp ef
[PE1-classifier-efclass] quit
# Configure four traffic behaviors to set the EXP value to 1, 2, 3, and 4, respectively, for MPLS
packets.
[PE1] traffic behavior exp1
[PE1-behavior-exp1] remark mpls-exp 1
[PE1-behavior-exp1] traffic behavior exp2
[PE1-behavior-exp2] remark mpls-exp 2
[PE1-behavior-exp2] traffic behavior exp3
[PE1-behavior-exp3] remark mpls-exp 3
[PE1-behavior-exp3] traffic behavior exp4
[PE1-behavior-exp4] remark mpls-exp 4
[PE1-behavior-exp4] quit
# Create QoS policy REMARK, and associate the behaviors with the classes in the QoS policy
to mark different classes of packets with different EXP values.
[PE1] qos policy REMARK
[PE1-qospolicy-REMARK] classifier af11 behavior exp1
[PE1-qospolicy-REMARK] classifier af21 behavior exp2
[PE1-qospolicy-REMARK] classifier af31 behavior exp3
[PE1-qospolicy-REMARK] classifier efclass behavior exp4
[PE1-qospolicy-REMARK] quit
# Apply QoS policy REMARK to the incoming traffic of interface GigabitEthernet 1/0/1 of PE1 in
the MPLS network.
[PE1] interface gigabitethernet 1/0/1
[PE1-GigabitEthernet1/0/1] qos apply policy REMARK inbound
[PE1-GigabitEthernet1/0/1] quit
2.
Configure device P:
# Configure four classes to match EXP values 1, 2, 3 and 4 of the MPLS packets, respectively.
<P> system-view
[P] traffic classifier EXP1
[P-classifier-EXP1] if-match mpls-exp 1
[P-classifier-EXP1] traffic classifier EXP2
[P-classifier-EXP2] if-match mpls-exp 2
[P-classifier-EXP2] traffic classifier EXP3
[P-classifier-EXP3] if-match mpls-exp 3
[P-classifier-EXP3] traffic classifier EXP4
123

Advertisement

Table of Contents
loading

This manual is also suitable for:

Hsr6600

Table of Contents