Layer 2 Switching Commands 585Exampleconsole(config)#vpc domain 1console(config-vpc 1)#peer-keepalive enableconsole(config-vpc 1)#peer-keepalive destination 192.168.0.2 source192.168.0.1console(config-vpc 1)#peer detection enableconsole(config-vpc 1)#exitpeer-keepalive enableUse the peer-keepalive enable command to enable the peer keepaliveprotocol on the peer link. When enabled, if an MLAG switch does not receivekeepalive messages from the peer within the timeout value and DCPDP isdisabled, the switch begins the process of transitioning to the primary role (ifstandby).Use the no form of the command to disable the peer keepalive protocol.Syntaxpeer-keepalive enableno peer-keepalive enableDefault ConfigurationThe peer keepalive protocol is disabled by default.Command ModesMLAG Domain Configuration modeUser GuidelinesMLAG will not become operational until the peer keepalive protocol detectsa peer and syncs the peer information. Peer keepalive timeout statetransitions are suppressed if the Dual Control Plan Detection (DCPDP) isenabled 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 andthe timeout timer expires.