HP MSR2000/3000/4000 Router Series ACL and QoS Command Reference
34
MPLS QoS commands
if-match mpls-exp
Use if-match mpls-exp to define a criterion to match the EXP field in the first (topmost) MPLS label.
Use undo if-match mpls-exp to remove the match criterion.
Syntax
if-match [ not ] mpls-exp exp-value&<1-8>
undo if-match [ not ] mpls-exp exp-value&<1-8>
Default
No criterion is defined to match the EXP field in the topmost MPLS label.
Views
Traffic class view
Predefined user roles
network-admin
Parameters
not: Matches packets not conforming to the specified criterion.
exp-value&<1-8>: Specifies a space-separated list of up to eight EXP values. An EXP value is in the range
of 0 to 7. If the same EXP value is specified multiple times, the system considers them as one. If a packet
matches one of the defined MPLS EXP values, it matches the if-match clause.
Examples
# Define a criterion to match packets with the EXP value 3 or 4 in the topmost MPLS label.
<Sysname> system-view
[Sysname] traffic classifier database
[Sysname-classifier-database] if-match mpls-exp 3 4
remark mpls-exp
Use remark mpls-exp to configure an EXP value marking action in a traffic behavior.
Use undo remark mpls-exp to delete the action.
Syntax
remark mpls-exp exp-value
undo remark mpls-exp
Default
No EXP value marking action is configured.
Views
Traffic behavior view