Associating Track with interface backup
Interface backup allows interfaces on a device to back up each other, with the active interface transmitting data and the standby interfaces staying in backup state. When the active interface or the link where the active interface resides fails, a standby interface takes over to transmit data. This feature enhances the availability of the network. For more information, see "Configuring interface backup."
To enable a standby interface to detect the status of the active interface, you can associate the standby interface with a track entry.
If the track entry is in positive state, the following conditions exist:
The link where the active interface resides operates correctly.
The standby interfaces stay in backup state.
If the track entry is in negative state, the following conditions exist:
The link where the active interface resides has failed.
A standby interface changes to the active interface for data transmission.
If the track entry is in always NotReady state, the following conditions exist:
The association does not take effect.
Each interface keeps its original forwarding state.
When the track entry turns to NotReady from other state, a standby interface becomes the active interface.
To associate Track with interface backup:
Step | Command | Remarks |
---|---|---|
1. Enter system view. | system-view | N/A |
2. Enter interface view. | interface interface-type interface-number | N/A |
3. Associate the interface with a track entry. | backup track track-entry-number | By default, no track entry is associated with an interface. You can associate an interface with only one track entry. If you execute this command multiple times, the most recent configuration takes effect. |