match protocol
To identify a specific protocol as the match criterion for a class map, use the
match protocol
command in
class map configuration mode. To remove protocol-based match criteria from a class map, use the
no
form
of this command.
match [not] protocol
{
protocol-value
[
protocol-value1
...
protocol-value7
] |[
min-value
-
max-value
]}
no match [not] protocol
{
protocol-value
[
protocol-value1
...
protocol-value7
] |[
min-value
-
max-value
]}
Syntax Description
(Optional) Negates the specified match result.
not
A protocol identifier. A single value for
protocol-value
(any combination of numbers and
names) can be matched in one match statement.
protocol-value
Lower limit of protocol range to match. Minimum value is 0.
min-value
Upper limit of protocol range to match. Maximum value is 255.
max-value
Command Default
No default behavior or values
Command Modes
Class map configuration
Command History
Modification
Release
This command was introduced.
Release 6.0
Usage Guidelines
The
match protocol
command is supported only in ingress direction. The maximum allowed entry is 1.
Definitions of traffic classes are based on match criteria, including protocols, access control lists (ACLs),
input interfaces, QoS labels, and experimental (EXP) field values. Packets satisfying the match criteria for a
class constitute the traffic for that class.
The
match protocol
command specifies the name of a protocol to be used as the match criteria against which
packets are checked to determine if they belong to the class specified by the class map. Available protocol
names are listed in the table that follows.
The
protocol-value
argument supports a range of protocol numbers. After you identify the class, you may use
the
match protocol
command to configure its match criteria.
Table 4: Protocol Names and Descriptions
Description
Name
Authentication Header Protocol
ahp
Encapsulation Security Payload
esp
Cisco Generic Routing Encapsulation Tunneling
gre
Modular QoS Command Reference for Cisco NCS 5500 Series and Cisco NCS 540 Series Routers
23
QoS Classification Commands
match protocol