class-map
class-map
To define a traffic class and the associated rules that match packets to the class, use the class-map command
in XR Config mode. To remove an existing class map from the router, use the no form of this command.
class-map [type [traffic | qos]] [match-all] [match-any] class-map-name
no class-map [type [traffic | qos]] [match-all] [match-any] class-map-name
Syntax Description
type qos
traffic
match-all
match-any
class-map-name
Type is QoS when not specified.
Command Default
XR Config mode
Command Modes
Command History
Release
Release 6.0
The class-map command specifies the name of the class for which you want to create or modify class map
Usage Guidelines
match criteria. Use of this command enables class map configuration mode in which you can enter any match
command to configure the match criteria for this class. Packets arriving on the interface are checked against
the match criteria configured for a class map to determine if the packet belongs to that class.
These commands can be used in a class map match criteria for the ingress direction:
• match access-group
• match [not] dscp
• match [not] mpls experimental topmost
• match [not] precedence
• match [not] protocol
Task ID
Task
ID
qos
Modular QoS Command Reference for Cisco NCS 5500 Series and Cisco NCS 540 Series Routers
4
(Optional) Specifies a quality-of-service (QoS) class-map.
(Optional) Specifies traffic type class-map.
(Optional) Specifies a match on all of the match criteria.
(Optional) Specifies a match on any of the match criteria. This is the default.
Name of the class for the class map. The class name is used for the class map and to
configure policy for the class in the policy map. The class name can be a maximum of
63 characters, must start with an alphanumeric character, and in addition to alphanumeric
characters, can contain any of the following characters: . _ @ $ % + | # : ; - =
Operations
read,
write
QoS Classification Commands
Modification
This command was introduced.
Need help?
Do you have a question about the NCS 540 Series Routers and is the answer not in the manual?
Questions and answers