hit counter script

Class (Policy-Map) - Cisco NCS 540 Series Routers Command Reference Manual

Modular qos command reference
Hide thumbs Also See for NCS 540 Series Routers:
Table of Contents

Advertisement

class (policy-map)

class (policy-map)

To specify the name of the class whose policy you want to create or change, use the class command in policy
map configuration mode. To remove a class from the policy map, use the no form of this command.
class [type qos] {class-name|class-default}
no class [type qos] {class-name|class-default}
Syntax Description
type qos
class-name
class-default
No class is specified.
Command Default
Type is QoS when not specified.
Policy map configuration
Command Modes
Command History
Release
Release 6.0
Within a policy map, the class (policy-map) command can be used to specify the name of the class whose
Usage Guidelines
policy you want to create or change. The policy map must be identified first.
To identify the policy map (and enter the required policy map configuration mode), use the policy-map
command before you use the class (policy-map) command. After you specify a policy map, you can configure
the policy for new classes or modify the policy for any existing classes in that policy map.
The class name that you specify in the policy map ties the characteristics for that class—that is, its policy—to
the class map and its match criteria, as configured using the class-map command.
The class-default keyword is used for configuring default classes. It is a reserved name and cannot be used
with user-defined classes. It is always added to the policy map (type qos) even if the class is not configured.
For example, the following configuration shows that the class has not been configured, but the running
configuration shows 'class class-default'.
RP/0/RP0/CPU0:router(config)# class-map p2
RP/0/RP0/CPU0:router(config-cmap)# match precedence 2
RP/0/RP0/CPU0:router(config-cmap)# end-class-map
RP/0/RP0/CPU0:router(config)# commit
RP/0/RP0/CPU0:router(config)# policy-map pm2
RP/0/RP0/CPU0:router(config-pmap)# class p2
RP/0/RP0/CPU0:router(config-pmap-c)# set precedence 3
RP/0/RP0/CPU0:router(config-pmap-c)# end-policy-map
RP/0/RP0/CPU0:router(config)# commit
RP/0/RP0/CPU0:router(config)# end
Modular QoS Command Reference for Cisco NCS 5500 Series and Cisco NCS 540 Series Routers
2
(Optional) Specifies a quality-of-service (QoS) class.
Name of the class for which you want to configure or modify policy.
Configures the default class.
QoS Classification Commands
Modification
This command was introduced.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ncs 5500 series

Table of Contents

Save PDF