The peer-keepalive feature helps in distinguishing interface failure and cluster peer node failure, and takes action accordingly. An out-of-band keep-alive session is recommended between the nodes. This helps to distinguish peer-interface failures from peer node reboot. Different actions can then be taken for these peer-interface failures.
The peer-keepalive role determines the node‘s behavior when the ICL goes down, but the MCT peer remains up.
When a keep-alive session goes down but the CCP session remains up, the cluster continues to operate in regular mode. No traffic flow change is observed. This mode is not recommended because there is no peer-link protection. If the CCP session were also to go down, the behavior would be same as a peer reload; both nodes would keep the clients up and become the DF for all VLANs/BDs.
device(config)# cluster leaf1_2 device(config-cluster-leaf1_2)# peer-keepalive device(config-peer-keepalive)# role primary device(config-peer-keepalive)#
Use the peer-keepalive destination ip command to overwrite the default keepalive session with the configured session between the specified source and the destination IP address
device(config)# cluster leaf1_2 device(config-cluster-leaf1_2)# peer-keepalive destination 10.20.161.158 device(config-cluster-leaf1_2)#
Use the shutdown {all | clients} command to move all the traffic on the node to the remote MCT node by disabling the local client interfaces administratively. Use of the all parameter will shutdown the MCT peer and clients.
device(config)# cluster leaf1_2 device(config-cluster-leaf1_2)# shutdown clients device(config-cluster-leaf1_2)#