High Availability neighbor¶
High Availability neighbor enables synchronizing dynamic ARP/NDP entries between two HA nodes in master/backup mode.
If the HA state is switched between the two nodes, the new master node will be able to take over dataplane traffic and synchonize its dynamic ARP/NDP entries with the backup node.
Static ARP/NDP entries (i.e. in the neighbor
are not synchronized. They must be configured on both nodes.
The HA state of a node can be statically configured using CLI/netconf or dynamically using the VRRP service.
In this example, ARP/NDP entries learned by the ha1 (the master) will be sent to ha2 (the backup) through eth3.
HA neighbor parameters are configured in the
ha1 running config# vrf main ha-neighbor
ha1 running ha-neighbor#!
Configure the ha1:
ha1 running ha-neighbor#! node-id 1
ha1 running ha-neighbor#! interface eth3
ha1 running ha-neighbor#! local-address 10.150.0.1
ha1 running ha-neighbor#! listen-ha-group ha-group1
ha1 running ha-neighbor#
node-idis a unique identifier for this node in the HA cluster. It ranges from 1 to 15.
interfaceis the network interface on which synchronization packets are exchanged
local-addressis the IPv4 or IPv6 addresses of the other HA node.
listen-ha-groupis the high-availability group that controls the activity state of this HA node. See High-availability Groups for more information.
Display ha1 HA neighbor state:
ha1 running ha-neighbor# show state
On ha2, the
interface and the
local-address must be adjusted:
ha2 running config# vrf main ha-neighbor
ha2 running ha-neighbor#! node-id 2
ha2 running ha-neighbor#! interface eth3
ha2 running ha-neighbor#! local-address 10.150.0.2
ha2 running ha-neighbor#! listen-ha-group ha-group1
ha2 running ha-neighbor#
Display ha2 HA neighbor state:
ha2 running ha-neighbor# show state