Send document comments to nexus7k-docfeedback@cisco.com
7-56
Cisco Nexus 7000 Series NX-OS Interfaces Configuration Guide, Release 5.x
OL-23435-03
Chapter 7 Configuring vPCs
Verifying the vPC Configuration
This example shows how to configure a hybrid vPC peer switch topology:
switch# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
switch(config)# spanning-tree pseudo-information
switch(config-pseudo)# vlan 1 designated priority 8192
switch(config-pseudo)# vlan 1 root priority 4096
switch(config-pseudo)# exit
switch(config)# vpc domain 5
switch(config-vpc-domain)# peer-switch
Verifying the vPC Configuration
To display vPC configuration information, perform one of the following tasks:
Step 5
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 6
peer-switch
Example:
switch(config-vpc-domain)# peer-switch
Enables the vPC switch pair to appear as a single
STP root in the Layer 2 topology.
Use the no form of the command to disable the peer
switch vPC topology.
Step 7
exit
Example:
switch(config-vpc-domain)# exit
switch(config)#
Exits the vpc-domain configuration mode.
Step 8
show spanning-tree summary
Example:
switch# show spanning-tree summary
(Optional) Displays a summary of the spanning tree
port states including the vPC peer switch.
Step 9
copy running-config startup-config
Example:
switch# copy running-config startup-config
(Optional) Copies the running configuration to the
startup configuration.
Command Purpose
Command Purpose
show feature Displays whether the vPC is enabled or not.
show vpc brief Displays brief information on the vPCs.
show vpc consistency-parameters Displays the status of those parameters that must
be consistent across all vPC interfaces.
show running-config vpc Displays running configuration information for
vPCs.
show port-channel capacity Displays how many port channels are configured
and how many are still available on the device.
show vpc statistics Displays statistics on the vPCs.