Usage Guidelines
This command can be used with both Flexible NetFlow and Performance Monitor. These products use different commands to enter
the configuration mode in which you issue this command.
Cisco Performance Monitor in Cisco IOS Release 15.1(3)T and 12.2(58)SE
You must first enter the service-policytypeperformance-monitorinline command.
Supported Platforms Other Than Cisco 7600 Routers and Cisco 10000 Series Routers
For class-based weighted fair queueing (CBWFQ), you define traffic classes based on match criteria protocols, access control
lists (ACLs), input interfaces, quality of service (QoS) labels, and Experimental (EXP) field values. Packets satisfying the
match criteria for a class constitute the traffic for that class.
The
matchprotocol 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.
The
matchprotocolipx command matches packets in the output direction only.
To use the
matchprotocol command, you must first enter the
class-map command to specify the name of the class whose match criteria you want to establish. After you identify the class, you can
use one of the following commands to configure its match criteria:
-
match
access-group
-
match
input-interface
-
match
mpls
experimental
If you specify more than one command in a class map, only the last command entered applies. The last command overrides the
previously entered commands.
To configure NBAR to match protocol types that are supported by NBAR traffic, use the
matchprotocol(NBAR) command.
Cisco 7600 Series Routers
The
matchprotocol command in QoS class-map configuration configures NBAR and sends all traffic on the port, both ingress and egress, to be
processed in the software on the Multilayer Switch Feature Card 2 (MSFC2).
For CBWFQ, you define traffic classes based on match criteria like protocols, ACLs, input interfaces, QoS labels, and Multiprotocol
Label Switching (MPLS) EXP field values. Packets satisfying the match criteria for a class constitute the traffic for that
class.
The
matchprotocol 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.
If you want to use the
matchprotocol command, you must first enter the
class-map command to specify the name of the class to which you want to establish the match criteria.
If you specify more than one command in a class map, only the last command entered applies. The last command overrides the
previously entered commands.
This command can be used to match protocols that are known to the NBAR feature. For a list of protocols supported by NBAR,
see the “Classification” part of the
Cisco IOS Quality of Service Solutions Configuration Guide.
Cisco 10000 Series Routers
For CBWFQ, you define traffic classes based on match criteria including protocols, ACLs, input interfaces, QoS labels, and
EXP field values. Packets satisfying the match criteria for a class constitute the traffic for that class.
The
matchprotocol 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.
The
matchprotocolipx command matches packets in the output direction only.
To use the
matchprotocol command, you must first enter the
class-map command to specify the name of the class whose match criteria you want to establish.
If you are matching NBAR protocols, use the
matchprotocol (NBAR) command.
Match Protocol Command Restrictions (Catalyst 6500 Series Switches Only)
Policy maps contain traffic classes. Traffic classes contain one or more
match commands that can be used to match packets (and organize them into groups) on the basis of a protocol type or application.
You can create as many traffic classes as needed.
Cisco IOS Release 12.2(18)ZY includes software intended for use on the Catalyst 6500 series switch that is equipped with
a Supervisor 32/PISA engine. For this release and platform, note the following restrictions for using policy maps and
match protocol commands:
Supported Protocols
The table below lists the protocols supported by most routers. Some routers support a few additional protocols. For example,
the Cisco 7600 router supports the AARP and DECnet protocols, while the Cisco 7200 router supports the directconnect and PPPOE
protocols. For a complete list of supported protocols, see the online help for the
matchprotocol command on the router that you are using.
Table 2. Supported Protocols
Protocol Name
|
Description
|
802-11-iapp
|
IEEE 802.11 Wireless Local Area Networks Working Group Internet Access Point Protocol
|
ace-svr
|
ACE Server/Propagation
|
aol
|
America-Online Instant Messenger
|
appleqtc
|
Apple QuickTime
|
arp *
|
IP Address Resolution Protocol (ARP)
|
bgp
|
Border Gateway Protocol
|
biff
|
Biff mail notification
|
bootpc
|
Bootstrap Protocol Client
|
bootps
|
Bootstrap Protocol Server
|
bridge *
|
bridging
|
cddbp
|
CD Database Protocol
|
cdp *
|
Cisco Discovery Protocol
|
cifs
|
CIFS
|
cisco-fna
|
Cisco FNATIVE
|
cisco-net-mgmt
|
cisco-net-mgmt
|
cisco-svcs
|
Cisco license/perf/GDP/X.25/ident svcs
|
cisco-sys
|
Cisco SYSMAINT
|
cisco-tdp
|
cisco-tdp
|
cisco-tna
|
Cisco TNATIVE
|
citrix
|
Citrix Systems Metaframe
|
citriximaclient
|
Citrix IMA Client
|
clns *
|
ISO Connectionless Network Service
|
clns_es *
|
ISO CLNS End System
|
clns_is *
|
ISO CLNS Intermediate System
|
clp
|
Cisco Line Protocol
|
cmns *
|
ISO Connection-Mode Network Service
|
cmp
|
Cluster Membership Protocol
|
compressedtcp *
|
Compressed TCP
|
creativepartnr
|
Creative Partner
|
creativeserver
|
Creative Server
|
cuseeme
|
CU-SeeMe desktop video conference
|
daytime
|
Daytime (RFC 867)
|
dbase
|
dBASE Unix
|
dbcontrol_agent
|
Oracle Database Control Agent
|
ddns-v3
|
Dynamic DNS Version 3
|
dhcp
|
Dynamic Host Configuration
|
dhcp-failover
|
DHCP Failover
|
directconnect
|
Direct Connect
|
discard
|
Discard port
|
dns
|
Domain Name Server lookup
|
dnsix
|
DNSIX Security Attribute Token Map
|
echo
|
Echo port
|
edonkey
|
eDonkey
|
egp
|
Exterior Gateway Protocol
|
eigrp
|
Enhanced Interior Gateway Routing Protocol
|
entrust-svc-handler
|
Entrust KM/Admin Service Handler
|
entrust-svcs
|
Entrust sps/aaas/aams
|
exec
|
Remote Process Execution
|
exchange
|
Microsoft RPC for Exchange
|
fasttrack
|
FastTrack Traffic (KaZaA, Morpheus, Grokster, and so on)
|
fcip-port
|
FCIP
|
finger
|
Finger
|
ftp
|
File Transfer Protocol
|
ftps
|
FTP over TLS/SSL
|
gdoi
|
Group Domain of Interpretation
|
giop
|
Oracle GIOP/SSL
|
gnutella
|
Gnutella Version 2 Traffic (BearShare, Shareeza, Morpheus, and so on)
|
gopher
|
Gopher
|
gre
|
Generic Routing Encapsulation
|
gtpv0
|
GPRS Tunneling Protocol Version 0
|
gtpv1
|
GPRS Tunneling Protocol Version 1
|
h225ras
|
H225 RAS over Unicast
|
h323
|
H323 Protocol
|
h323callsigalt
|
H323 Call Signal Alternate
|
hp-alarm-mgr
|
HP Performance data alarm manager
|
hp-collector
|
HP Performance data collector
|
hp-managed-node
|
HP Performance data managed node
|
hsrp
|
Hot Standby Router Protocol
|
http
|
Hypertext Transfer Protocol
|
https
|
Secure Hypertext Transfer Protocol
|
ica
|
ica (Citrix)
|
icabrowser
|
icabrowser (Citrix)
|
icmp
|
Internet Control Message Protocol
|
ident
|
Authentication Service
|
igmpv3lite
|
IGMP over UDP for SSM
|
imap
|
Internet Message Access Protocol
|
imap3
|
Interactive Mail Access Protocol 3
|
imaps
|
IMAP over TLS/SSL
|
ip
*
|
IP (version 4)
|
ipass
|
IPASS
|
ipinip
|
IP in IP (encapsulation)
|
ipsec
|
IP Security Protocol (ESP/AH)
|
ipsec-msft
|
Microsoft IPsec NAT-T
|
ipv6 *
|
IP (version 6)
|
ipx
|
IPX
|
irc
|
Internet Relay Chat
|
irc-serv
|
IRC-SERV
|
ircs
|
IRC over TLS/SSL
|
ircu
|
IRCU
|
isakmp
|
ISAKMP
|
iscsi
|
iSCSI
|
iscsi-target
|
iSCSI port
|
kazaa2
|
Kazaa Version 2
|
kerberos
|
Kerberos
|
l2tp
|
Layer 2 Tunnel Protocol
|
ldap
|
Lightweight Directory Access Protocol
|
ldap-admin
|
LDAP admin server port
|
ldaps
|
LDAP over TLS/SSL
|
llc2 *
|
llc2
|
login
|
Remote login
|
lotusmtap
|
Lotus Mail Tracking Agent Protocol
|
lotusnote
|
Lotus Notes
|
mgcp
|
Media Gateway Control Protocol
|
microsoft-ds
|
Microsoft-DS
|
msexch-routing
|
Microsoft Exchange Routing
|
msnmsgr
|
MSN Instant Messenger
|
msrpc
|
Microsoft Remote Procedure Call
|
msrpc-smb-netbios
|
MSRPC over TCP port 445
|
ms-cluster-net
|
MS Cluster Net
|
ms-dotnetster
|
Microsoft .NETster Port
|
ms-sna
|
Microsoft SNA Server/Base
|
ms-sql
|
Microsoft SQL
|
ms-sql-m
|
Microsoft SQL Monitor
|
mysql
|
MySQL
|
n2h2server
|
N2H2 Filter Service Port
|
ncp
|
NCP (Novell)
|
net8-cman
|
Oracle Net8 Cman/Admin
|
netbios
|
Network Basic Input/Output System
|
netbios-dgm
|
NETBIOS Datagram Service
|
netbios-ns
|
NETBIOS Name Service
|
netbios-ssn
|
NETBIOS Session Service
|
netshow
|
Microsoft Netshow
|
netstat
|
Variant of systat
|
nfs
|
Network File System
|
nntp
|
Network News Transfer Protocol
|
novadigm
|
Novadigm Enterprise Desktop Manager (EDM)
|
ntp
|
Network Time Protocol
|
oem-agent
|
OEM Agent (Oracle)
|
oracle
|
Oracle
|
oracle-em-vp
|
Oracle EM/VP
|
oraclenames
|
Oracle Names
|
orasrv
|
Oracle SQL*Net v1/v2
|
ospf
|
Open Shortest Path First
|
pad *
|
Packet assembler/disassembler (PAD) links
|
pcanywhere
|
Symantec pcANYWHERE
|
pcanywheredata
|
pcANYWHEREdata
|
pcanywherestat
|
pcANYWHEREstat
|
pop3
|
Post Office Protocol
|
pop3s
|
POP3 over TLS/SSL
|
pppoe
|
Point-to-Point Protocol over Ethernet
|
pptp
|
Point-to-Point Tunneling Protocol
|
printer
|
Print spooler/ldp
|
pwdgen
|
Password Generator Protocol
|
qmtp
|
Quick Mail Transfer Protocol
|
radius
|
RADIUS & Accounting
|
rcmd
|
Berkeley Software Distribution (BSD) r-commands (rsh, rlogin, rexec)
|
rdb-dbs-disp
|
Oracle RDB
|
realmedia
|
RealNetwork’s Realmedia Protocol
|
realsecure
|
ISS Real Secure Console Service Port
|
rip
|
Routing Information Protocol
|
router
|
Local Routing Process
|
rsrb *
|
Remote Source-Route Bridging
|
rsvd
|
RSVD
|
rsvp
|
Resource Reservation Protocol
|
rsvp-encap
|
RSVP ENCAPSULATION-1/2
|
rsvp_tunnel
|
RSVP Tunnel
|
rtc-pm-port
|
Oracle RTC-PM port
|
rtelnet
|
Remote Telnet Service
|
rtp
|
Real-Time Protocol
|
rtp-audio
|
Real-Time Protocol - audio
|
rtp-video
|
Real-Time Protocol - video
|
rtsp
|
Real-Time Streaming Protocol
|
r-winsock
|
remote-winsock
|
secure-ftp
|
FTP over Transport Layer Security/Secure Sockets Layer (TLS/SSL)
|
secure-http
|
Secured HTTP
|
secure-imap
|
Internet Message Access Protocol over TLS/SSL
|
secure-irc
|
Internet Relay Chat over TLS/SSL
|
secure-ldap
|
Lightweight Directory Access Protocol over TLS/SSL
|
secure-nntp
|
Network News Transfer Protocol over TLS/SSL
|
secure-pop3
|
Post Office Protocol over TLS/SSL
|
secure-telnet
|
Telnet over TLS/SSL
|
send
|
SEND
|
shell
|
Remote command
|
sip
|
Session Initiation Protocol
|
sip-tls
|
Session Initiation Protocol-Transport Layer Security
|
skinny
|
Skinny Client Control Protocol
|
sms
|
SMS RCINFO/XFER/CHAT
|
smtp
|
Simple Mail Transfer Protocol
|
snapshot
|
Snapshot routing support
|
snmp
|
Simple Network Protocol
|
snmptrap
|
SNMP Trap
|
socks
|
Sockets network proxy protocol (SOCKS)
|
sqlnet
|
Structured Query Language (SQL)*NET for Oracle
|
sqlserv
|
SQL Services
|
sqlsrv
|
SQL Service
|
sqlserver
|
Microsoft SQL Server
|
ssh
|
Secure shell
|
sshell
|
SSLshell
|
ssp
|
State Sync Protocol
|
streamwork
|
Xing Technology StreamWorks player
|
stun
|
cisco Serial Tunnel
|
sunrpc
|
Sun remote-procedure call (RPC)
|
syslog
|
System Logging Utility
|
syslog-conn
|
Reliable Syslog Service
|
tacacs
|
Login Host Protocol (TACACS)
|
tacacs-ds
|
TACACS-Database Service
|
tarantella
|
Tarantella
|
tcp
|
Transport Control Protocol
|
telnet
|
Telnet
|
telnets
|
Telnet over TLS/SSL
|
tftp
|
Trivial File Transfer Protocol
|
time
|
Time
|
timed
|
Time server
|
tr-rsrb
|
cisco RSRB
|
tto
|
Oracle TTC/SSL
|
udp
|
User Datagram Protocol
|
uucp
|
UUCPD/UUCP-RLOGIN
|
vdolive
|
VDOLive streaming video
|
vofr *
|
Voice over Frame Relay
|
vqp
|
VLAN Query Protocol
|
webster
|
Network Dictionary
|
who
|
Who’s service
|
wins
|
Microsoft WINS
|
x11
|
X Window System
|
xdmcp
|
XDM Control Protocol
|
xwindows *
|
X-Windows remote access
|
ymsgr
|
Yahoo! Instant Messenger
|
* This protocol is not supported on the Catalyst 6500 series switch that is equipped with a Supervisor 32/PISA engine.