1144
Cisco Nexus 5500 Series NX-OS Layer 2 Interfaces Command Reference
OL-27880-02
Chapter R Commands
rate-limit cpu direction
rate-limit cpu direction
To set the packet per second (PPS) rate limit for an interface, use the rate-limit cpu direction command.
To revert ot the default value, use the no form of this command.
rate-limit cpu direction {both | input | output} pps pps_value action log
no rate-limit cpu direction {both | input | output} pps pps_value action log
Syntax Description
Command Default None
Command Modes Interface configuration mode
Command History
Usage Guidelines This command does not require a license.
Examples This example shows how to set the maximum input packet rate to 3 for an interface and enable the
logging of syslog messages:
switch# configure terminal
switch(config)# interface ethernet 1/5
switch(config-if)# rate-limit cpu direction input pps 3 action log
switch(config-if)#
Related Commands
both Sets the maximum input and output packet rate.
input Sets the maximum input packet rate.
output Sets the maximum output packet rate.
pps pps_value Specifies the packets per second. The range is from 0 to 100,000.
action Specifies the action is logged.
log Writes a syslog message if the PPS value matches or exceeds the specified
rate limit.
Release Modification
5.2(1)N1(1) This command was introduced.
Command Description
show running-config Displays the running system configuration information.