Match vlan, Policy commands, Match vlan -11 – NETGEAR 7300 Series User Manual

Page 253: Policy commands -11

Advertising
background image

User Manual for the NETGEAR 7300 Series Layer 3 Managed Switch Software

CLI Commands: Differentiated Services

10-11

202-10009-01_060204

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.

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. The optional [

not]

parameter has the effect of negating this match condition for the class (i.e., match all source layer 4
ports except for those within the range specified here).

The optional [

not]

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).

Default

None

Format

match [not] srcl4port {<portkey> | <0-65535> [<0-

65535>]}

Mode

Class-Map Config

match vlan

This command adds to the specified class definition a match condition based on the value of the
layer 2 VLAN Identifier field of a packet. The VLAN ID is an integer from 1 to 4094. The
optional [

not]

parameter has the effect of negating this match condition for the class (i.e., match all

VLAN Identifier values except for what is specified here).

Default

None

Format

match [not] vlan <1-4094>

Mode

Class-Map Config

Policy Commands

The 'policy' command set is used in DiffServ to define:

Advertising