Command Manual – QoS
H3C S7500E Series Ethernet Switches Chapter 2 QoS Policy Configuration Commands
2-2
2.1.2 if-match
Syntax
if-match match-criteria
undo if-match match-criteria
View
Class view
Parameters
match-criteria: Matching rule to be defined. Table 2-2 describes the available forms of
this argument.
Table 2-2 The forms of the match-criteria argument
Field Description
acl access-list-number
Specifies an ACL to match packets. The
access-list-number argument is in the range 2000 to 4999.
In a class configured with the operator and, the logical
relationship between rules defined in the referenced IPv4
ACL is or.
acl ipv6
access-list-number
Specifies an IPv6 ACL to match IPv6 packets. The
access-list-number argument is in the range 2000 to 3999.
In a class configured with the operator and, the logical
relationship between rules defined in the referenced IPv6
ACL is or.
any
Specifies to match all packets.
customer-dot1p
8021p-list
Specifies to match packets by 802.1p precedence of the
customer network. The 8021p-list argument is a list of CoS
values. You can provide up to eight space-separated CoS
values for this argument. CoS is in the range 0 to 7.
dscp dscp-list
Specifies to match packets by DSCP precedence. The
dscp-list argument is a list of DSCP values. You can
provide up to eight space-separated DSCP values for this
argument. DSCP is in the range 0 to 63.
destination-mac
mac-address
Specifies to match the packets with a specified destination
MAC address.
ip-precedence
ip-precedence-list
Specifies to match packets by IP precedence. The
ip-precedence-list argument is a list of IP precedence
values. You can provide up to eight space-separated IP
precedence values for this argument. IP precedence is in
the range 0 to 7.
protocol
protocol-name
Specifies to match the packets of a specified protocol. The
protocol-name argument can be IP or IPv6.