Send document comments to nexus7k-docfeedback@cisco.com
7-42
Cisco Nexus 7000 Series NX-OS Interfaces Configuration Guide, Release 5.x
OL-23435-03
Chapter 7 Configuring vPCs
Configuring vPCs
5. (Optional) show vpc brief
6. (Optional) copy running-config startup-config
DETAILED STEPS
This example shows how to configure a port channel that will connect to the downstream device:
switch# configure terminal
switch(config)# interface port-channel 20
switch(config-if)# vpc 5
switch(config-if
Manually Configuring a vPC Domain MAC Address
When you create a vPC domain, the Cisco NX-OS software automatically creates a vPC system MAC
address, which is used for operations that are confined to the link-scope, such as LACP. However, you
may choose to configure the vPC domain MAC address manually.
Command Purpose
Step 1
configure terminal
Example:
switch# configure terminal
switch(config)#
Enters global configuration mode.
Step 2
interface port-channel channel-number
Example:
switch(config)# interface port-channel 20
switch(config-if)#
Selects the port channel that you want to put into the
vPC to connect to the downstream device, and enters
the interface configuration mode.
Step 3
vpc number
Example:
switch(config-if)# vpc 5
switch(config-vpc-domain)#
Configures the selected port channel into the vPC to
connect to the downstream device. You can use any
module in the device for these port channels. The
range is from 1 and 4096.
Note The vPC number that you assign to the port
channel connecting to the downstream
device from the vPC peer device must be
identical on both vPC peer devices.
Step 4
exit
Example:
switch(config-vpc-domain)# exit
switch(config)#
Exits the vpc-domain configuration mode.
Step 5
show vpc brief
Example:
switch# show vpc brief
(Optional) Displays information on the vPCs.
Step 6
copy running-config startup-config
Example:
switch# copy running-config startup-config
(Optional) Copies the running configuration to the
startup configuration.