set trigger backup up set vrrpd –i eth1 –n –v 13 –p 130 13.13.1.1
By using the vrrpd command directly, it is not possible to specify triggers associated with the
change of status of the activated group. The actions set through the set trigger VRRP up and
set trigger VRRP down commands are only related to the VRRP group configured using the
command set vrrp.
The command show vrrp shows the status of all the active instances.
root@MR-IMOLA> show vrrp
VRRP ID 12 on eth0.30: we are now the master router.
VRRP ID 12, Priority: 90, Virtual IP(s): 192.168.30.112 Virtual MAC: 00:00:5e:00:01:0c
VRRP ID 12 Changed state 2 times. Last time change was 19 min, 24 sec ago
VRRP ID 11 on eth0.30: we are now the master router.
VRRP ID 11, Priority: 100, Virtual IP(s): 192.168.30.100 Virtual MAC: 00:00:5e:00:01:0b
VRRP ID 11 Changed state 2 times. Last time change was 19 min, 24 sec ago