3Com Switch 8800 Configuration Guide Chapter 41 VRRP Configuration
41-11
[LSW-B-vlan-interface2] ip address 202.38.160.2 255.255.255.0
[LSW-B-vlan-interface2] quit
Configure VRRP.
[LSW-B] vrrp ping-enable
[LSW-B] interface vlan 2
[LSW-B-vlan-interface2] vrrp vrid 1 virtual-ip 202.38.160.111
[LSW-B-vlan-interface2] vrrp vrid 1 preempt-mode
The virtual router can be used soon after configuration. Host A can configure the default
gateway as 202.38.160.111.
Under normal conditions, switch A functions as the gateway, but when switch A is
turned off or malfunctioning, switch B will function as the gateway instead.
Configure preemption mode for switch A, so that it can resume its gateway function as
the Master after recovery.
41.4.2 VRRP Tracking Interface Example
I. Networking requirements
Even when switch A is still functioning, it may want switch B to function as gateway
when the Internet interface connected with it does not function properly. This can be
implemented by configuration of tracking interface.
In simple language, the virtual router ID is set as 1 with additional configurations of
authorization key and timer.
II. Networking diagram
See Figure 41-3.
III. Configuration Procedure
Configure switch A
Configure VLAN2.
[LSW-A] vlan 2
[LSW-A-vlan2] interface vlan 2
[LSW-A-vlan-interface2] ip address 202.38.160.1 255.255.255.0
[LSW-A-vlan-interface2] quit
Enable the function to ping the virtual IP address of virtual router.
[SW8800LSW-A ] vrrp ping-enable
Create a virtual router.
[LSW-A] interface vlan 2