3com 8807 User Guide

Page of 883
664
C
HAPTER
 53: VRRP C
ONFIGURATION
[LSW-A] vlan 2
 
[LSW-A-vlan2] interface vlan 2
 
[LSW-A-vlan-interface2] ip address 202.38.160.1 255.255.255.0 
# Create virtual router 1.
[LSW_A-vlan-interface2] vrrp vrid 1 virtual-ip 202.38.160.111 
# Set the priority for the virtual router.
[LSW_A-vlan-interface2] vrrp vrid 1 priority 150 
# Create virtual router 2.
[LSW_A-vlan-interface2] vrrp vrid 2 virtual-ip 202.38.160.112 
Configure switch B
# Configure VLAN2.
[LSW-B] vlan 2
 
[LSW-B-vlan2] interface vlan 2
 
[LSW-B-vlan-interface2] ip address 202.38.160.2 255.255.255.0 
# Create virtual router 1.
[LSW_B-vlan-interface2] vrrp vrid 1 virtual-ip 202.38.160.111 
# Create virtual router 2.
[LSW_B-vlan-interface2] vrrp vrid 2 virtual-ip 202.38.160.112 
# Set the priority for the virtual router.
[LSW_B-vlan-interface2] vrrp vrid 2 priority 110 
Multiple virtual routers are often used in actual network applications.
Troubleshooting VRRP
As the configuration of VRRP is not very complicated, almost all the malfunctions 
can be found through viewing the configuration and debugging information. Here 
are some possible failures you might meet and the corresponding troubleshooting 
methods.
Fault 1: Frequent prompts of configuration errors on the console
This indicates that an incorrect VRRP packet has been received. It may be because 
of the inconsistent configuration of another switch within the virtual router, or the 
attempt of some devices to send out illegal VRRP packets. The first possible fault 
can be solved through modifying the configuration. And as the second possibility 
is caused by the malicious attempt of some devices, non-technical measures 
should be resorted to.