class (policy map type qos)
S e n d d o c u m e n t c o m m e n t s t o n e x u s 7 k - d o c f e e d b a c k @ c i s c o . c o m .
This example shows how to add a reference to a class map before an existing class map reference in a
policy map:
switch(config)# policy-map my_policy1
switch(config-pmap-qos)# class insert-before traffic_class2 traffic_class1
switch(config-pmap-c-qos)#
This example shows how to add a reference to the class-default class map in a policy map:
switch(config)# policy-map my_policy1
switch(config-pmap-qos)# class class-default
switch(config-pmap-c-qos)#
This example shows how to remove a class map reference in a policy map:
switch(config)# policy-map my_policy1
switch(config-pmap)# no class traffic_class1
switch(config-pmap)#
Related Commands
Command
show class-map qos
show policy-map
Cisco Nexus 7000 Series NX-OS Quality of Service Command Reference, Release 5.x
QOS-8
Description
Displays class maps.
Displays policy maps and statistics.
Cisco Nexus 7000 Series NX-OS Quality of Service Commands
OL-23378-01