7000 Series L3 Managed Switch Reference Manual for Software v2.0
9-12 CLI Commands: Differentiated Services
Default none
Format config diffserv class match srcip <classname> <ipaddr>
<ipmask> [exclude]
config diffserv class match srcl4port keyword
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 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 source 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 srcl4port keyword, number, and range commands are alternative ways to specify a
source layer 4 port range as a match criterion.
Default none
Format config diffserv class match srcl4port keyword <class-
name> <portkey> [exclude]
config diffserv class match srcl4port number
This command adds to the specified class definition a match condition based on the source layer 4
port of a packet. 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 source layer 4
ports except for the one specified here).
Note: The srcl4port keyword, number, and range commands are alternative ways to specify a
source layer 4 port range as a match criterion.
Default none
Format config diffserv class match srcl4port number <class-
name> <0-65535> [exclude]