Administrator Guide

Layer 2 Switching Commands 706
match dstl4port
Use the match dstl4port command in Class-Map Configuration mode to add
a match condition based on the destination layer 4 port of a packet using a
single keyword or a numeric notation.
NOTE: This command is not available on the N1500 Series switches.
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
a match condition based on the value of the ethertype.
NOTE: This command is not available on the N1500 Series switches.
2CSNXXX_SWUM204.book Page 706 Monday, January 25, 2016 1:25 PM