Step
3.
Specify a standby
interface for the active
interface.
4.
Set switchover delays.
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
1.
Enter system view.
2.
Enter interface view.
3.
Associate an interface 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.
Command
standby interface
interface-type
interface-number [ priority ]
standby timer delay
enable-delay disable-delay
Command
system-view
interface interface-type
interface-number
standby track track-entry-number
15
Remarks
By default, no standby interface is specified
for the active interface.
Optional.
Both thresholds are 0 by default, indicating
immediate switchover without delay.
Remarks
N/A
N/A
By default, an interface is not
associated with a track entry.