Configuring a policy map

Add a class map to a policy map and set policing parameters to the class map.

Procedure

  1. Enter global configuration mode.
    device# configure terminal
    
  2. Create and name a policy map.
    device(config)# policy-map policy_2
    
  3. Add a class map to the policy map.
    device(config-policymap)# class default
    
  4. Create a policy map class police instance and set the committed information rate (cir), committed burst rate (cbs), excess information rate (eir), and the excess burst rate (ebs).
    device(config-policymap-class)# police cir 3000000 cbs 375000000 eir 300000000 ebs 37500000
    
  5. Return to privileged EXEC mode.
    device(config-policymap-class)# end
    
  6. Verify the configuration.
    device# show policy-map detail policy_2
    
    Policy-Map policy_2
        Class default
          Police cir 3000000 cbs 375000000 eir 300000000 ebs 37500000
    
      Bound To:None
    
  7. Save the configuration.
    device# copy running-config startup-config
    

Policy map configuration example

device# configure terminal
device(config)# policy-map policy_2
device(config-policymap)# class default
device(config-policymap-class)# police cir 3000000 cbs 375000000 eir 300000000 ebs 37500000
device(config-policymap-class)# end
device# show policy-map detail policy_2
device# copy running-config startup-config