QoS Commands 403
match dstl4port
Use the match dstl4port command in Class-Map Configuration mode to add to the specified
class definition a match condition based on the destination layer 4 port of a packet using a single
keyword or a numeric notation.
Syntax
match dstl4port {
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 adding a match condition based on the destination layer 4 port
of a packet using the “echo” port name keyword.
console(config-classmap)#match dstl4port echo
match ethertype
Use the match ethertype command in Class-Map Configuration mode to add to the specified
class definition a match condition based on the value of the ethertype.
Syntax
match ethertype {keyword|<
0x0600-0xffff
> }
•
keyword
— Specifies either a valid keyword or a valid hexadecimal number. The supported
keywords are
appletalk
,
arp, ibmsna
,
ipv4, ipv6
,
ipx
,
mplsmcast
,
mplsucast
,
netbios
,
novell
,
pppoe
,
rarp
. (Range: 0x0600–0xFFFF)