Configuring the vPC Peer Switch
Configuring a Pure vPC Peer Switch Topology
You can configure a pure vPC peer switch topology using the peer-switch command and then you set the
best possible (lowest) spanning tree bridge priority value.
The values you apply for the spanning tree priority must be identical on both vPC peers.Note
Before You Begin
Ensure that you have enabled the vPC feature.
Procedure
PurposeCommand or Action
Enters global configuration mode.switch# configure terminal
Step 1
Enters the vPC domain number that you want to configure.
The system enters the vpc-domain configuration mode.
switch(config)# vpc domain
domain-id
Step 2
Enables the vPC switch pair to appear as a single STP root
in the Layer 2 topology.
switch(config-vpc-domain)#
peer-switch
Step 3
Use the no form of the command to disable the peer switch
vPC topology.
Configures the bridge priority of the VLAN. Valid values
are multiples of 4096. The default value is 32768.
switch(config-vpc-domain)#
spanning-tree vlan vlan-range
priority value
Step 4
This value must be identical on both vPC
peers.
Note
Exits the vpc-domain configuration mode.switch(config-vpn-domain)# exit
Step 5
(Optional)
Displays a summary of the spanning tree port states
including the vPC peer switch.
switch(config)# show spanning-tree
summary
Step 6
Look for the following line in the command output:
vPC peer-switch is enabled (operational)
(Optional)
Saves the change persistently through reboots and restarts
by copying the running configuration to the startup
configuration.
switch(config)# copy
running-config startup-config
Step 7
Cisco Nexus 5000 Series NX-OS Interfaces Configuration Guide, Release 5.2(1)N1(1)
78-26881-OL 93
Configuring Virtual Port Channels
Configuring the vPC Peer Switch