Match ip precedence – Enterasys Networks X-Pedition XSR CLI User Manual

Page 500

Advertising
background image

Class-map Commands

12-104 Configuring Quality of Service

Syntax

match ip dscp ip-dscp-value [ip-dscp-value][ip-dscp-value] [ip-dscp-value] [ip-
dscp-value
][ip-dscp-value][ip-dscp-value][ip-dscp-value]

Syntax of the “no” Form

To remove a specific IP DSCP value from a class map, use the no form of this command:

no match ip dscp ip-dscp-value [ip-dscp-value][ip-dscp-value][ip-dscp-value][ip-
dscp-value
][ip-dscp-value][ip-dscp-value][ip-dscp-value]

Mode

Class‐map configuration: 

XSR(config-cmap-xx)#

Example

The following example shows how to configure the service policy called priority55 and attach 
service policy priority55 to an interface. In this example, the class map ipdscp15 will evaluate all 
packets entering interface F1 for an IP DSCP value of 15. If the incoming packet has been marked 
with the IP DSCP value of 15, the packet will be treated with a high priority level.

XSR(config)#class-map ipdscp15
XSR(config-cmap<ipdscp15>)#match ip dscp 15
XSR(config)#policy-map priority55
XSR(config-pmap<priority55>)#class ipdscp15
XSR(config-pmap-c<ipdscp15>)#priority high 55
XSR(config)#interface fastethernet 1
XSR(config-if<F1>)#service-policy output priority55

match ip precedence

This command identifies IP precedence values as match criteria. Up to 4 precedence values can be 
matched in one match statement. For example, if you wanted the IP precedence values of 0, 1, 2, or 
3 (note that only one of the IP precedence values must be a successful match criterion, not all of the 
specified IP precedence values), enter the 

match ip precedence 0 1 2 3

 command.

The ip‐precedence‐value arguments are used as markings only, they have no mathematical 
significance. For instance, the ip‐precedence‐value of 2 is not greater than 1. The value simply 
indicates that a packet marked with the ip‐precedence‐value of 2 is different than a packet marked 
with the ip‐precedence‐value of 1. You define the treatment of these different packets by setting 
QoS policies in Policy‐map Class configuration mode.

Syntax

match ip precedence ip-precedence-value [ip-precedence-value] [ip-precedence-
value
][ip-precedence-value][ip-precedence-value][ip-precedence-value][ip-
precedence-value
] [ip-precedence-value][ip-precedence-value]

ip-dscp-value

Specifies a value from 0 to 63 to identify an IP DSCP value.

ip-precedence-value

Specifies an IP precedence value from 0 to 7.

Advertising