Using Virtual Templates
Problem
You want to configure dial backup by using virtual templates.
Solution
Virtual templates provide another way of configuring a central dialup host router:
dialhost#configure terminal
Enter configuration commands, one per line. End with CNTL/Z. dialhost(config)#username
Router1
password
dialhost(config)#
dialpassword
interface
dialhost(config-if)#
BRI0/0
no ip address
dialhost(config-if)#encapsulation ppp
dialhost(config-if)#dialer pool-member
dialhost(config-if)#
1
isdn switch-type basic-ni
dialhost(config-if)#isdn point-to-point-setup
dialhost(config-if)#isdn spid1
dialhost(config-if)#
800555123400 5551234
isdn spid2
dialhost(config-if)#
800555123500 5551235
ppp authentication chap
dialhost(config-if)#ppp multilink
dialhost(config-if)#exit
dialhost(config)#interface Dialer
dialhost(config-if)#
1
no ip address
dialhost(config-if)#encapsulation ppp
dialhost(config-if)#dialer idle-timeout
dialhost(config-if)#
300
dialer-group
dialhost(config-if)#
1
no peer default ip address
dialhost(config-if)#ppp authentication chap
dialhost(config-if)#ppp multilink
dialhost(config-if)#exit
dialhost(config)#access-list
101
deny eigrp any any
dialhost(config)#access-list
101
permit ip any any
dialhost(config)#dialer-list
1
protocol ip list
dialhost(config)#
101
router eigrp
dialhost(config-router)#
55
network
dialhost(config-router)#
10.0.0.0
exit
dialhost(config)#interface
dialhost(config-if)#
Loopback1
ip address
dialhost(config-if)#
10.1.99.1 255.255.255.0
exit
dialhost(config)#
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.