Command Reference VRRP Commands
Interface configuration mode
Once the timer learning function is enabled, if the current device is a VRRP backup device, it will learn
the VRRP advertisement interval from the VRRP advertisement of the master device, with which it
calculates the master device’s failure interval instead of the VRRP advertisement interval configured
locally. This command may synchronize the VRRP advertisement timer with the master device.
The following example enables the timer learning function on the IPv4 VRRP group 1.
Ruijie#configure terminal
Ruijie(config)#interface GigabitEthernet 0/0
Ruijie(config-if-GigabitEthernet 0/0)#no switchport //used on the switch.
Ruijie(config-if-GigabitEthernet 0/0)#ip address 10.0.1.1 255.255.255.0
Ruijie(config-if-GigabitEthernet 0/0)#vrrp 1 ip 10.0.1.20
Ruijie(config-if-GigabitEthernet 0/0)#vrrp 1 timers learn
The following example to enables the timer learning function on the IPv6 VRRP group 1.
vrrp ipv6 1 timers learn
Ruijie#configure terminal
Ruijie(config)#interface GigabitEthernet 0/0
Ruijie(config-if-GigabitEthernet 0/0)#no switchport //used on the switch.
Ruijie(config-if-GigabitEthernet 0/0)#ipv6 enable
Ruijie(config-if-GigabitEthernet 0/0)#ipv6 address 2001::2/64
Ruijie(config-if-GigabitEthernet 0/0)#vrrp 1 ipv6 FE80::1
Ruijie(config-if-GigabitEthernet 0/0)#vrrp 1 ipv6 2001::1
Ruijie(config-if-GigabitEthernet 0/0)#vrrp ipv6 1 timers learn
vrrp group ip ipaddress [secondary]
Enables the VRRP function and set the IP
address for the virtual device.
vrrp group ipv6 ipaddress
Enables the VRRP function and set the IPv6
address for the virtual device.
vrrp group timers advertise interval
Sets the IPv4 VRRP advertising interval.
vrrp ipv6 group timers advertise interval
Sets the IPv6 VRRP advertising interval.
Use these commands to enable the IPv4/IPv6 VRRP track in the interface configuration mode. Use
the no form of these commands to restore the default setting.
vrrp group track { interface-type interface-number } [ priority ]
vrrp ipv6 group track interface-type interface-number [ priority ]