R Commands

This chapter describes the Cisco NX-OS interface commands that begin with R.

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

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.

 
Command Default

None

 
Command Modes

Interface configuration mode

 
Command History

Release
Modification

5.2(1)N1(1)

This command was introduced.

 
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

Command
Description

show running-config

Displays the running system configuration information.

 

 
Related Commands

Command
Description

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.

 

resync-database

To resynchronize the switch profile databases, use the resync-database command.

resync-database

 
Syntax Description

This command has no arguments or keywords.

 
Command Default

None

 
Command Modes

Switch profile configuration mode

 
Command History

Release
Modification

5.0(2)N2(1)

This command was introduced.

Examples

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)#

 
Related Commands

Command
Description

switch-profile

Configures a switch profile.