R Commands

rate-mode dedicated

To set the dedicated rate mode for the specified ports, use the rate-mode dedicated command.

rate-mode dedicated

no rate-mode

Syntax Description

This command has no arguments or keywords.

Command Default

Shared rate mode is the default.

Command Modes

Interface configuration mode

Command History

Release

Modification

4.0

This command was introduced.

Usage Guidelines

Use the rate-mode dedicated command to set the dedicated rate mode for the specified ports.

On a 32-port,10-Gigabit Ethernet module, each set of four ports can handle 10 gigabits per second (Gb/s) of bandwidth. You can use the rate-mode parameter to dedicate that bandwidth to the first port in the set of four ports or share the bandwidth across all four ports.


Note

When you dedicate the bandwidth to one port, you must first administratively shut down the ports in the group, change the rate mode to dedicated, and then bring the dedicated port administratively up.

Table 1 identifies the ports that are grouped together to share each 10 Gb/s of bandwidth and which port in the group can be dedicated to utilize the entire bandwidth.

Table 1. Dedicated and Shared Ports

Ports Groups that Can Share Bandwidth

Ports that Can be Dedicated to Each 10-Gigabit Ethernet of Bandwidth

1, 3, 5, 7

1

2, 4, 6, 8

2

9, 11, 13, 15

9

10, 12, 14, 16

10

17, 19, 21, 23

17

18, 20, 22, 24

18

25, 27, 29, 31

25

26, 28, 30, 32

26


Note

All ports in each port group must be part of the same virtual device context (VDC). For more information on VDCs, see the Cisco Nexus 7000 Series NX-OS Virtual Device Context Configuration Guide, Release 5.x.

When you enter the rate-mode dedicated command, the full bandwidth of 10 Gbps is dedicated to one port. When you dedicate the bandwidth, all subsequent commands for the port are for dedicated mode.

This command does not require a license.

Examples

This example shows how to configure the dedicated rate mode for Ethernet ports 4/17, 4/19, 4/21, and 4/23:

switch# configure terminal
switch(config)# interface ethernet 4/17, ethernet 4/19, ethernet 4/21, ethernet 4/23
switch(config-if)# shutdown
switch(config-if)# interface ethernet 4/17
switch(config-if)# rate-mode dedicated
switch(config-if)# no shutdown

rate-mode shared

To set the shared rate mode for the specified ports, use the rate-mode shared command.

rate-mode shared

Syntax Description

This command has no arguments or keywords.

Command Default

Shared rate mode is the default.

Command Modes

Interface configuration mode

Command History

Release

Modification

4.0

This command was introduced.

Usage Guidelines

Use the rate-mode shared command to set the shared rate mode for the specified ports. This is the default rate mode for the module.

That is, use the rate-mode shared command to specify that each 10 Gbps of bandwidth on a 32-port 10-Gigabit Ethernet module is shared by ports in the same port group.

If the port group is in dedicated rate mode, you must first administratively shut down the ports in the group, change the rate mode to shared, and then bring the ports administratively up.

This command does not require a license.

Examples

This example shows how to configure the shared rate mode for Ethernet ports 4/17, 4/19, 4/21, and 4/23:

switch# configure terminal
switch(config)# interface ethernet 4/17, ethernet 4/19, ethernet 4/21, ethernet 4/23
switch(config-if)# shutdown
switch(config-if)# interface ethernet 4/17
switch(config-if)# rate-mode shared
switch(config-if)# no shutdown

reload restore

To configure a virtual port channel (vPC) device to assume that its peer is not functional and to bring up the vPC, use the reload restore command. To reset the vPC to the standard behavior, use the no form of this command.

reload restore [delay time-out]

no reload restore

Syntax Description

delay time-out

(Optional) Sets the timeout for the vPC device. The range is from 240 to 3600.

Command Default

Delay of 240 seconds

Command Modes

vPC domain configuration mode

Command History

Release

Modification

5.2(1)

This command was deprecated.

5.0(2)

This command was introduced.

Usage Guidelines

This command does not require a license.

Examples

This example shows how to configure a vPC device to assume that its peer is not functional and to bring up the vPC:

switch(config)# vpc domain 5
switch(config-vpc-domain)# reload restore
Warning: Enables restoring of vPCs in a peer-detached state after reload, will wait for 240 sec (by default) to determine if peer is un-reachable

remote-loopback disable

To perform no action on an interface when a remote-loopback event occurs, use the remote-loopback disable command in Ethernet OAM action configuration mode or interface Ethernet OAM action configuration mode. To remove the configuration, use the no form of this command.

remote-loopback {disable | log}

noremote-loopback {disable | log}

Syntax Description

disable

Performs no action on the interface when a remote-loopback event occurs.

log

(Interface Ethernet OAM action configuration only) Creates a syslog entry when a remoteloopback event occurs. This action is available in Interface Ethernet OAM action configuration mode to override the profile setting and log the event for the interface when it occurs.

Command Default

The default action is to create a syslog entry.

Command Modes

Ethernet OAM action configuration (config-eoam-action)

Interface Ethernet OAM action configuration (config-if-eoam-action)

Command History

Release Modification
7.3(0)D1(1)

This command was introduced.

Usage Guidelines

This command does not require a license.

Examples

The following example shows how to configure that no action is performed on the interface when a remote-loopback event occurs:

switch# configure terminal
switch(config)# ethernet oam profile Profile_1
switch(config-eoam)# action
switch(config-eoam-action)# remote-loopback disable

The following example shows how to configure that a syslog is created when a remote-loopback event occurs:

switch# configure terminal
switch(config)# interface ethernet 2/1
switch(config-if)# ethernet oam
switch(config-if-eoam)# action
switch(config-if-eoam-action)# remote-loopback log

role priority

To override the default selection of virtual port-channel (vPC) primary and secondary devices when you create a vPC domain, use the role priority command. To return to the default vPC system priority, use the no form of this command.

role priority priority

no role priority

Syntax Description

priority

Role priority. The range is from 1 to 65636.

Command Default

32667

Command Modes

vpc-domain command mode

Command History

Release

Modification

4.1(3)

This command was introduced.

Usage Guidelines

You must enable the vPC feature before you can create a vPC system priority

By default, the system elects a primary and secondary vPC peer device after you configure the vPC domain and both sides of the vPC peer link. However, you may want the system to elect a specific vPC peer device as the primary device for the vPC. Then, you would manually configure the role value for the vPC peer device that you want as primary to be lower than that of the other vPC peer device.

This command does not require a license.

Examples

This example shows how to create a vPC role priority:

switch# configure terminal
switch(config)# vpc domain 5
switch(config-vpc-domain)# role priority 2000

router ospfv3

To configure Bidirectional Forwarding Detection (BFD) for the Open Shortest Path First version 3 (OSPFv3) routing process for all interfaces, use the router ospfv3 command.

router ospfv3 process-id

Syntax Description

process-id

Configures an OSPFv3 routing process and that allows you to enter router configuration mode.

Command Default

None

Command Modes

Global configuration mode

Command History

Release

Modification

6.2(2)

This command was introduced.

Usage Guidelines

OSPFv3 must be running on all participating devices. You must configure the baseline parameters for BFD sessions on the interfaces over which you want to run BFD sessions to discover BFD neighbors.

Examples

This example shows how to configure BFD for OSPFv3 for all interfaces:

switch# configure terminal
switch(config)# router ospfv3 3
switch(config-router)# bfd
switch(config-router)# exit
switch(config)#