Related 
Commands
service-queue – assigns a class map and QoS policy to different queues.
policy-aggregate – allows an aggregate method of configuring per-port QoS using policy maps.
service-policy output – applies an output policy map to the selected interface.
qos-policy-input
Create a QoS input policy on the router.
C-Series, E-Series, S-Series, Z-Series, S4810
Syntax
qos-policy-input qos-policy-name [layer2]
To remove an existing input QoS policy from the router, use the no qos-policy-input 
qos-policy-name [layer2] command.
Parameters
qos-policy-name
Enter the name for the policy map in character format (32 characters 
maximum).
layer2 (OPTIONAL) Enter the keyword layer2 to specify a Layer 2 Class 
Map. The default is Layer 3.
Defaults Layer 3
Command Modes CONFIGURATION
Command History
Version 8.3.11.1 Introduced on the Z9000.
Version 8.3.7.0 Introduced on the S4810.
Version 8.2.1.0 Policy name character limit increased from 16 to 32.
Version 7.6.1.0 Introduced on the C-Series and S-Series.
Version 7.5.1.0 Introduced on the C-Series.
pre-Version 
6.1.1.1
Introduced on the E-Series.
Usage 
Information
Use this command to specify the name of the input QoS policy. After the input policy is 
specified, rate-police can be defined. This command enables Qos-Policy-Input Configuration 
mode— (conf-qos-policy-in).
When changing a Service-Queue configuration in a QoS policy map, all QoS rules are deleted 
and re-added automatically to ensure that the order of the rules is maintained. As a result, the 
Matched Packets value shown in the show qos statistics command is reset.
NOTE: On ExaScale, FTOS cannot classify IGMP packets on a Layer 2 interface using 
Layer 3 policy map. The packets always take the default queue, Queue 0, and cannot be 
rate-policed.
1204