Cisco Nexus 5000 Series Switch CLI Software Configuration Guide (OL-16597-01, July 2009)
PurposeCommand or Action
A vPC can be configured on a normal EtherChannel
(physical vPC topology), on an EtherChannel fabric
interface (fabric extender vPC topology), and on an
EtherChannel host interface (host interface vPC
topology)
Note
Configures the selected EtherChannel into the vPC to connect
to the downstream switch. The range is from 1 to 4096.
switch(config-if)# vpc number
Step 3
The vPC number that you assign to the EtherChannel
connecting to the downstream switch from the vPC peer switch
must be identical on both vPC peer switches.
(Optional)
Displays information about each vPC.
switch# show vpc brief
Step 4
(Optional)
Copies the running configuration to the startup configuration.
switch# copy running-config
startup-config
Step 5
This example shows how to configure an EtherChannel that will connect to the downstream device:
switch# configure terminal
switch(config)# interface port-channel 20
switch(config-if)# vpc 5
Manually Configuring a vPC Domain MAC Address
You create the vPC peer link by designating the EtherChannel that you want on each switch as the peer link
for the specified vPC domain. We recommend that you configure the EtherChannels that you are designating
as the vPC peer link in trunk mode and that you use two ports on separate modules on each vPC peer switch
for redundancy.
Before You Begin
Ensure that you have enabled the vPC feature.
You must configure both switches on either side of the vPC peer link with the following procedure.
Procedure
PurposeCommand or Action
Enters configuration mode.switch# configure terminal
Step 1
Selects an existing vPC domain on the switch, or creates
a new vPC domain, and enters the vpc-domain
switch(config)# vpc domain
domain-id
Step 2
configuration mode. There is no default domain-id ;
the range is from 1 to 1000.
Enters the MAC address that you want for the specified
vPC domain in the following format: aaaa.bbbb.cccc.
switch(config-vpc-domain)#
system-mac mac-address
Step 3
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
OL-16597-01 141
Configuring vPCs
Manually Configuring a vPC Domain MAC Address