Automating Dial Backup
Problem
You want automatic dial recovery in case a WAN link fails.
Solution
One of the most reliable ways of implementing dial backup on a Cisco router is to use a floating static default route, as follows:
Router1#configure terminal
Enter configuration commands, one per line. End with CNTL/Z. Router1(config)#interface
Router1(config-if)#
BRI0/0
ip address
Router1(config-if)#
10.1.99.55 255.255.255.0
encapsulation ppp
Router1(config-if)#dialer idle-timeout
Router1(config-if)#
300
dialer map ip
10.1.99.1
name
dialhost
broadcast
Router1(config-if)#
95551212
dialer load-threshold
50
either
Router1(config-if)#dialer-group
Router1(config-if)#
1
isdn switch-type basic-ni
Router1(config-if)#isdn spid1
Router1(config-if)#
800555123400 5551234
isdn spid2
Router1(config-if)#
800555123500 5551235
ppp authentication chap
Router1(config-if)#ppp multilink
Router1(config-if)#exit
Router1(config)#username
dialhost
password
Router1(config)#
dialpassword
ip route
Router1(config)#
0.0.0.0 0.0.0.0 10.1.99.1 180
dialer-list
1
protocol ip list
Router1(config)#
101
access-list
101
deny eigrp any any
Router1(config)#access-list
101
permit ip any any
Router1(config)#router eigrp
Router1(config-router)#
55
network
Router1(config-router)#
10.0.0.0
end
Router1#
Then the matching configuration of the other end is shown in Recipe 13.2.
Discussion
This recipe includes several important features. First, notice that we have configured dial backup using an ISDN BRI interface on this router. So we have to set ...
Get Cisco IOS Cookbook, 2nd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.