beautypg.com

Configuring load balancing, Associating an interface with a track entry – H3C Technologies H3C MSR 50 User Manual

Page 23

background image

15

Step Command

Remarks

15.

Specify a standby
interface for the active

interface.

standby interface
interface-type
interface-number
[ priority ]

By default, no standby interface is specified
for the active interface.

16.

Set switchover delays.

standby timer delay

enable-delay disable-delay

Optional.
Both thresholds are 0 by default, indicating
immediate switchover without delay.

Associating an interface with a track entry

You can associate a standby interface with a track entry to enable the interface to monitor the state of the
active interface through the track entry and change the backup state of the interface accordingly.

If the state of the track entry is positive, the link connecting the active interface is normal and the
standby interface stays in the backup state.

If the state of the track entry is negative, the link connecting the active interface is not functioning
correctly. The standby interface becomes the active interface to transmit data.

When you associate an interface with a track entry, if the track entry is invalid, the interface keeps
its forwarding state. After your configuration, if the state of the track entry changes to invalid, the

standby interface will become the active interface.

Follow these guidelines when you associate an interface with a track entry:

One interface can be associated with one track entry only. If you repeatedly execute the standby
track command, the latter configuration overwrites the previous one.

The track entry associated with an interface can be one you have not created yet. After you create
a track entry with the track command, the association takes effect.

For more information about the Track module, see "Configuring Track."

To associate an interface with a track entry:

Step Command

Remarks

17.

Enter system view.

system-view N/A

18.

Enter interface view.

interface interface-type
interface-number

N/A

19.

Associate an interface with a

track entry.

standby track track-entry-number

By default, an interface is not
associated with a track entry.

Configuring load balancing

Interface backup detects the data traffic on the active interface to determine whether to bring up or shut
down the standby interface.
When multiple standby interfaces are assigned the same priority, they are brought up or shut down

depending on the order they are configured:

The standby interface configured first is used first to participate in load balancing with the active
interface.

This manual is related to the following products: