The documentation set for this product strives to use bias-free language. For the purposes of this documentation set, bias-free is defined as language that does not imply discrimination based on age, disability, gender, racial identity, ethnic identity, sexual orientation, socioeconomic status, and intersectionality. Exceptions may be present in the documentation due to language that is hardcoded in the user interfaces of the product software, language used based on RFP documentation, or language that is used by a referenced third-party product. Learn more about how Cisco is using Inclusive Language.
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
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. |
None
Interface configuration mode
Release |
Modification |
---|---|
5.2(1)N1(1) |
This command was introduced. |
This command does not require a license.
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)#
Command |
Description |
---|---|
show running-config |
Displays the running system configuration information. |
remote ip address |
Configures the IPv4 address for a remote machine. |
remote port |
Configures the TCP port for a remote machine. |
remote vrf |
Configures the virtual routing and forwarding (VRF) instance for a remote machine. |
show svs connections |
Displays SVS connection information. |
svs connection |
Enables an SVS connection. |
To resynchronize the switch profile databases, use the resync-database command.
resync-database
This command has no arguments or keywords.
None
Switch profile configuration mode
Release |
Modification |
---|---|
5.0(2)N2(1) |
This command was introduced. |
This example shows how to resynchronize the switch profile databases:
switch#configure sync Enter configuration commands, one per line. End with CNTL/Z. switch(config-sync)#resync-database Re-synchronization of switch-profile db takes a few minutes... Re-synchronize switch-profile db completed successfully. switch(config-sync)#
Command |
Description |
---|---|
switch-profile |
Configures a switch profile. |