3Com 5500 Switch User Manual


 
Auto Detect Implementation in VRRP 71
# Configure an IP address for VLAN-interface 2.
[SwitchA] interface vlan-interface 2
[SwitchA-Vlan-interface2] ip address 10.1.1.1 24
# Enable VRRP on VLAN-interface 2, and set the virtual IP address of the VRRP
group to 10.1.1.10.
[SwitchA-Vlan-interface2] vrrp vrid 1 virtual-ip 10.1.1.10
# Set the VRRP priority of Switch A to 110, and specify to decrease the priority by
20 when the result of detected group 9 is unreachable.
[SwitchA-Vlan-interface2] vrrp vrid 1 priority 110
[SwitchA-Vlan-interface2] vrrp vrid 1 track detect-group 9 reduced 20
Configure Switch B
# Configure an IP address for VLAN-interface 2.
<SwitchB> system-view
[SwitchB] interface vlan-interface 2
[SwitchB-Vlan-interface2] ip address 10.1.1.2 24
# Enable VRRP on VLAN-interface 2, and set the virtual IP address of the VRRP
group to 10.1.1.10.
[SwitchB-Vlan-interface2] vrrp vrid 1 virtual-ip 10.1.1.10
# Set the VRRP priority of Switch B to 100.
[SwitchB-Vlan-interface2] vrrp vrid 1 priority 100
n
This configuration procedure only provides the auto-detect and VRRP related
configuration. To use auto detect function properly, a route to Switch A must
already exist on Switch E.
Complete Configuration
Configure Switch A
#
detect-group 9
detect-list 1 ip address 10.1.4.2 nexthop 10.1.2.2
#
interface Vlan-interface2
ip address 10.1.1.1 255.255.255.0
vrrp vrid 1 virtual-ip 10.1.1.10
vrrp vrid 1 priority 110
vrrp vrid 1 track detect-group 9 reduced 20
Configure Switch B
#
interface Vlan-interface2
ip address 10.1.1.2 255.255.255.0
vrrp vrid 1 virtual-ip 10.1.1.10
#
Precautions None