Configuring Virtual Port Channels
Before you begin
Ensure that you have enabled the vPC feature.
You must configure the vPC peer-keepalive link before the system can form the vPC peer link.
You must configure both switches on either side of the vPC peer link.
SUMMARY STEPS
1. switch# configure terminal
2. switch(config)# vpc domain domain-id
3. switch(config-vpc-domain)# 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}]
4. (Optional) switch(config-vpc-domain)# vpc peer-keepalive destination ipaddress source ipaddress
5. (Optional) switch# show vpc peer-keepalive
6. (Optional) switch# copy running-config startup-config
DETAILED STEPS
Command or Action
Step 1
switch# configure terminal
Step 2
switch(config)# vpc domain domain-id
Step 3
switch(config-vpc-domain)# 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}]
Step 4
(Optional) switch(config-vpc-domain)# vpc peer-keepalive
destination ipaddress source ipaddress
Step 5
(Optional) switch# show vpc peer-keepalive
Step 6
(Optional) switch# copy running-config startup-config
Example
This example shows how to configure the destination IP address for the vPC-peer-keepalive link:
switch# configure terminal
Purpose
Enters global configuration mode.
Creates a vPC domain on the switch if it does not already
exist, and enters the vpc-domain configuration mode.
Configures the IPv4 address for the remote end of the vPC
peer-keepalive link.
Note
The management ports and VRF are the defaults.
Configures a separate VRF instance and puts a Layer 3 port
from each vPC peer device into that VRF for the vPC
peer-keepalive link.
Displays information about the configuration for the
keepalive messages.
Copies the running configuration to the startup
configuration.
Cisco Nexus 3548 Switch NX-OS Interfaces Configuration Guide, Release 9x
Configuring a vPC Keepalive Link and Messages
The system does not form the vPC peer link until
you configure a vPC peer-keepalive link.
77