Switch 7700 Configuration Guide
Configuring VRRP 205
backup switch’s master-down-interval is three times the duration of the
adver-interval. Excessive network traffic or the differences between different
switch timers results in master-down-interval timing out and state changing
abnormally. Such problems can be solved through prolonging the adver-interval
and setting delay time. The duration of adver-interval is measured in seconds.
Perform the following configuration in VLAN interface view.
By default, adver-interval is configured to be 3.
Configuring a Switch to
Track an Interface
VRRP interface track function expands the backup function. Backup is provided
not only to the interface where the virtual router resides, but also to other
malfunctioning switch interfaces. By implementing the following command you
can track interfaces. If the interface that is being tracked fails, the priority of the
switch, including the interface, decreases automatically by the value specified by
value-reduced. The reduced priority of the switch results in comparatively higher
priorities of other switches within the virtual router, one of which becomes the
master switch, to track this interface.
Perform the following configuration in VLAN interface view.
By default, value-reduced is set at 10.
Note: When the switch is an IP address owner, its interfaces cannot be tracked.
Displaying and
Debugging VRRP
After you configure a virtual router, execute the display command in all views to
display the running of the VRRP configuration, and to verify the effect of the VRRP
configuration.
You can enable VRRP debugging to display how it runs. You can set the argument
option to packet or state to debug the VRRP packet or VRRP state, respectively.
By default, the switch disables debugging.
Tabl e 5 Configure VRRP Timer
Operation Command
Configure VRRP timer vrrp vrid virtual-router-ID timer advertise adver-interval
Clear VRRP timer undo vrrp vrid virtual-router-ID timer advertise
Tabl e 6 Configure Switch to Track a Specified Interface
Operation Command
Configure to track a specified
interface
vrrp vrid virtual-router-ID track vlan-interface
interface-num [ reduced value-reduced ]
Stop tracking the specified
interface
undo vrrp vrid virtual-router-ID track [ vlan-interface
interface-num ]
Tabl e 7 Display and Debug VRRP
Operation Command
Display VRRP state information. display vrrp [ interface vlan-interface interface-num ]
[ virtual-router-ID ]
Enable VRRP debugging. debugging vrrp { state | packet }
Disable VRRP debugging. undo debugging vrrp { state | packet }