Backup Interface

NOTE

  • メインはPtoPとなる(ステート検知が必要なので)
  • バックアップはサブインタフェース以外であれば何でもよい
  • delay(秒)でバックアップ側への切り替わり、バックアップからの切り戻しのディレイを設定できる
R1(config)#interface serial 0/0
R1(config-if)#
R1(config-if)#backup interface fastEthernet 1/0
R1(config-if)#
*Mar  1 00:03:36.887: %LINK-5-CHANGED: Interface FastEthernet1/0, changed state to standby mode
*Mar  1 00:03:37.887: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet1/0, changed state to down
R1(config-if)#
R1(config-if)#backup delay ?
  <0-4294967294>  Seconds
  never           Never activate the backup line

R1(config-if)#backup delay 3 ?
  <0-4294967294>  Seconds
  never           Never deactivate the backup line

R1(config-if)#backup delay 3 10 ?
  <cr>

R1(config-if)#
R1(config-if)#end
R1#
R1#show backup
Primary Interface   Secondary Interface   Status
-----------------   -------------------   ------
Serial0/0           FastEthernet1/0       normal operation
R1#

 

  • 対向ルータのシリアルIFを閉塞
R1#
*Mar  1 00:07:52.127: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0, changed state to down
R1#
R1#
*Mar  1 00:07:57.131: %LINK-3-UPDOWN: Interface FastEthernet1/0, changed state to up
*Mar  1 00:07:58.131: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet1/0, changed state to up
R1#show backup
Primary Interface   Secondary Interface   Status
-----------------   -------------------   ------
Serial0/0           FastEthernet1/0       backup mode
R1#

 

REFERENCE

コメント