Feature Overview
This feature further extends the functionality of the Cisco IOS XE single-rate policer and the Two-Rate Policer feature. The Traffic Policing and Two-Rate Policer features are traffic policing mechanisms that allow you to control the maximum rate of traffic sent or received on an interface. Both of these traffic policing mechanisms mark packets as either conforming to, exceeding, or violating a specified rate. After a packet is marked, you can specify an action to be taken on the packet based on that marking.
With both the Traffic Policing feature and the Two-Rate Policer feature, you can specify only one conform action, one exceed action, and one violate action. Now with the new Policer Enhancement Multiple Actions feature, you can specify multiple conform, exceed, and violate actions for the marked packets.
You specify the multiple actions by using the action argument of the police command. The resulting actions are listed in the table below.
Specified Action |
Result |
---|---|
drop |
Drops the packet. |
set-clp-transmit |
Sets the ATM Cell Loss Priority (CLP) bit from 0 to 1 on the ATM cell and transmits the packet. |
set-cos-transmit |
Sets the Class of Service (CoS) value and transmits the packet. |
set-discard-class-transmit |
Sets the discard-class value and transmits the packet. |
set-dscp-transmit new-dscp |
Sets the IP differentiated services code point (DSCP) value and transmits the packet with the ATM CLP bit set to 1. |
set-frde-transmit |
Sets the Frame Relay Discard Eligibility (DE) bit from 0 to 1 on the Frame Relay frame and transmits the packet. |
set-mpls-exp-transmit |
Sets the Multiprotocol Label Switching (MPLS) experimental (EXP) bits from 0 to 7 and transmits the packet. |
set-mpls-exp-imposition-transmit |
Sets the MPLS EXP bits from 0 to 7 at tag imposition and transmits the packet. |
set-prec-transmit new-prec |
Sets the IP Precedence level and transmits the packet. |
set-qos-transmit new-qos |
Sets the Quality of Service (QoS) group value and transmits the packet. |
transmit |
Transmits the packet. |
Benefits
Before this feature, you could specify only one marking action for a packet, in addition to transmitting the packet. This feature provides enhanced flexibility by allowing you to specify multiple marking actions for a packet, as required. For example, if you know the packet will be transmitted through both a TCP/IP and a Frame Relay environment, you can change the DSCP value of the exceeding or violating packet, and also set the Frame Relay Discard Eligibility (DE) bit from 0 to 1 to indicate lower priority.
Restrictions
The shape (percent) command, when used in "child" (nested) policy maps, is not supported on the Cisco 7500, the Cisco 7200, or lower series routers. Therefore, the shape (percent) command cannot be configured for use in nested policy maps on these routers.
Related Features and Technologies
-
Modular Quality of Service (QoS) Command-Line Interface (CLI) (MQC)
-
Class-Based Weighted Fair Queueing (CBWFQ)
-
Class-Based Packet Marking
-
Traffic Policing
-
Two-Rate Policing
Related Documents
-
"Applying QoS Features Using the MQC" module
-
"Configuring Weighted Fair Queueing" module
-
"Marking Network Traffic" module
-
"Policing and Shaping Overview" module
-
"Traffic Policing" module
-
"Two-Rate Policer" module
-
"Policer Enhancements-Multiple Actions" module
-
"Cisco Express Forwarding Overview" module
-
Cisco IOS Quality of Service Solutions Command Reference
-
Cisco IOS Switching Services Command Reference
-
RFC 2697, A Single Rate Three Color Marker
-
RFC 2698, A Two Rate Three Color Marker