3Com Switch 7750 Configuration Guide Guide
534 CHAPTER 50: VRRP CONFIGURATION
Network diagram
Figure 138 Network diagram for single-VRRP backup group configuration
Configuration procedure
■ Configure Switch A.
# Configure VLAN 2.
<LSW-A> system-view
[LSW-A] vlan 2
[LSW-A-vlan2] port Ethernet 1/0/6
[LSW-A-vlan2] quit
[LSW-A] interface Vlan-interface 2
[LSW-A-Vlan-interface2] ip address 202.38.160.1 255.255.255.0
[LSW-A-Vlan-interface2] quit
# Enable a backup group to respond to ping operations destined for its virtual
router IP address.
[LSW-A] vrrp ping-enable
# Create a backup group.
[LSW-A] interface Vlan-interface 2
[LSW-A-Vlan-interface2] vrrp vrid 1 virtual-ip 202.38.160.111
Tabl e 408 Network description
Switch
Ethernet port
connecting to
Host A
IP address of
the VLAN
interface
Switch priority
in the backup
group
Preemptive
mode
LSW-A Ethernet 1/0/6 202.38.160.1/24 110 Enabled
LSW-B Ethernet 1/0/5 202.38.160.2/24 100 (default) Enabled
Virtual IP address: 202.38.160.111
LSW-A
Hos t A
202.38.160.3
-
Vlan-interface2: 202.38.160.1
Internet
LSW-B
-
Vlan-interf ace2: 202.38.160.2
Hos t B
Virtual IP address: 202.38.160.111
Hos t A
202.38.160.3
-
Vlan-interface2: 202.38.160.1
Internet
-
Vlan-interf ace2: 202.38.160.2
Hos t B
Virtual IP address: 202.38.160.111
LSW-A
Hos t A
202.38.160.3
-
Vlan-interface2: 202.38.160.1
Internet
LSW-B
-
Vlan-interf ace2: 202.38.160.2
Hos t B
Virtual IP address: 202.38.160.111
Hos t A
202.38.160.3
-
Vlan-interface2: 202.38.160.1
Internet
-
Vlan-interf ace2: 202.38.160.2
Hos t B