Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Community Member

Class-map in IOS XR

Hi, anyone can explain the "sh class-map list type qos" in XR platforms ? is this command used to know how many types of class-maps configured in one router ?

1 REPLY
Cisco Employee

Class-map in IOS XR

It is a useful command to help clean up unused class-maps:

RP/0/RSP0/CPU0:A9K-BNG#show class-map list type qos

Thu Sep 12 14:58:56.383 EDT

1) ClassMap: class1    Type: qos

    Referenced by 3 Policymaps

2) ClassMap: class3    Type: qos

    Referenced by 2 Policymaps

in this examples the QOS class-maps class1 and class3 which have index 1 and 2 respectively are used by respectively 3 or 2 policy-maps. can't remove them.

I could technically remove this class-map:

20) ClassMap: v6    Type: qos

    Referenced by 0 Policymaps

Not used at all.

regards

xander

Xander Thuijs CCIE #6775 Principal Engineer ASR9000, CRS, NCS6000 & IOS-XR
192
Views
0
Helpful
1
Replies
CreatePlease to create content