H3C S5120-SI Series Command Reference Manual page 388

Hide thumbs Also See for S5120-SI Series:
Table of Contents

Advertisement

Form
ip-precedence
ip-precedence-list
protocol protocol-name
service-vlan-id vlan-id-list
source-mac 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:
customer-dot1p 8021p-list
customer-vlan-id vlan-id-list
destination-mac mac-address
dscp dscp-list
ip-precedence ip-precedence-list
service-vlan-id vlan-id-list
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
If the ACL referenced in the if-match command does not exist, the class cannot be applied.
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.
You can configure multiple destination MAC address or source MAC address match criteria in a
class.
3)
Define a criterion to match DSCP values
You can configure multiple DSCP match criteria in a class. All the defined DSCP values are
arranged in ascending order automatically.
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.
Specifies to match the packets of a specified protocol. The
protocol-name argument can be IP.
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.
Specifies to match the packets with a specified source MAC
address.
1-3
Description

Advertisement

Table of Contents
loading

Table of Contents