To configure VLAN tracking,
use the following command:
configure
esrp esrp1 add track-vlan vlan1
Using the tracking mechanism, if
VLAN1 fails, the ESRP master realizes that there is no path to the upstream router via the
master switch and implements an ESRP failover to the slave switch.
To configure route table tracking, use the following
command:
The IPv4 route specified in this command must
exist in the IP routing table. When the route is no longer available, the switch
implements an ESRP failover to the slave switch.
To configure ping tracking, use the following
command:
configure esrp esrp1 add track-ping
10.10.10.121 frequency 2 miss 2
The specified IPv4 address is
tracked. If the fail rate is exceeded, the switch implements an ESRP failover to the slave
switch.