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

class-map-name
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

None

Command Modes

Global configuration mode

Command History

Release
Modification
4.1(3)N1(1)
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.

Examples

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

switch(config)# class-map type queuing my_class1
switch(config-cmap-que)#
 

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
switch(config-cmap-que)#
 

This example shows how to remove a queuing class map:

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

Related Commands

Command
Description
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.