Send document comments to nexus7k-docfeedback@cisco.com
7-53
Cisco Nexus 7000 Series NX-OS Interfaces Configuration Guide, Release 5.x
OL-23435-03
Chapter 7 Configuring vPCs
Configuring vPCs
This example shows how to configure an interface as a vPC orphan port to be suspended by the secondary
peer in case of vPC failure:
switch# configure terminal
switch(config)# interface ethernet 3/1
switch(config-if)# vpc orphan-ports suspend
Configuring the vPC Peer Switch
You can configure the Cisco Nexus 7000 Series device to make a pair of vPC devices appear as a single
STP root in the Layer 2 topology. This section includes the following topics:
• Configuring a Pure vPC Peer Switch Topology, page 7-53
• Configuring a Hybrid vPC Peer Switch Topology, page 7-55
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.
BEFORE YOU BEGIN
Ensure that you have enabled the vPC feature.
Ensure that you are in the correct VDC (or use the switchto vdc command).
SUMMARY STEPS
1. configure terminal
2. vpc domain domain-id
3. peer-switch
4. spanning-tree vlan vlan-range priority value
5. exit
6. (Optional) show spanning-tree summary
7. (Optional) copy running-config startup-config
Step 5
exit
Example:
switch(config-if)# exit
switch(config)#
Exits the interface configuration mode.
Step 6
copy running-config startup-config
Example:
switch# copy running-config startup-config
(Optional) Copies the running configuration to the
startup configuration.
Command Purpose