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:

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.

  • If the track entry state stays in NotReady state after it is created, interface backup does not change the state of the backup interface.

  • If the track entry state changes to NotReady from Positive or Negative, the backup interface changes back to the forwarding state before it was used for interface backup.

For more information about configuring a track entry, see "Configuring Track."

When you associate a backup interface with a track entry, follow these guidelines:

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.