mac
Commands for QoS
244
and insert it to the front of c1.
Switch(config)#policy-map p1
Switch(Config-PolicyMap-p1)#class c1
Switch(Config-PolicyMap-p1-Class-c1)#exit
Switch(Config-PolicyMap-p1)#class c2 insert-before c1
Switch(Config-PolicyMap-p1-Class-c2)#exit
18.3 class-map
Command: class-map <class-map-name>
no class-map <class-map-name>
Function: Creates a class map and enters class map mode; the no command deletes
the specified class map.
Parameters: <class-map-name> is the class map name.
Default: No class map is configured by default.
Command mode: Global Mode
Usage Guide:
Example: Creating and then deleting a class map named “c1”.
Switch(config)#class-map c1
Switch(Config-ClassMap-c1)#exit
Switch(config)#no class-map c1
18.4 clear mls qos statistics
Command: clear mls qos statistics [interface <interface-name> | vlan <vlan-id>]
Function: Clear accounting data of the specified ports or VLAN Policy Map. If there are
no parameters, clear accounting data of all policy map.
Parameters: <vlan-id>: VLAN ID
<interface-name>: The interface name
Default: Do not set action.
Command mode: Admin Mode
Usage Guide: Clear accounting data of the specified ports or VLAN Policy Map. If there
are no parameters, clear accounting data of all policy map.
Example: Clear the Policy Map statistic of VLAN 100.
Switch#Clear mls qos statistics vlan 100










