Network requirements, Configuration procedure – H3C Technologies H3C WX3000 Series Unified Switches User Manual

Page 95

Advertising
background image

12-5

Configuration Example for Auto Detect Implementation in VLAN Interface Backup

Network requirements

z

As shown in

Figure 12-2

, make sure the routes between Switch A, Switch B, and Switch C, and

between Switch A, Switch D, and Switch C are reachable.

z

Create detected group 10 on Switch A to detect the connectivity between Switch B and Switch C.

z

Configure VLAN-interface 1 to be the active interface, which is enabled when the detected group
10 is reachable.

z

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

Figure 12-2

Network diagram for VLAN interface backup

Configuration procedure

Configure the IP addresses of all the interfaces as shown in

Figure 12-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

Advertising