Send document comments to nexus7k-docfeedback@cisco.com
7-46
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 manually configure the role priority of the vPC peer device:
switch# configure terminal
switch(config)# vpc domain 5
switch(config-vpc-domain)# role priority 4
Configuring the Tracking Feature on a Single-Module vPC
Beginning with Cisco NX-OS Release 4.2, if you must configure all the vPC peer links and core-facing
interfaces on a single module, you should configure a track object and a track list that is associated with
the Layer 3 link to the core and on all the links on the vPC peer link on both primary vPC peer devices.
Once you configure this feature and if the primary vPC peer device fails, the system automatically
suspends all the vPC links on the primary vPC peer device. This action forces all the vPC traffic to the
secondary vPC peer device until the system stabilizes.
You must put this configuration on both vPC peer devices. Additionally, you should put the identical
configuration on both vPC peer devices because either device can become the operationally primary vPC
peer device.
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
role priority priority
Example:
switch(config-vpc-domain)# role priority 4
switch(config-vpc-domain)#
Enters the role priority that you want for the vPC
system priority.The range of values is from 1 to
65636, and the default value is 32667. A lower value
means this switch has a better chance of being the
primary vPC.
Step 4
exit
Example:
switch(config-vpc-domain)# exit
switch(config)#
Exits the vpc-domain configuration mode.
Step 5
show vpc role
Example:
switch# show vpc role
(Optional) Displays the vPC system priority.
Step 6
copy running-config startup-config
Example:
switch# copy running-config startup-config
(Optional) Copies the running configuration to the
startup configuration.