Using an Async Modem on the AUX Port
Problem
You want to connect a standard asynchronous modem to the router’s AUX port and use it for dial backup.
Solution
Many Cisco routers include an AUX port that is a low-speed asynchronous serial interface that can connect to a standard modem and support PPP:
Router1#configure terminal
Enter configuration commands, one per line. End with CNTL/Z. Router2(config)#interface
Router2(config-if)#
Async65
encapsulation ppp
Router2(config-if)#dialer in-band
Router2(config-if)#dialer pool-member
Router2(config-if)#
1
ppp authentication chap
Router2(config-if)#async default routing
Router2(config-if)#exit
Router2(config)#interface
Router2(config-if)#
Dialer1
ip address
Router2(config-if)#
10.1.99.56 255.255.255.0
encapsulation ppp
Router2(config-if)#dialer remote-name
Router2(config-if)#
dialhost
dialer pool
Router2(config-if)#
1
dialer idle-timeout
Router2(config-if)#
300
dialer string
Router2(config-if)#
95551212
dialer-group
Router2(config-if)#
1
ppp authentication chap
Router2(config-if)#exit
Router2(config)#line aux
Router2(config-line)#
0
modem inout
Router2(config-line)#transport input all
Router2(config-line)#no exec
Router2(config-line)#speed
Router2(config-line)#
115200
exit
Router2(config)#username
dialhost
password
Router2(config)#
dialpassword
ip route
Router2(config)#
0.0.0.0 0.0.0.0 10.1.99.1 180
dialer-list
1
protocol ip list
Router2(config)#
101
access-list
101
deny eigrp any any
Router2(config)#access-list
101
permit ip any any
Router2(config)#router ...
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.