Wednesday, February 27, 2008

Simple backup, Primary and Secondary Link

I have simple scenario dan test about backup simple backup using ppp encapsulation link and primary link using frame-relay link. For simulation use 'no frame-relay interface-dlci 513' disable frame-relay DLCI as though there is problem from frame-relay cloud.

'backup delay 60 300' : 60s for hold time backup operation, 300s for revert time to normal operation

#Primary Link
interface Serial1/0.1 point-to-point
ip address 132.1.35.5 255.255.255.0
backup delay 60 300
backup interface Serial1/1
frame-relay interface-dlci 513
end


#Secondary Link
interface Serial1/1
ip address 132.1.45.5 255.255.255.0
encapsulation ppp
ppp authentication chap
ppp chap hostname ROUTER5

#(config-subif)#no frame inter 513

#(config-subif)#
*Mar 2 10:07:24.663: BACKUP(Serial1/0.1): event = primary interface went down
*Mar 2 10:07:24.663: BACKUP(Serial1/0.1): changed state to "waiting to backup"

#(config-subif)#
*Mar 2 10:08:24.663: BACKUP(Serial1/0.1): event = timer expired on primary
#(config-subif)#
*Mar 2 10:08:27.679: BACKUP(Serial1/0.1): secondary interface (Serial1/1) made active
*Mar 2 10:08:27.683: BACKUP(Serial1/0.1): changed state to "backup mode"
*Mar 2 10:08:27.683: %LINK-3-UPDOWN: Interface Serial1/1, changed state to up
#(config-subif)#
*Mar 2 10:08:27.683: BACKUP(Serial1/1): event = secondary interface came up
#(config-subif)#
*Mar 2 10:08:30.683: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1/1, changed state to up

#(config-subif)#frame inter 513
#(config-fr-dlci)#
*Mar 2 10:11:54.383: BACKUP(Serial1/0.1): event = primary interface came up
*Mar 2 10:11:54.387: BACKUP(Serial1/0.1): changed state to "waiting to revert"

#(config-fr-dlci)#do sh backup
Primary Interface Secondary Interface Status
----------------- ------------------- ------
Serial1/0.1 Serial1/1 waiting to revert (260 more seconds)

#(config-fr-dlci)#
*Mar 2 10:16:54.387: BACKUP(Serial1/0.1): event = timer expired on primary
*Mar 2 10:16:54.419: BACKUP(Serial1/0.1): secondary interface (Serial1/1) moved to standby
*Mar 2 10:16:54.423: BACKUP(Serial1/0.1): changed state to "normal operation"
#(config-fr-dlci)#
*Mar 2 10:16:56.391: %LINK-5-CHANGED: Interface Serial1/1, changed state to standby mode
*Mar 2 10:16:57.391: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1/1, changed state to down
*Mar 2 10:16:57.395: BACKUP(Serial1/1): event = secondary interface went down

#(config-fr-dlci)#do sh backup
Primary Interface Secondary Interface Status
----------------- ------------------- ------
Serial1/0.1 Serial1/1 normal operation

No comments: