OcNOS-SP : Quality of Service Guide : Quality of Service Command Reference : Quality of Service Commands : class-map type
class-map type
Use this command to create a class-map of type qos or queuing.
Use the no command to remove a class-map.
Note: A class-map without any match qualification behaves similar to a default class by matching all the packets on the interface it is attached via a service policy.
Note: In a class-map, adding a match criteria will have silent exit and will not proceed with operation.
Note: In match-all class-map, only a single value with any criteria can exist. Adding a new value for the existing criteria will update the same rule. Multiple values with the same criteria can be added in a “match-any” class-map
Command Syntax
class-map (type qos|queuing|) (match-any|match-all|) NAME
no class-map (type qos|queuing|) NAME
Parameters
qos
Ingress/egress class map.
queuing
Egress class map.
NAME
Specify the class map name (maximum length 32 characters)
match-any
Match any parameter (boolean OR)
match-all
Match all parameters (boolean AND)
Default
By default, the type is qos.
By default, the match type is match-all.
Command Mode
Configuration Mode
Applicability
This command was introduced in OcNOS version 3.0.
Examples
#configure terminal
(config)#class-map type qos C_QOS1
Last modified date: 10/20/2023