Match ip-precedence – Allied Telesis AT-DC2552XS User Manual
Page 496

Chapter 21: Quality of Service (QoS) Commands
496
Section V: Security and Traffic Control
MATCH IP-PRECEDENCE
Syntax
match ip-precedence
value
Parameter
value
Specifies the value of the Type of Service (TOS) priority (IP
precedence) field in the IP header. The range is 0 to 7.
Mode
Class Map Configuration mode
Description
Use this command to add a precedence value as a matching criterion to a
class map. When a precedence value has already been added to a class
map, this command replaces the previous value with the new value.
When a precedence value is assigned, the switch compares the specified
precedence value against the value of the TOS priority field in the IP
header.
To remove the precedence value as a matching criterion from a class
map, use the NO MATCH IP-PRECEDENCE command.
Confirmation Commands
Examples
The following example creates a class map called, “cmap7,” to evaluate all
ingress IPv4 packets for a precedence value of 5:
awplus> enable
awplus# configure terminal
awplus(config)# class-map cmap7
awplus(config-cmap)# match ip-precedence 5
The following example removes the IP precedence value from class map
“cmap7”:
awplus> enable
awplus# configure terminal
awplus(config)# class-map cmap4
awplus(config-cmap)# no match ip-precedence