CLI Reference Guide-R01

Table Of Contents
Chapter 24
| Control Plane Commands
– 642 –
service-policy This command applies a QoS policy map defined by the policy-map command to
the ingress side of the control-plane interface. Use the no form to remove this
mapping.
Syntax
[no] service-policy input policy-map-name
input
- Apply to the input traffic.
policy-map-name
- Name of the policy map for this interface.
(Range: 1-32 characters)
Default Setting
No policy map is attached to the control-plane interface.
Command Mode
Control-Plane Interface Configuration
Command Usage
Only one policy map can be assigned to the control-plane interface.
First define a class map, then define a policy map, and finally use the service-
policy command to bind the policy map to the control-plane interface.
The switch does not allow a policy map to be bound to an interface for egress
traffic.
Example
This example applies a service policy to the control-plane interface.
Console(config)#control-plane
Console(config-cp)#service-policy input cpu-policy
Console(config-cp)#
show policy-map
control-plane
This command displays the QoS policy map that defines classification criteria for
incoming traffic on the control-plane interface.
Syntax
show policy-map control-plane input [class class-map-name] [hardware
counters]
class-map-name - Name of the class map. (Range: 1-32 characters)
hardware counters - Shows statistics for the policy or class.
Command Mode
Privileged Exec