class-map type network-qos

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

class-map type network-qos class_map_name

no class-map type network-qos class_map_name

Syntax Description

Name assigned to the class map. 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

Class maps of type network qos 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 network qos class map named my_class1:

switch(config)# class-map type network-qos my_class1

This example shows how to remove a network qos class map:

switch(config)# no class-map my_class1

Related Commands

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