626 DiffServ Class Commands
match srcip This command adds to the specified class definition a match condition based on
the source IP address of a packet. The
ipaddr parameter specifies an IP address.
The
ipmask parameter specifies an IP address bit mask and must consist of a
contiguous set of leading 1 bits. Use the [not] option to negate the match
condition.
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, 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.
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 vlan This command adds to the specified class definition a match condition based on
the value of the layer 2 VLAN Identifier field (the only tag in a single tagged
packet or the first or outer tag of a double VLAN tagged packet). The VLAN ID
is an integer from 0 to 4093. Use the [not] option to negate the match condition.
Default none
Format
match [not] srcip
ipaddr ipmask
Mode Class-Map Config
Default none
Format
match [not] srcl4port {
portkey
|
0-65535
}
Mode Class-Map Config
Ipv6-Class-Map Config
Default none
Format
match [not] vlan
0-4093