Reference Guide
service-policy input
Apply an input policy map to the selected interface.
C-Series, E-Series, S-Series, Z-Series, S4810
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
Command History
Version 8.3.11.1 Introduced on the Z9000.
Version 8.3.7.0 Introduced on the S4810.
Version 7.6.1.0 Introduced on the S-Series.
Version 7.5.1.0 Introduced on the 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 the E-Series.
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.
However, the
service-policy input command (without the policy-map-name
option) and the service-class dynamic dot1p command are allowed on an
interface.
Related
Commands
policy-map-input – creates an input policy map.
1347










