5000 Series Layer 2/3 Managed Data Center Switch CLI Reference Guide
1167
This command adds to the specified class definition a match condition based on the source IP address of
a packet. Use the
[not]
option to negate the match condition.
match [not] srcip6 source-ipv6-prefix/prefix-length
Parameters
not
(Optional) Specify to negate the match condition.
source-ipv6-prefix/prefix-
length
IPv6 address and prefix length.
Default
The default is None.
Command Mode
lpv6-Class-Map Config
12-37 match srcl4port
This command adds to the specified class definition a match condition based on the source layer 4 port of
a packet using a single keyword or numeric notation. To specify the match condition as a single keyword
notation, the value for portkey is one of the supported port name keywords (listed below). The currently
supported portkey values are: domain, echo, ftp, ftpdata, smtp, snmp, telnet, tftp, www. Each of these
translates into its equivalent port number, which is used as both the start and end of a port range.
To specify the match condition as a numeric value, one layer 4 port number is required. The port number
is an integer from 0 to 65535. Use the
[not]
option to negate the match condition.
match not srcl4port {portkey | 0-65535}
Parameters
portkey
One of the supported port name keywords (listed below).
The currently supported <portkey> values are: domain, echo, ftp,
ftpdata, http, smtp, snmp, telnet, tftp, www.
Each translates into the equivalent port number, which is used as both
the start and end of a port range.
0-65535
To specify the match condition as a numeric value, one layer 4 port
number is required. The port number is an integer from 0 to 65535.
To specify the match condition as a range, two layer 4 port numbers are
required and together they specify a contiguous port range. Each port
number is an integer from 0 to 65535, but with the added requirement
that the second number be equal to or greater than the first.
Default
The default is None.