CLI Guide
service-policy input
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
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. The default is Layer 3.
Defaults Layer 3
Command Modes INTERFACE
Supported Modes Full–Switch
Command History
Version Description
9.9(0.0) Introduced on the FN IOM.
9.2(0.0) Introduced on the M I/O Aggregator.
8.3.16.1 Introduced on the MXL 10/40GbE Switch IO Module.
Usage Information You can attach a single policy-map to one or more interfaces to specify the
service-policy for those interfaces. A policy map attached to an interface can be
modified.
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.
Related
Commands
policy-map-input — creates an input policy map.
service-policy output
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.
Quality of Service (QoS)
1241