<SwitchC> system-view

# Configure a static route to Switch A.

[SwitchC] ip route-static 192.168.1.1 24 10.1.1.3

Configuration Example for Auto Detect Implementation in VLAN Interface Backup

Network requirements

z

z z

z

As shown in Figure 1-2, make sure the routes between Switch A, Switch B, and Switch C, and between Switch A, Switch D, and Switch C are reachable.

Create detected group 10 on Switch A to detect the connectivity between Switch B and Switch C. Configure VLAN-interface 1 to be the active interface, which is enabled when the detected group

10is reachable.

Configure VLAN-interface 2 to be the standby interface, which is enabled when the detected group 10 is unreachable.

Figure 1-2Network diagram for VLAN interface backup

Vlan-int1

Vlan-int2

192.168.1.2/24

10.1.1.3/24

 

Switch B

Vlan-int1

Vlan-int2

192.168.1.1/24

10.1.1.4/24

Switch A

Switch C

Vlan-int2

Vlan-int1

192.168.2.1/24

20.1.1.4/24

 

Switch D

Vlan-int2

Vlan-int1

192.168.2.2/24

20.1.1.3/24

Configuration procedure

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

# Enter system view.

<SwitchA> system-view

# Create auto detected group 10.

[SwitchA] detect-group 10

#Add the IP address of 10.1.1.4 to detected group 10 to detect the reachability of the IP address, with the IP address of 192.168.1.2 as the next hop, and the detecting number set to 1.

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

[SwitchA-detect-group-10] quit

# Specify to enable VLAN-interface 2 when the result of detected group 10 is unreachable.

[SwitchA] interface vlan-interface 2

[SwitchA-Vlan-interface2] standby detect-group 10

1-5

Page 84
Image 84
3Com WX3000 operation manual # Configure a static route to Switch a, Is reachable, # Create auto detected group