3Com 3.01.01 Switch User Manual


 
296 CHAPTER 10: RELIABILITY
By default, adver-interval is 1.
Configuring a Switch to
Track an Interface
The VRRP track interface function expands the backup function by including other
switch interfaces of participating routers. Backup is provided not only to the
interface where the virtual router resides, but also to other switch interfaces of
participating routers. 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.
Perform the following configuration in VLAN interface view.
By default, value-reduced is set at 10.
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 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.
By default, the switch disables debugging.
Example: VRRP Single
Virtual Router
Host A uses the VRRP virtual router which combines switch A and switch B as its
default gateway to visit host B on the Internet.
Clear VRRP timer undo vrrp vrid virtual-router-ID timer
advertise
Table 7 Configure VRRP Timer
Operation Command
Table 8 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 ]
Table 9 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 }
Clear VRRP statistics reset vrrp statistics [ vlan-interface
interface-num [ virtual-router-ID ] ]
Disable VRRP debugging. undo debugging vrrp { state | packet }