Displaying and Debugging VRRP 657
Configure Standby
Group Timer
The master router of a VRRP standby group notifies its normal operation state to
the routers within the group by sending them VRRP packets regularly
(adver_interval).
If the backup routers fail to receive the VRRP packets over a
certain period of time (master_down_interval), they reach the conclusion that the
master routers are not functioning properly and will change their own state to
master.
The user can adjust the master routers' sending interval (adver_interval) of VRRP
packets by configuring the timer command. The master_down_interval of the
backup routers are three times that of the adver_interval. Too much network
traffic or the differences of different router timers will result in abnormal
master_down_interval and state switchover. Such problems can be solved through
prolonging the adver_interval and configuring delay time.
Perform the following configuration in interface view:
Table 708 Configure VRRP Timer
By default adver_interval is set 1 seconds, namely, the default value of
adver_interval is 1 second, while the default value of master_down_interval is 3
seconds.
Monitoring the
Specified Interface
The interface monitoring function of VRRP expands backup function: when the
interface of the router is unavailable, it is regarded that the router is not stable,
hence it should not act as a master router. After the interface monitoring function
is set, the router's priority will be adjusted dynamically according to the state of
the interface that is under monitoring. Once the monitored interface becomes
unavailable, the priority value of this router is reduced, so that another router with
a more stable interface state in the same backup group can act as a master router
more easily
Perform the following configuration in Ethernet interface view:
Table 709 Configure Monitoring Interface
By default interface-priority is 10.
Displaying and
Debugging VRRP
Perform the display and debugging commands in all views.
Operation Command
Configure VRRP timer vrrp vrid virtual_router_id
timer-advertise seconds
Restore the default value of VRRP timer undo vrrp vrid virtual_router_id
timer-advertise
Operation Command
Set to monitor the specified interface vrrp vrid virtual_router_id track
interface_type interface_number [
reduced priority ]
Cancel the monitoring of the specified
interface
undo vrrp vrid virtual_router_id
track interface_type
interface_number