Send document comments to nexus7k-docfeedback@cisco.com
7-36
Cisco Nexus 7000 Series NX-OS Interfaces Configuration Guide, Release 5.x
OL-23435-03
Chapter 7 Configuring vPCs
Configuring vPCs
For more information on configuring VRFs, see the Cisco Nexus 7000 Series NX-OS Unicast Routing
Configuration Guide, Release 5.x.
This example shows how to configure the destination and source IP address and VRF for the
vPC-peer-keepalive link:
switch# configure terminal
switch(config)# feature vpc
switch(config)# vpc domain 100
switch(config-vpc-domain)# peer-keepalive destination 172.168.1.2 source 172.168.1.1 vrf
vpc-keepalive
Creating the vPC Peer Link
You create the vPC peer link by designating the port channel that you want on each device as the peer
link for the specified vPC domain. We recommend that you configure the Layer 2 port channels 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 device for redundancy.
BEFORE YOU BEGIN
Ensure that you have enabled the vPC feature.
Ensure that you are using a Layer 2 port channel.
Step 3
peer-keepalive destination ipaddress
[hold-timeout secs | interval msecs
{timeout secs} | {precedence {prec-value |
network | internet | critical |
flash-override | flash | immediate
priority | routine}} | tos {tos-value |
max-reliability | max-throughput |
min-delay | min-monetary-cost | normal}}
|tos-byte tos-byte-value} | source
ipaddress | vrf {name | management
vpc-keepalive}]
Example:
switch(config-vpc-domain)# peer-keepalive
destination 172.28.230.85
switch(config-vpc-domain)#
Configures the IPv4 address for the remote end of
the vPC peer-keepalive link.
Note The system does not form the vPC peer link
until you configure a vPC peer-keepalive
link,
The management ports and VRF are the defaults
Note We recommend that you configure a
separate VRF and use a Layer 3 port from
each vPC peer device in that VRF for the
vPC peer-keepalive link. For more
information on creating and configuring
VRFs, see the Cisco Nexus 7000 Series
NX-OS Unicast Routing Configuration
Guide, Release 5.x.
Step 4
exit
Example:
switch(config-vpc-domain)# exit
switch(config)#
Exits the vpc-domain configuration mode.
Step 5
show vpc statistics
Example:
switch# show vpc statistics
(Optional) Displays information about the
configuration for the keepalive messages.
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