Cisco Nexus 5000 Series Switch CLI Software Configuration Guide (OL-16597-01, July 2009)

This example shows how to configure the destination IP address for the vPC-peer-keepalive link:
switch# configure terminal
switch(config)# vpc domain 5
switch(config-vpc-domain)# peer-keepalive destination 10.10.10.42
Creating a vPC Peer Link
You can create a 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 procedures
Procedure
PurposeCommand or Action
Enters configuration mode.switch# configure terminal
Step 1
Selects the EtherChannel that you want to use as the
vPC peer link for this switch, and enters the interface
configuration mode.
switch(config)# interface
port-channel channel-number
Step 2
Configures the selected EtherChannel as the vPC peer
link, and enters the vpc-domain configuration mode.
switch(config-if)# vpc peer-link
Step 3
(Optional)
Displays information about each vPC, including
information about the vPC peer link.
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 a vPC peer link:
switch# configure terminal
switch(config)# interface port-channel 20
switch(config-if)# vpc peer-link
Checking the Configuration Compatibility
After you have configured the vPC peer link on both vPC peer switches, check that the configurations are
consistent on all vPC interfaces.
Default SettingParameter
Displays the status of those parameters that must be
consistent across all vPC interfaces.
switch# show vpc consistency-parameters {global
| interface port-channel channel-number}
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
138 OL-16597-01
Configuring vPCs
Creating a vPC Peer Link