QoS Commands 675
Syntax
match srcl4port {
portkey
|
port-number
}

portkey

— Specifies one of the supported port name keywords. A match
condition is specified by one layer 4 port number. The currently supported
values are: domain, echo, ftp, ftpdata, http, smtp,snmp, telnet, tftp, and
www.
port-number
— Specifies a layer 4 port number (Range: 0–65535).
Default Configuration
This command has no default configuration.
Command Mode
Class-Map Configuration mode
User Guidelines
This command has no user guidelines.
Example
The following example displays how to add a match condition using the
"snmp" port name keyword.
console(config-classmap)#match srcl4port snmp
match vlan
Use the match vlan command in Class-Map Configuration mode to add to
the specified class definition a match condition based on the value of the
layer 2 VLAN Identifier field. This field is the only tag in a single tagged
packet or the first or outer tag of a double VLAN packet.
Syntax
match vlan
vlan-id
vlan-id
— Specifies a VLAN ID as an integer. (Range: 0–4095)
2CSPC4.XCT-SWUM2XX1.book Page 675 Monday, October 3, 2011 11:05 AM