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.
This chapter describes the Cisco NX-OS virtual port channel (vPC) commands that begin with R.
To configure the time to restore the virtual port channel (vPC) peer links, use the reload restore command. To revert to the default delay value, use the no form of this command.
reload restore [delay delay_value]
no reload restore
240 seconds
vPC domain configuration mode
This example shows how to enable the reload-restore interval for 240 seconds (the default value) in vPC domain 100:
switch# configuration terminal
switch(config)# vpc domain 100
switch(config-vpc-domain)# reload restore
Warning:
Enables restoring of vPCs in a peer-detached state after reload, will wait for 240 seconds (by default) to determine if peer is un-reachable
switch(config-vpc-domain)#
This example shows how to set the delay period for 300 seconds in vPC domain 200:
switch# configuration terminal
switch(config)# vpc domain 200
switch(config-vpc-domain)# reload restore delay 300
Warning:
Enables restoring of vPCs in a peer-detached state after reload, will wait for 240 seconds (by default) to determine if peer is un-reachable
switch(config-vpc-domain)#
|
|
---|---|
vpc domain |
Configures a vPC domain. |
show running-config vpc |
Displays the running configuration information for vPCs. |
To manually assign a primary or secondary role to a virtual Port Channel (vPC) device, use the role command. To restore the default role priority, use the no form of this command.
role priority priority_value
no role priority priority_value
priority |
Specifies the priority to define primary or secondary roles in the vPC configuration. |
priority_value |
Priority value for the vPC device. The range is from 1 to 65535. |
None
vPC domain configuration mode
|
|
---|---|
5.2(1)N1(1) |
This command was introduced. |
By default, the Cisco NX-OS software 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 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 the primary device to be lower than the other vPC peer device.
A vPC does not support role preemption. If the primary vPC peer device fails, the secondary vPC peer device takes over to become operationally the vPC primary device. However, the original operational roles are not restored if the formerly primary vPC comes up again.
This example shows how to configure the role priority of a vPC device:
switch(config-vpc-domain)# role priority 100
switch(config-vpc-domain)#