Command Line Reference Guide
Quality of Service (QoS) | 1139
service-policy input
c e s
Apply an input policy map to the selected interface.
Syntax
service-policy input policy-map-name [layer2]
To remove the input policy map from the interface, use the no service-policy input policy-map-name
[layer2] command.
Parameters
Defaults
Layer 3
Command Modes
INTERFACE
Command
History
Usage
Information
A single policy-map can be attached to one or more interfaces to specify the service-policy for those
interfaces. A policy map attached to an interface can be modified.
Related
Commands
service-policy output
c e s
Apply an output policy map to the selected interface.
Syntax
service-policy output policy-map-name
To remove the output policy map from the interface, use the no service-policy output
policy-map-name command.
Parameters
Defaults
No default behavior or values
Command Modes
INTERFACE
policy-map-name
Enter the name for the policy map in character format (16 characters maximum).
You can identify an existing policy map or name one that does not yet exist.
layer2
(OPTIONAL) Enter the keyword layer2 to specify a Layer 2 Class Map.
Default: Layer 3
Version 7.6.1.0 Introduced on S-Series
Version 7.5.1.0 Introduced on C-Series
Version 7.4.1.0 E-Series Only: Expanded to add support for Layer 2
pre-Version 6.1.1.1 Introduced on E-Series
Note: The service-policy commands are not allowed on a port channel.
The
service-policy input policy-map-name command and the service-class dynamic dot1p
command are not allowed simultaneously on an interface. However, the service-policy input
command (without the policy-map-name option) and the service-class dynamic dot1p
command are allowed on an interface.
policy-map-input Create an input policy map.
policy-map-name
Enter the name for the policy map in character format (16 characters maximum).
You can identify an existing policy map or name one that does not yet exist.










