R6#conf ter
Enter configuration commands, one per line. End with CNTL/Z.
R6(config)#int s0/0/1
R6(config-if)#ip add 122.1.56.6 255.255.255.0
R6(config-if)#no sh
R6(config-if)#exit
R6(config)#int s0/0/0
R6(config-if)#backup interface s0/0/1
R6(config-if)#^Z
To test the backup interface command use one of the follwing actions:
1. – Disconnect cable.
2. – In HDLC or PPP Encapsulation types, you must shutdown the side of the link that does not have the backup interface command configured. you can also change the encapsulation on only one side to create an encapsulation mismatch.
3. – on Frame-Relay Physical Interface you must shutdown the interface on Frame Relay switch that is connected to the router with the backup interface command configured. Or you can simple shutdown the sub interface on the side without backup command configured.
On Frame-relay is sub interfaces are configured once the DLCI goes inactive the sub interface will go into the down
state. if it is a multipoint sub interface and has more than one DLCI then all DLCIs have to go inactive.
Another alternative is to change the lmi type to simulate a down circuit and bring up the backup interface.
—
R6#show int s0/0/1
Serial0/0/1 is standby mode, line protocol is down
Hardware is GT96K Serial
Internet address is 122.1.56.6/24
MTU 1500 bytes, BW 1544 Kbit, DLY 20000 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation HDLC, loopback not set
Keepalive set (10 sec)
Last input 00:09:05, output 00:09:07, output hang never
Last clearing of “show interface” counters never
Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
Queueing strategy: weighted fair
Output queue: 0/1000/64/0 (size/max total/threshold/drops)
Conversations 0/1/256 (active/max active/max total)
Reserved Conversations 0/0 (allocated/max allocated)
Available Bandwidth 1158 kilobits/sec
5 minute input rate 0 bits/sec, 0 packets/sec
5 minute output rate 0 bits/sec, 0 packets/sec
564 packets input, 38535 bytes, 0 no buffer
Received 564 broadcasts, 0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort
563 packets output, 38496 bytes, 0 underruns
0 output errors, 0 collisions, 8 interface resets
0 output buffer failures, 0 output buffers swapped out
7 carrier transitions
DCD=down DSR=down DTR=down RTS=down CTS=down
—
R6#show int s0/0/0
Serial0/0/0 is up, line protocol is up
Hardware is GT96K Serial
Internet address is 122.1.1.6/24
Backup interface Serial0/0/1, failure delay 0 sec, secondary disable delay 0 sec,
kickin load not set, kickout load not set
MTU 1500 bytes, BW 1544 Kbit, DLY 20000 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation FRAME-RELAY, loopback not set
Keepalive set (10 sec)
LMI enq sent 265, LMI stat recvd 266, LMI upd recvd 0, DTE LMI up
LMI enq recvd 0, LMI stat sent 0, LMI upd sent 0
LMI DLCI 0 LMI type is ANSI Annex D frame relay DTE
FR SVC disabled, LAPF state down
Broadcast queue 0/64, broadcasts sent/dropped 0/0, interface broadcasts 0
Last input 00:00:00, output 00:00:00, output hang never
Last clearing of “show interface” counters 00:44:31
Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
Queueing strategy: weighted fair
Output queue: 0/1000/64/0 (size/max total/threshold/drops)
Conversations 0/1/256 (active/max active/max total)
Reserved Conversations 0/0 (allocated/max allocated)
Available Bandwidth 1158 kilobits/sec
5 minute input rate 0 bits/sec, 0 packets/sec
5 minute output rate 0 bits/sec, 0 packets/sec
271 packets input, 6359 bytes, 0 no buffer
Received 0 broadcasts, 0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort
273 packets output, 4270 bytes, 0 underruns
0 output errors, 0 collisions, 1 interface resets
0 output buffer failures, 0 output buffers swapped out
0 carrier transitions
DCD=up DSR=up DTR=up RTS=up CTS=up
—
R6#show backup
Primary Interface Secondary Interface Status
—————– ——————- ——
Serial0/0/0 Serial0/0/1 normal operation
—
R6#conf ter
Enter configuration commands, one per line. End with CNTL/Z.
R6(config)#int s0/0/0
R6(config-if)#frame-relay lmi-type cisco
R6(config-if)#do show backup
Primary Interface Secondary Interface Status
—————– ——————- ——
Serial0/0/0 Serial0/0/1 normal operation
R6(config-if)#int s0/0/0
R6(config-if)#frame-relay lmi-type ansi
R6(config-if)#^Z
R6#