You issue the following commands on RouterA:
RouterA(config)#policy-map abc
RouterA(config-pmap)#class applications
RouterA(config-pmap-c)#police 100000 5000 8000 conform-action
transmit exceed-action set-qos-transmit 4 violate-action drop
When will RouterA begin to drop packets?
Explanation:
RouterA will begin to drop packets when the burst rate exceeds 64,000 bits. You can issue the police command to explicitly configure a maximum bandwidth limit. The syntax of the police command is police bps [burst-normal] [burst-max] conform-action action exceed-action action [violate-action action]. The bps parameter is the average rate specified in bits per second, and the optional burst-normal and burst-max parameters are specified in bytes. When traffic exceeds the burst-normal rate, the router will perform the exceed-action action, and when traffic exceeds the burst-max rate, the router will perform the violate-action action. Traffic policing is used to slow down traffic to a value that the medium can support, to monitor bandwidth utilization, to enforce bandwidth limitations at the service provider edge, and to re-mark traffic that exceeds the Service Level Agreement (SLA). Excess traffic and out-of-profile packets are dropped or re-marked and transmitted. By contrast, traffic shaping buffers excess traffic and out-of-profile packets in memory and drops traffic only if the queue is full. Because traffic shaping does not re-mark traffic, it can create queuing delay, particularly when queues are large and traffic flow is heavy. In this scenario, the burst-max rate is set to a value of 8,000 bytes, which is equal to 64,000 bits.The action that corresponds to the violate-action keyword is drop. The drop keyword configures the router to silently drop packets. Therefore, when burst traffic exceeds 64,000 bits, some packets will be dropped. RouterA will not begin to drop packets when the burst rate exceeds 5,000 bits or 8,000 bits. The burst-normal and burst-max parameters are specified in bytes, not bits. RouterA will not begin to drop packets when the burst rate exceeds 40,000 bits. The burst-normal rate is set to a value of 5,000 bytes, which is equal to 40,000 bits. The action that corresponds to the exceed-action keyword is set-qos-transmit 4. Therefore, when burst traffic exceeds 40,000 bits, some packets will begin to be reclassified with a Quality of Service (QoS) value of 4 and will be transmitted. RouterA will begin to drop packets before the burst rate exceeds 100,000 bits. The bit rate indicates the average rate of burst traffic, not the rate at which packets will begin to be dropped. Reference: https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/qos/command/qos-cr-book/qos-n1.html#wp3614705404