Users Guide

Layer 2 Switching Commands 656
Syntax
vpc peer-link
no vpc peer-link
Default Configuration
There are no peer links configured by default.
Command Modes
Port-channel configuration mode
User Guidelines
This configuration must the present on both the primary and secondary
switches. The peer keepalive protocol is required for MLAG operation.
Configure and enable a LAG between the two MLAG peers as an MLAG peer
link before executing this command.
Example
console(config)#interface port-channel 1
console(config-if-Po1)#description "MLAG-Peer-Link"
console(config-if-Po1)#spanning-tree disable
console(config-if-Po1)#switchport mode trunk
console(config-if-Po1)#switchport trunk allowed vlan 1-99,101-4093
console(config-if-Po1)#vpc peer-link
console(config-if-Po1)#exit