Auto Detect Implementation in VRRP 69

# Detect the reachability of 10.1.1.3, with the next hop being 192.168.1.1/24, and the detecting number being 1.

[SwitchC-detect-group-9] detect-list 1 ip address 192.168.1.1 nextho p 10.1.1.3

[SwitchC-detect-group-9] quit

# Configure a static route to Switch A.

[SwitchC] ip route-static 192.168.1.1 24 10.1.1.3

# Configure the master route, which is valid when the detected group is reachable.

[SwitchC] ip route-static 192.168.2.1 24 10.1.1.3 detect-group 9

# Configure the backup static route, and set its preference to 80. The backup route is valid when the detected group is unreachable.

[SwitchC] ip route-static 192.168.2.1 24 10.1.2.2 preference 80

n

This configuration procedure only provides the auto-detect related configuration.

To ensure the normal communication between Host A and Host C, corresponding

 

static routes must already exist on Switch B and Switch D.

Complete Configuration

Configure Switch A

 

#

 

 

detect-group 8

 

 

detect-list 1 ip address 10.1.1.4 nexthop 192.168.1.2

 

#

 

 

 

ip route-static 10.1.1.0 255.255.255.0 192.168.1.2 preference 60

 

 

ip route-static 10.1.3.0 255.255.255.0 192.168.1.2 preference 60 de

 

tect-group 8

 

 

ip route-static 10.1.3.0 255.255.255.0 192.168.3.2 preference 80

 

#

 

 

Configure Switch C

 

#

 

 

detect-group 9

 

 

detect-list 1 ip address 192.168.1.1 nexthop 10.1.1.3

 

#

 

 

 

ip route-static 192.168.1.0 255.255.255.0 10.1.1.3 preference 60

 

 

ip route-static 192.168.2.0 255.255.255.0 10.1.1.3 preference 60 de

 

tect-group 9

 

 

ip route-static 192.168.2.0 255.255.255.0 10.1.2.2 preference 80

 

#

 

Precautions

None

 

 

Auto Detect

You can use the auto detect function on the master switch of a VRRP group to

Implementation in

detect the routes from the master switch to other networks, and use the detection

VRRP

results (reachable/unreachable) to control the priority of the master switch, so as

 

to realize the automatic master-backup switchover:

Page 69
Image 69
3Com 5500G, 4210, 4200G manual Auto Detect, Implementation