To do…

 

Use the command…

Remarks

 

Enter system view

 

system-view

 

 

 

 

 

 

Enter VLAN interface view

 

interface Vlan-interface

 

 

vlan-id

 

 

 

 

 

 

 

 

 

 

Enable the auto detect function

 

 

Required

 

 

standby detect-group

This operation is only needed

 

to implement VLAN interface

 

 

group-number

on the secondary VLAN

 

backup

 

 

 

interface.

 

 

 

 

 

 

 

 

 

Auto Detect Configuration Examples

Configuration Example for Auto Detect Implementation in Static Routing

Network requirements

z

z z z

As shown in Figure 1-1, create detected group 8 on Switch A; detect the reachability of the IP address 10.1.1.4, with 192.168.1.2 as the next hop, and the detecting number set to 1.

On switch A, configure a static route to Switch C.

Enable the static route when the detected group 8 is reachable.

To ensure normal operating of the auto detect function, configure a static route to Switch A on Switch C.

Figure 1-1Network diagram for implementing the auto detect function in static route

Configuration procedure

Configure the IP addresses of all the interfaces as shown in Figure 1-1. The configuration procedure is omitted.

zConfigure Switch A.

# Enter system view.

<SwitchA> system-view

# Create detected group 8.

[SwitchA] detect-group 8

#Detect the reachability of 10.1.1.4/24, with 192.168.1.2/24 as the next hop, and the detecting number set to 1.

[SwitchA-detect-group-8] detect-list 1 ip address 10.1.1.4 nexthop 192.168.1.2

[SwitchA-detect-group-8] quit

#Enable the static route when the detected group is reachable. The static route is invalid when the detected group is unreachable.

[SwitchA] ip route-static 10.1.1.4 24 192.168.1.2 detect-group 8

zConfigure Switch C.

# Enter system view.

1-4

Page 83
Image 83
3Com WX3000 operation manual Auto Detect Configuration Examples, Vlan -id, Standby detect-group