R2511-HP MSR Router Series ACL and QoS Command Reference(V5)

41
Defining a criterion to match a source MAC address
You can configure multiple source MAC address match criteria for a class.
A criterion to match a source MAC address is significant only to Ethernet interfaces.
Defining the relationships between match criteria
This subsection describes how to use both AND and OR operators to define the match relationships
between the criteria for a class.
For example, define class classA with three match criteria. The relationship between them is criterion 1
AND criterion 2 OR criterion 3. Use the following commands:
traffic class classB operator and
if-match criterion 1
if-match criterion 2
traffic class classA operator or
if-match criterion 3
if-match class classB
You can configure multiple if-match clauses for a class.
Defining a criterion to match DSCP values
You can configure multiple DSCP match criteria for a class. All defined DSCP values are
automatically sorted in ascending order.
You can configure up to eight DSCP values in one command line. If multiple identical DSCP values
are specified, the system considers them as one. If a packet matches one of the defined DSCP values,
it matches the if-match clause.
To delete a criterion that matches DSCP values, the specified DSCP values must be identical with
those defined in the criterion (the sequence can be different).
Defining a criterion to match 802.1p priority in customer VLAN tags
You can configure multiple 802.1p priority match criteria for a class. All the defined 802.1p values
are automatically arranged in ascending order.
You can configure up to eight 802.1p priority values in one command line. If the same 802.1p
priority value is specified multiple times, the system considers them as one. If a packet matches one
of the defined 802.1p priority values, it matches the if-match clause.
To delete a criterion that matches 802.1p priority values, the specified 802.1p priority values in the
command must be identical with those defined in the criterion (the sequence can be different).
Defining a criterion to match DE flags of FR packets
Only one DE flag match criterion can be configured for a class.
Defining a criterion to match an incoming interface
You can configure multiple incoming interface match criteria for a class.
The specified incoming interface must exist. If the specified interface is a dynamic one, removing the
interface deletes the match criterion.
The following interface types are supported: ATM, Ethernet, serial, tunnel, and VT.