Using interface backup with the Track module
To use interface backup with the Track module to provide strict active/standby backup for a primary interface:
Configure a track entry to monitor state information of the primary interface. For example, monitor its link state.
Associate the track entry with a backup interface.
Interface backup changes the state of the backup interface in response to the track entry state, as shown in Table 2.
Table 2: Action on the backup interface in response to the track entry state change
Track entry state | State of the monitored primary link | Action on the backup interface |
---|---|---|
Positive | The primary link is operating correctly. | Places the backup interface in STANDBY state. |
Negative | The primary link has failed. | Activates the backup interface to take over. |
NotReady | The primary link is not monitored. This situation occurs when the track module or the monitoring module is not ready, for example, because the Track module is restarting or the monitoring settings are incomplete. In this situation, interface backup cannot obtain information about the primary link from the track module. |
|
For more information about configuring a track entry, see "Configuring Track."
When you associate a backup interface with a track entry, follow these guidelines:
You can associate an interface with only one track entry.
You can create the associated track entry before or after the association. The association takes effect after the track entry is created.
To maintain performance, limit the number of associations to 64.
To associate Track with an interface:
Step | Command | Remarks |
---|---|---|
1. Enter system view. | system-view | N/A |
2. Enter interface view. | interface interface-type interface-number | This interface must be the interface you are using as a backup. |
3. Associate the interface with a track entry. | backup track track-entry-number | By default, an interface is not associated with a track entry. |