3com 5500-ei pwr Installation Instruction

Page of 1072
 
1-14 
[LSW-B-vlan2] quit 
[LSW-B] interface Vlan-interface 2 
[LSW-B-Vlan-interface2] ip address 202.38.160.2 255.255.255.0 
[LSW-B-Vlan-interface2] quit 
# Configure that the virtual router can be pinged through. 
[LSW-B] vrrp ping-enable 
# Create a VRRP group. 
[LSW-B] interface Vlan-interface 2 
[LSW-B-Vlan-interface2] vrrp vrid 1 virtual-ip 202.38.160.111 
# Configure the authentication key for the VRRP group. 
[LSW-B-Vlan-interface2] vrrp vrid 1 authentication-mode md5 abc123 
# Configure the master to send VRRP packets every 5 seconds. 
[LSW-B-Vlan-interface2] vrrp vrid 1 timer advertise 5 
Normally, Switch A functions as the gateway, but when VLAN-interface 3 on Switch A goes down, its 
priority will be reduced by 30, lower than that of Switch B so that Switch B will preempt the master for 
gateway services instead. 
When VLAN-interface 3 recovers, switch A will resume its gateway function as the master. 
Multiple-VRRP Group Configuration 
Network requirements 
A switch can function as a backup of multiple VRRP groups. 
Multiple-VRRP group configuration can implement load balancing. For example, Switch A acts as the 
master of VRRP group 1 and a backup in VRRP group 2. Similarly, Switch B acts as the master of VRRP 
group 2 and a backup in VRRP group 1. Some hosts in the network take virtual router 1 as the gateway, 
while others take virtual router 2 as the gateway. In this way, both load balancing and mutual backup are 
implemented.