R2511-HP MSR Router Series ACL and QoS Command Reference(V5)
42
Defining a criterion to match IP precedence values
• You can configure multiple IP precedence match criteria for a class. The defined IP precedence
values are automatically arranged in ascending order.
• You can configure up to eight IP precedence values in one command line. If the same IP precedence
is specified multiple times, the system considers them as one. If a packet matches one of the defined
IP precedence values, it matches the if-match clause.
• To delete a criterion that matches IP precedence values, the specified IP precedence values in the
command must be identical with those defined in the criterion (the sequence can be different).
Defining a criterion to match local precedence values
• You can configure multiple local precedence match criteria for a class. The defined local
precedence values are automatically arranged in ascending order.
• You can configure up to eight local precedence values in one command line. If the same local
precedence value is specified multiple times, the system considers them as one. If a packet matches
one of the defined local precedence values, it matches the if-match clause.
• To delete a criterion that matches local precedence values, the specified local precedence values
must be identical with those defined in the match criterion (the sequence can be different).
Defining a criterion to match MPLS EXP values
• You can configure multiple MPLS EXP match criteria for a class. The defined MPLS EXP values are
automatically arranged in ascending order.
• You can configure up to eight MPLS EXP values in one command line. If the same MPLS 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.
• To delete a criterion that matches MPLS EXP values, the specified MPLS EXP values in the command
must be identical with those defined in the criterion (the sequence can be different).The MPLS EXP
field exists only in MPLS packets, so this match criterion takes effect for only the MPLS packets.
• As for software forwarding QoS, MPLS packets do not support IP-related matching rules.
Defining a criterion to match RTP protocol ports
• This command matches RTP packets with an even UDP destination port number in the specified RTP
port number range.
• The RTP protocol port match criterion you configured overwrites the previous one, if any.
Defining a criterion to match customer network VLAN IDs
• You can configure multiple VLAN ID match criteria for a class. The defined VLAN IDs are
automatically arranged in ascending order.
• You can configure multiple VLAN IDs in one command line. If the same VLAN ID is specified
multiple times, the system considers them as one. If a packet matches one of the defined VLAN IDs,
it matches the if-match clause.
• To delete a criterion that matches VLAN IDs, the specified VLAN IDs in the command must be
identical with those defined in the criterion (the sequence can be different).
Examples
# Define a criterion to match any packets other than IP packets.
<Sysname> system-view
[Sysname] traffic classifier class1
[Sysname-classifier-class1] if-match not protocol ip










