Class map policer configuration parameters

Use the values in the following table when setting the CIR, CBS, EIR, and EBS parameters.

Table 1. Map parameters for rate limiting
Parameter Values Range Increments of
cir - Committed information rate bits per second 22000 through 300000000000 Starts at 22000 then is rounded up to next achievable rate.
cbs - Committed burst size Bytes per second 1250 through 37500000000 1 Byte
eir - Excess information rate bits per second 22000 through 300000000000 Starts at 22000 then is rounded up to next achievable rate.
ebs - Excess burst size Bytes per second 1250 through 37500000000 1 Byte
Note

Note

The parameters cir and eir are configured in bits per second, cbs and ebs are configured in Bytes per second.
The possible combinations when entering policer values are:
device(config-policymap-class)# police cir 600000000
device(config-policymap-class)# police cir 700000000 cbs 8000000000
device(config-policymap-class)# police cir 7000000000 cbs 70000000 eir 500000000
device(config-policymap-class)# police cir 7000000000 cbs 70000000 eir 500000000 ebs 90000000
device(config-policymap-class)# police cir 700000 eir 800000  
device(config-policymap-class)# police cir 700000 eir 800000 ebs 6000000
Follow these rules when configuring the class map policier parameters:
  • The CIR value must be specified; all other parameters are optional.
  • You should configure the rate (CIR/EIR) and burst size (CBS/EBS) based on the interface speed.
  • Default values will be calculated if not specified by the user.
  • Configured values take priority over default values.
  • If you only specify the CIR value, a default value is calculated and set to CBS value.
  • If you specify the values of both CIR and CBS, the configured value takes priority over the default values in the policer.
  • Should the CIR value be updated, the configured CBS value is retained, and the default value is not restored.
  • If you want to revert to the default CBS value, you must first remove the configured CBS value.
  • To disable the learning of MAC addresses for stream matching of the ACL-based rate limiting entries, the CIR and EIR values must be 0.

    The MAC address entries in the MAC-address table which are already learnt are not be flushed when you configure the CIR or EIR value as 0. You must explicitly clear the entries in MAC-address table by using the clear mac-address-table dynamic command.