class-map type queuing

To create or modify a class map that defines a queuing class of traffic and enter the class-map configuration mode, use the class-map type queuing command. To remove the queuing class map, use the no form of this command.

class-map type queuing class_map_name

no class-map type queuing class_map_name

Syntax Description

Name assigned to the class map or a system-defined queuing class map name. The name class-default is reserved. The name can be a maximum of 40 characters. The name is case sensitive and can only contain alphanumeric characters, hyphens, and underscores.

Command Default


Command Modes

Global configuration mode

Command History

This command was introduced.

Usage Guidelines

If you modify the queuing type class maps, the configuration for all ports of the specified port type also changes.

You cannot delete the system-defined queuing class map names.

Class maps of type queuing support only the match qos-group command. If a traffic packet matches any of the criteria configured for this class map with the match command, then this class map is applied to the packet. By default, traffic is filtered using the implicit match-any option.


This example shows how to create or modify a queuing class map:

switch(config)# class-map type queuing my_class1

This example shows how to modify a system-defined queuing class map named class-default:

switch(config)# class-map type queuing match-any class-default

This example shows how to remove a queuing class map:

switch(config)# no class-map type queuing my_class1

Related Commands

feature fcoe
Enables FCoE on the switch.
match qos-group
Configures a traffic class that matches the QoS group values.
show class-map type queuing
Displays queuing class maps configured in the system.