1-3
Form Description
ip-precedence
ip-precedence-list
Specifies to match packets by IP precedence. The
ip-precedence-list argument is a list of IP precedence values in
the range of 0 to 7.
protocol protocol-name
Specifies to match the packets of a specified protocol. The
protocol-name argument can be IP.
service-vlan-id vlan-id-list
Specifies to match the packets of the VLANs of the operator’s
network. The vlan-id-list argument is a list of VLAN IDs, in the
form of vlan-id to vlan-id or multiple discontinuous VLAN IDs
(separated by space). You can specify up to eight VLAN IDs for
this argument at a time. VLAN ID is in the range of 1 to 4094.
source-mac mac-address
Specifies to match the packets with a specified source MAC
address.
To successfully execute the traffic behavior associated with a traffic class that uses the AND operator,
define only one if-match clause for any of the following match criteria and input only one value for any
of the following list arguments, for example, the 8021p-list argument:
z customer-dot1p 8021p-list
z customer-vlan-id vlan-id-list
z destination-mac mac-address
z dscp dscp-list
z ip-precedence ip-precedence-list
z service-vlan-id vlan-id-list
z source-mac mac-address
To create multiple if-match clauses for these match criteria or specify multiple values for the list
arguments, ensure that the operator of the class is OR.
Description
Use the if-match command to define a match criterion.
Use the undo if-match command to remove the match criterion.
When defining match criteria, note the following:
1) Define an ACL-based match criterion
z If the ACL referenced in the if-match command does not exist, the class cannot be applied.
z For a class, you can reference an ACL twice by its name and number respectively with the if-match
command.
2) Define a criterion to match a destination MAC address or a source MAC address.
z You can configure multiple destination MAC address or source MAC address match criteria in a
class.
3) Define a criterion to match DSCP values
z You can configure multiple DSCP match criteria in a class. All the defined DSCP values are
arranged in ascending order automatically.