violate-action
To configure the action to take on packets that violate the rate limit, use the violate-action command in policy
map police configuration mode. To remove a conform action from the policy-map, use the no form of this
command.
violate-action {drop| set options| transmit}
no violate-action {drop| set options| transmit}
Syntax Description
Drops the packet.drop
Configures the specified packet properties. Replace options with one of the following
keywords or keyword arguments:
• cos value—Sets the class of service value. Range is 0 to 7.
• discard-class value —Sets the discard class value. Range is 0 to 7.
• dscp [tunnel] value—Sets the differentiated services code point (DSCP) value and
sends the packet. See Table 2: IP DSCP Reserved Keywords, on page 45 for a list
of valid values. With the tunnel keyword, the DSCP is set in the outer header.
• mpls experimental {topmost | imposition} value—Sets the experimental (EXP)
value of the Multiprotocol Label Switching (MPLS) packet topmost label or imposed
label. Range is 0 to 7.
• precedence [tunnel] precedence—Sets the IP precedence and sends the packet. See
Table 3: IP Precedence Values and Names, on page 51 for a list of valid values. With
the tunnel keyword, the precedence is set in the outer header.
• srp-priority value—Sets the Spatial Reuse Protocol (SRP) priority. Range is 0 to 7
set options
Transmits the packets.transmit
Command Default
No default behavior or values
Command Modes
Policy map police configuration
Command History
ModificationRelease
This command was introduced.Release 3.4.0
The set qos-group keyword was added.Release 3.4.1
Cisco IOS XR Modular Quality of Service Command Reference for the Cisco CRS Router, Release 4.0
144 OL-23235-03
Quality of Service Commands on the Cisco IOS XR Software
violate-action