navbar
Technical Tips

Configuring AUX0 to Back Up Serial Interface 0


This configuration example demonstrates how to set up AUX0 as an async interface to back up serial0, as shown in the figure below.

         Network netmask 255.255.255.0, routing protocol RIP.

                       193.191.100.102    193.191.100.101
                     ______ s0             s0 ______
                    |      |-----------------|      |
         193.191.2.1|      |                 |      |193.191.1.1
               e0---| 2520 |                 | 2503 |---e0
                    |      |                 |      |
                    |______|---------z_______|______|
                            aux0          aux0
                      193.191.100.2    193.191.100.1

CPA 2520 CPA 2503
service udp-small-servers
service tcp-small-servers
!
hostname CPA2520
!
username CPA2503 password 7 00071A150754
!
interface Ethernet0
 ip address 193.191.2.1 255.255.255.0
!
interface Serial0
 backup delay 10 10
 backup interface Async4
 ip address 193.191.100.102 255.255.255.0
 no fair-queue
!
interface Async4
 ip address 193.191.100.2 255.255.255.0
 encapsulation ppp
 keepalive 10
 async default routing
 async mode dedicated
 dialer in-band
 dialer map ip 193.191.100.1 name CPA2503 broadcast
 dialer-group 1
 ppp authentication chap
!
router rip
 network 193.191.100.0
 network 193.191.2.0
!
dialer-list 1 protocol ip permit
!
line con 0
line aux 0
 modem InOut
 transport input all
 rxspeed 38400
 txspeed 38400
 flowcontrol hardware
line vty 0 4
 password cisco
 login
!
end




service udp-small-servers
service tcp-small-servers
!
hostname CPA2503
!
enable secret 5 $1$RGTO$Y9PRvCVRcAg3lXa1hKMNg0
enable password cisco
!
username CPA2520 password 7 02050D480809
chat-script dialout "" atdt\T TIMEOUT 60 CONNECT!
!
interface Ethernet0
 ip address 193.191.1.1 255.255.255.0
!
interface Serial0
 backup delay 10 10
 backup interface Async1
 ip address 193.191.100.101 255.255.255.0
 no fair-queue
!
interface Async1
 ip address 193.191.100.1 255.255.255.0
 encapsulation ppp
 keepalive 10
 async default routing
 async mode dedicated
 dialer in-band
 dialer map ip 193.191.100.2 name CPA2511-1 modem-script dialout broadcast 5553735
 dialer-group 1
 ppp authentication chap
!
router rip
 network 193.191.1.0
 network 193.191.100.0
!
dialer-list 1 protocol ip permit
!
line con 0
line aux 0
 modem InOut
 transport input all
 rxspeed 38400
 txspeed 38400
 flowcontrol hardware
line vty 0 4
 password cisco
 login
!
end

Posted: Thu Jun 26 12:40:06 PDT 1997