R0106-HP MSR Router Series ACL and QoS Command Reference(V7)
43
• 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 CVLANs
• You can configure multiple VLAN ID match criteria for a traffic 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 the VLAN IDs 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).
Defining a criterion to match the packet length
• You can configure multiple packet length match criteria for a class.
• If you configure only the min min-value option, the match criterion matches packets longer than
min-value. If you configure only the max max-value option, the match criterion matches packets
shorter than max-value. If you configure both the min min-value and max max-value options (where
max-value must be greater than min-value), the match criterion matches packets longer than
min-value and shorter than max-value.
Defining a criterion to match control plane protocols
• You can configure multiple control plane protocol match criteria for a traffic class.
• You can configure multiple control plane protocols in one command line. If the same control plane
protocol is specified multiple times, the system considers them as one. If a packet matches one of the
defined control plane protocols, it matches the if-match clause.
• To delete a criterion that matches control plane protocols, the specified control plane protocols in
the command must be identical with those defined in the criterion (the sequence can be different).
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.
• You can configure multiple RTP protocol port match criteria for a class.
Examples
# Define a match criterion for traffic class class1 to match the packets with destination MAC address
0050-ba27-bed3.
<Sysname> system-view
[Sysname] traffic classifier class1
[Sysname-classifier-class1] if-match destination-mac 0050-ba27-bed3
# Define a match criterion for traffic class class2 to match the packets with source MAC address
0050-ba27-bed2.
<Sysname> system-view
[Sysname] traffic classifier class2
[Sysname-classifier-class2] if-match source-mac 0050-ba27-bed2
# Define a match criterion for traffic class class1 to match the packets with customer network 802.1p
priority value 3.