Port Backup Configuration Command Directory

backup always

backup interface

backup delay

backup load

debug backup

show backup

 

backup always

 The backup interface configured for deciding whether to dial immediately when the main port protocol is down.

backup always

no backup always

parameter:

none

default:

This function is not started.

command mode:

Interface configuration status  

Explanation: 

This command is applicable only when back port is dial port. Under general condition, when the main port protocol is down, router will be noted that message can be sent from backup port. But it will not dial automatically and send message until the upper layer sends the data through this backup port. If the command is configured, the backup port will dial immediately and keeps a connective state all the time when the main port is down.

example:

The example below is configuring port backup delay on serial port s1/0

Router_config_s1/0#backup int a0/0

Router_config_s1/0#backup always

 

backup interface

Choosing backup interface and starting the function of backup. The command “no” is used for canceling the function of backup.

    backup interface slot/port

    no backup interface

parameter:

Slot/port

The type and port number of backup interface. The backup interface can be physical interface and logic interface of the dialer.

default:

   none

command mode:

Interface configuration mode

Explanation:

         The backup interface should be chosen by this command. When the main port works normally, the backup port is usually under backup state and is not under normal function. An interface can only choose another interface as its backup interface. Repeating the execution of the above commands, the port designated by the last command will be effective. The backup interface can only be used as a backup port of some interface and cannot be used as a backup port of multiple interfaces simultaneously. At the same time, the backup interface cannot be used as the main port for setting backup interface for the purpose of avoiding the setup of backup interface for each other or the formation of the circular chain of backup interface. When the command “shutdown” is executed on the main port of from the port automatically, the backup function of the port will be forbidden.

 

example:

The following example configures s1/1 port as standby port of s1/0

Router_config_s1/0#backup interface int s1/0

The command below is used for canceling the function.

    Router_config_s1/0#no backup interface

 

backup delay

  Configuring activation and deactivation time delay of backup interface. The command “no” is used for setting the parameter as default value.

backup delay {enable-delay | never } {disable-delay | never }

no backup delay

parameter: 

Enable-delay

When the main interface is down, the backup interface is activated after the enable-delay seconds.

Disable-delay

When the main port is up, the backup interface is deactivated after disable-delay seconds.

Never

Preventing activation or deactivation.

 

 

default:

The delay of activation and deactivation is 0 seconds.

command mode:

Interface configuration status  

Explanation:

The backup interface shall be configured before configuring delay, namely starting the backup function first. Inactivation and deactivation delay always never do. So the backup function bears no practical significance.

example:

The example below configures port backup delay on the serial port s1/0 

Router_config_s1/0#backup int s1/1

Router_config_s1/0#backup delay 5 5

 

backup load

   Configuring the balancing backup function of backup interface flow. The command “no” is used for setting the parameter as default value.

backup load {enable-threshold | never } {disable-threshold | never}

no backup load

parameter:

enable-threshold

The backup interface will be activated when the ratio of the speed of the data sent or received by the main port occupying the bandwidth of the interface exceeds the value of the enable-threshold.

disable-threshold

The backup interface will be deactivated when the proportion of the load occupying the bandwidth is less than the value of disable-threshold.

Never

Preventing activation or deactivation. 

 

default:

The parameter value is never, namely the balancing function of flow is not started.

command mode:

Interface configuration status  

Explanation:

The backup interface shall be configured first before configuring backup flow balance, namely the backup function shall be started first. The threshold value of setting activation backup interface shall not be smaller than that of deactivation backup interface.

example:

The example below configures flow balance on the serial port s1/0  

Router_config_s1/0#backup int s1/1

Router_config_s1/0#backup load 70 30

 

Debug backup

    The debug information switch of port backup is used for observing the time received in the interface of port backup function and transition information. The command “no” is used for closing Debug information.

    deubug backup

    no debug backup

parameter:

none

default:

none

command mode:

supervisor mode

Explanation:

 

example:

The example below opens debug information and shows the information related to port backup function.

outer#debug backup

Router#conf

Router_config#int s1/0

Router_config_s1/0#backup int d1

Router_config_s1/0#2001-11-28 11:13:30 BACKUP Serial1/0 secondary interface Seri

al0/1 unconfigured

2001-11-28 11:13:30 BACKUP Serial0/0 changed state to initializing

2001-11-28 11:13:30 BACKUP Serial0/0 second interface Dialer1 configured

2001-11-28 11:13:30 BACKUP Serial0/0 changed state to NORMAL

2001-11-28 11:13:30 BACKUP Serial0/0 second interface move to standby

 

show backup

    show backup

parameter:

none

default:

none

command mode:

 

Explanation:

Showing all the interfaces of the configured port backup function and relevant status information.

example:

Router_config_s1/1#show ba

Primary Interface    Secondary Interface  Status

Serial1/0            Dialer1              NORMAL

Serial1/1            Dialer2              BACKUPMODE