Qos show commands, Qos show commands -105, Qos show commands show class-map – Enterasys Networks X-Pedition XSR CLI User Manual

Page 501

Advertising
background image

QoS Show Commands

XSR CLI Reference Guide 12-105

Syntax of the “no” Form

Use the no form of this command to remove IP precedence values from a class map:

no 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]

Mode

Class‐map configuration: 

XSR(config-cmap-xx)#

Example

The following example shows how to configure the service policy called priority50 and attach 
service policy priority50 to an interface. In this example, the class map called ipprec5 will evaluate 
all packets entering F1/0/0 for an IP precedence value of 5. If the incoming packet has been marked 
with the IP precedence value of 5, the packet will be treated with a priority level of 50.

XSR(config)#class-map ipprec5
XSR(config-cmap<ipprec5>)#match ip precedence 5
XSR(config)#policy-map priority50
XSR(config-pmap<priority50>)#class ipprec5
XSR(config-pmap-c<ipprec5>)#priority high 50
XSR(config)#interface fastethernet 1
XSR(config-if<F1>)#service-policy output priority50

QoS Show Commands

show class-map

This command displays all class maps and their matching criteria.

You can use the 

show class-map

 command to display all class maps and their matching criteria. 

If you enter the optional class‐map‐name argument, the specified class map and its matching 
criteria will be displayed.

Syntax

show class-map [class-map-name]

Mode

EXEC, Privileged EXEC, or Global configuration: 

XSR>, XSR#,

 or

XSR(config)#

Sample Output

In this example, three class maps are defined. Packets that match access list 103 belong to class c3
IP packets with IP precedence belong to class c2, and packets with DSCP 32 belong to class c1. The 
output from the 

show class-map

 command shows the three defined class maps.

XSR#show class-map

class-map-name

Name of the class map.

Advertising