7000 Series L3 Managed Switch Reference Manual for Software v2.0
9-6 CLI Commands: Differentiated Services
config diffserv class match dstl4port keyword
This command adds to the specified class definition a match condition based on the destination
layer 4 port of a packet using a single keyword notation. The
<classname> is the name of an
existing DiffServ class. The value for
<portkey> is one of the supported port name keywords
(listed below). The optional [exclude] parameter has the effect of negating this match condition for
the class (i.e., match all destination layer 4 port numbers except for the one specified here).
The currently supported
<portkey> values are: domain, echo, ftp, ftpdata, http, 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.
Note: The dstl4port keyword, number, and range commands are alternative ways to specify a
destination layer 4 port range as a match criterion.
Default none
Format config diffserv class match dstl4port keyword <class-
name> <portkey> [exclude]
config diffserv class match dstl4port number
This command adds to the specified class definition a match condition based on the destination
layer 4 port of a packet using a numeric notation. The
<classname> is the name of an existing
DiffServ class. One layer 4 port number is required. The port number is an integer from 0 to
65535. The optional
[exclude] parameter has the effect of negating this match condition for the
class (i.e., match all destination layer 4 port numbers except for the one specified here).
Note: The dstl4port keyword, number, and range commands are alternative ways to specify a
destination layer 4 port range as a match criterion.
Default none
Format config diffserv class match dstl4port number <class-
name> <0-65535> [exclude]