Administrator Guide

Layer 2 Switching Commands 609
Example
console(config)#vpc domain 1
console(config-vpc 1)#peer-keepalive enable
console(config-vpc 1)#peer-keepalive destination 192.168.0.2 source
192.168.0.1
console(config-vpc 1)#peer detection enable
console(config-vpc 1)#exit
peer-keepalive enable
Use the peer-keepalive enable command to enable the peer keepalive
protocol on the peer link. When enabled, if an MLAG switch does not receive
keepalive messages from the peer within the timeout value and DCPDP is
disabled, the switch begins the process of transitioning to the primary role (if
standby).
Use the no form of the command to disable the peer keepalive protocol.
Syntax
peer-keepalive enable
no peer-keepalive enable
Default Configuration
The peer keepalive protocol is disabled by default.
Command Modes
MLAG Domain Configuration mode
User Guidelines
MLAG will not become operational until the peer keepalive protocol detects
a peer and syncs the peer information. Peer keepalive timeout state
transitions are suppressed if the Dual Control Plan Detection (DCPDP) is
enabled and detects that the peer is still alive.
Two failure situations cause state transitions:
The peer device fails: A peer does not receive any more advertisements and
the timeout timer expires.
2CSNXXX_SWUM204.book Page 609 Monday, January 25, 2016 1:25 PM