class (class-map)
To specify the name of the class whose policy you want to create or change before you configure its policy, use the class command in class-map configuration mode. To remove a class from the class map, use the no form of this command.
class class-name
no class { class-name }
Syntax Description
class-name |
Name of the class to be configured or whose policy is to be modified. The class name is used for both the class map and to configure a policy for the class in the policy map. |
Command Default
No class is specified.
Command Modes
Class-map configuration (config-class-map)
Command History
Release |
Modification |
---|---|
Cisco IOS XE Release 17.2.1v |
Command qualified for use in Cisco vManage CLI templates. |
Usage Guidelines
For usage guidelines, see the Cisco IOS XE, class command.
The following is an example of this command:
Device(config)# policy
Device(config-policy)# class-map
Device(config-class-map)# class VOICE queue 0