H3C Technologies H3C WX3000 Series Unified Switches User Manual

Page 93

Advertising
background image

12-3

z

The static route is valid if the detected group is reachable.

z

The static route is invalid if the detected group is unreachable.

You need to create the detected group before performing the following operations.

Follow these steps to configure the auto detect function for a static route:

To do…

Use the command…

Remarks

Enter system view

system-view

Bind a detected group to a
static route

ip route-static

ip-address { mask | mask-length }

{ interface-type interface-number | next-hop }
[ preference preference-value ] [ reject | blackhole ]
detect-group

group-number

Required

Auto Detect Implementation in VLAN Interface Backup

Using Auto Detect can help realize VLAN interfaces backup. When data can be transmitted through two
VLAN interfaces on the device to the same destination, configure one of the VLAN interface as the
active interface and the other as the standby interface. The standby interface is enabled automatically
when the active fails, so as to ensure the data transmission. In this case, the Auto Detect function is
implemented as follows:

z

In normal situations (that is, when the detected group is reachable), the standby VLAN interface is
down and packets are transmitted through the active VLAN interface.

z

When the link between the active VLAN interface and the destination faults (that is, the detected
group is unreachable), the system enables the backup VLAN interface.

z

When the link between the active VLAN interface and the destination recovers (that is, the detected
group becomes reachable again), the system shuts down the standby VLAN interface again.

You need to create the detected group and perform configurations concerning VLAN interfaces before
the following operations.

Follow these steps to configure the auto detect function for VLAN interface backup:

To do…

Use the command…

Remarks

Enter system view

system-view

Enter VLAN interface view

interface Vlan-interface vlan

-id

Advertising