120
Step Command
2.
Enter interface view.
interface
interface-type interface-number
3.
Configure an MPLS CAR policy for
the interface or port group.
qos car
{
inbound
|
outbound
} {
any |
acl
acl-numbe
r |
carl
carl-index
}
cir
committed-information-rate
[
cbs
committed-burst-size
[
ebs
excess-burst-size
] ] [
green
action
] [
red
action
]
The
action
argument for MPLS can be as follows:
•
remark-mpls-exp-continue
new-exp
—Sets the EXP value to
new-exp
and continues to
process the packet using the next CAR policy. The value range for
new-exp
argument is 0 to 7.
•
remark-mpls-exp-pass
new-exp
—Sets the EXP value to
new-exp
and permits the packet to
pass through. The value range for
new-exp
is 0 to 7.
Configuring MPLS priority marking
In an MPLS network, you can adjust the priority of an MPLS traffic flow by re-marking its EXP value.
Before you configure MPLS priority marking, complete basic MPLS configurations. For more
information about basic MPLS configurations, see
MPLS Configuration Guide
.
To configure MPLS priority marking:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Create a traffic class and
enter traffic class view.
traffic classifier
classifier-name
[
operator
{
and
|
or
} ]
The
classifier-name
argument
cannot be the name of any
system-defined traffic class.
The default operator for the match
criteria configured in a traffic class
is
and
.
3.
Configure a match criterion
for the traffic class.
if-match
[
not
]
mpls-exp
exp-value-list
The match criterion applies only
to MPLS packets.
4.
Return to system view.
quit
N/A
5.
Create a traffic behavior and
enter traffic behavior view.
traffic behavior
behavior-name
N/A
6.
Configure an EXP
re-marking action in the
behavior.
remark
mpls-exp
exp-value
N/A
7.
Return to system view.
quit
N/A
8.
Create a QoS policy and
enter QoS policy view.
qos policy
policy-name
N/A
9.
Associate the traffic class
with the traffic behavior in the
QoS policy.
classifier
classifier-name
behavior
behavior-name
N/A