Applying the QoS policing rate to an interface

Follow these steps to apply the policing rate to an interface.

Before you begin

A policy map has been configured.

Procedure

  1. Enter global configuration mode.
    device# configure terminal
    
  2. Access interface configuration mode.
    device(config-policymap-class)# interface ethernet 1/49
    
  3. Bind the ingress policy map policy map to the interface.
    device(conf-if-eth-1/49)# service-policy in policy_1
    
  4. Return to privileged EXEC mode.
    device(conf-if-eth-1/49)# end
    
  5. Verify the configuration.
    device# show policy-map
    
    Number of policy maps : 2
    ...
    Policy-Map policy_1
      Bound To: Et 1/49(in)
    
  6. Save the running-config file to the startup-config file.
    device# copy running-config startup-config
    

QoS policing rate on an interface configuration example

device# configure terminal
device(config-policymap-class)# interface ethernet 1/49
device(conf-if-eth-1/49)# service-policy in policy_1
device(conf-if-eth-1/49)# end
device# show policy-map
device# copy running-config startup-config