Bind the Policy Map at the System Level

Follow these steps to apply policing parameters to an interface.

Procedure

  1. Enter global configuration mode.
    device# configure terminal
    
  2. Bind the policy map to inbound traffic.
    device(config)# qos service-policy in policyMap1
    
    You cannot use a policy map that is bound to class maps, default, or CEE maps.
  3. Return to privileged EXEC mode.
    device(config-service-policy-in/policyMap1)# end
    
  4. Verify the configuration.
    device# show policy-map detail policyMap1
    
    Policy-Map policyMap1
        Class class_1
          Police cir 40000 cbs 5000 eir 40000 ebs 3000 conform-tc 6 exceed-tc 2 conform-dscp 61 exceed-dscp 63
    
      Bound To: none
    
  5. Save the running-config file to the startup-config file.
    device# copy running-config startup-config
    

Example

This example summarizes the commands in this procedure.
device# configure terminal
device(config)# qos service-policy in policyMap1
device(config-service-policy-in/policyMap1)# end
device# show policy-map detail policyMap1
device# copy running-config startup-config