C Commands
class-map
To configure a class map, use the class-map command. To return to the default setting, use the no form
of this command.
Syntax Description
type
qos
match-all
match-any
class-map-name
Defaults
None
Command Modes
Class-map configuration mode
Supported User Roles
network-admin
vdc-admin
Command History
Release
4.0(1)
Usage Guidelines
This command requires the MPLS Services license.
Examples
This example shows how to specify the logical AND for all match statements under this class map:
switch# configure terminal
switch(config)# class-map type qos match-all class-2
switch(config-cmap-qos)#
This example shows how to specify the logical OR for all match statements under this class map:
switch# configure terminal
switch(config)# class-map type qos match-any class-2
switch(config-cmap-qos)#
OL-24994-01
class-map [type qos] [match-all] [match-any] class-map-name
no class-map [type qos] [match-all] [match-any] class-map-name
(Optional) Specifies the type of the class map.
(Optional) Specifies the QoS class.
(Optional) Specifies logical AND for all match statements under this class
map.
(Optional) Specifies logical OR for all match statements under this class
map.
Class-map name. The maximum size is case-sensitive, alphanumeric 40
characters.
Modification
This command was introduced.
Cisco Nexus 7000 Series NX-OS MPLS Command Reference
class-map
125