Send document comments to nexus7k-docfeedback@cisco.com
7-51
Cisco Nexus 7000 Series NX-OS Interfaces Configuration Guide, Release 5.x
OL-23435-03
Chapter 7 Configuring vPCs
Configuring vPCs
DETAILED STEPS
This example shows how to set the vPC autorecovery feature and save it in the switch startup
configuration:
switch# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
switch(config)# vpc domain 5
switch(config-vpc-domain)# auto-recovery
Warning:
Enables restoring of vPCs in a peer-detached state after reload, will wait for 240
seconds to determine if peer is un-reachable
switch(config-vpc-domain)# exit
switch(config)# exit
switch# copy running-config startup-config
Command Purpose
Step 1
configure terminal
Example:
switch# configure terminal
switch(config)#
Enters global configuration mode.
Step 2
vpc domain domain-id
Example:
switch(config)# vpc domain 5
switch(config-vpc-domain)#
Enters the vPC domain number that you want to
configure. The system enters the vpc-domain
configuration mode.
Step 3
auto-recovery [reload-delay time]
Example:
switch(config-vpc-domain)# auto-recovery
Configures the vPC to assume its peer is not
functional and to bring up the vPC, and specifies the
time to wait after reload to restore the vPC. The
default delay is 240 seconds. You can configure a
delay from 240 to 3600 seconds.
Use the no form of the command to reset the vPC to
the standard behavior.
Step 4
exit
Example:
switch(config-vpc-domain)# exit
switch(config)#
Exits the vpc-domain configuration mode.
Step 5
show running-config vpc
Example:
switch# show running-config vpc
(Optional) Displays information about the vPC,
specifically the reload status.
Step 6
show vpc consistency-parameters interface
port-channel number
Example:
switch# show vpc consistency-parameters
interface port-channel 1
(Optional) Displays information about the vPC
consistency parameters for the specified interface.
Step 7
copy running-config startup-config
Example:
switch# copy running-config startup-config
(Optional) Copies the running configuration to the
startup configuration.
Note To ensure the autorecovery feature is
enabled, you should perform this step.