# Setting the Exceeded Action for a Rate-Limit Profile

You can use the exceeded-action command to set the exceeded action for a rate-limit profile: Packets are colored red. For IP and IPv6 rate-limit profiles, mark the packet by setting the ToS byte (IP) or traffic class field (IPv6) to the specified 8-bit value, and transmit the packet. The mark value is masked with the default 255 unless it is overridden by the mask-val command to specify a different mask; not supported on hierarchical rate limits. For MPLS rate-limit profiles, set the EXP bits of MPLS packets to the specified value in the range 0–7, and transmit the packet.The mark EXP value is masked with the default 7 unless you use the exp-mask command to specify a different mask; not supported on hierarchical rate limits. The no version restores the default value, drop.

- Issue the exceeded-action command from Rate Limit Profile Configuration mode:
  host1(config-rate-limit-profile)#exceeded-action drop

#### Related Documentation

- exceeded-action