7000 Series L3 Managed Switch Reference Manual for Software v2.0

config diffserv class match protocol keyword

This command adds to the specified class definition a match condition based on the IP Protocol of a packet using a single keyword notation. The <classname> is the name of an existing DiffServ class. The value for <protocolkey> is one of the supported protocol name keywords (listed below). The optional [exclude] parameter has the effect of negating this match condition for the class (i.e., match all IP Protocol numbers except for the one specified here).

The currently supported <protocolkey> values are: icmp, igmp, ip, tcp, udp. Note that a <protocolkey> value of ip is interpreted to match all protocol number values.

Note: The protocol keyword and number commands are alternative ways to specify an IP protocol value as a match criterion.

Default

none

Format

config diffserv class match protocol keyword <class-

 

name> <protocolkey> [exclude]

config diffserv class match protocol number

This command adds to the specified class definition a match condition based on the value of the IP Protocol field in a packet using a numeric value notation. The <classname> is the name of an existing DiffServ class. The protocol number is a standard value assigned by IANA and is interpreted as an integer from 0 to 255. The optional [exclude] parameter has the effect of negating this match condition for the class (i.e., match all IP Protocol numbers except for the one specified here).

Note: This command does not validate the protocol number value against the current list defined by IANA.

Note: The protocol keyword and number commands are alternative ways to specify an IP protocol value as a match criterion.

Default

none

Format

config diffserv class match protocol number <class-

 

name> <0-255> [exclude]

9-10

CLI Commands: Differentiated Services

Page 188
Image 188
NETGEAR L3 manual Config diffserv class match protocol keyword, Config diffserv class match protocol number