NETGEAR NETGEAR Switch User Manual


 
User Manual for the NETGEAR 7300S Series Layer 3 Managed Switch Software
Quality of Service (QoS) Commands 11-17
202-10088-01, March 2005
Mode Class-Map Config
match source-address mac
This command adds to the specified class definition a match condition based on the source MAC
address of a packet. The <
address> parameter is any layer 2 MAC address formatted as six, two-
digit hexadecimal numbers separated by colons (e.g., 00:11:22:dd:ee:ff). The <
macmask>
parameter is a layer 2 MAC address bit mask, which need not be contiguous, and is formatted as
six, two-digit hexadecimal numbers separated by colons (e.g., ff:07:23:ff:fe:dc). The optional [
not]
parameter has the effect of negating this match condition for the class (i.e., match all source MAC
addresses except for what is specified here).
Default none
Format
match [not] source-address mac <address> <macmask>
Mode Class-Map Config
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; note that although it resembles a standard subnet mask, this bit
mask need not be contiguous. The optional [
not] parameter has the effect of negating this match
condition for the class (i.e., match all source IP addresses except for what is specified here).
Default none
Format
match [not] srcip <ipaddr> <ipmask>
Mode Class-Map Config
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 or a numeric range 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.