Hello All,
While working on modem remediation project I found that sometimes the phone line which is connected to modem has different number than our records and I could not trace the correct number. Instead of asking local tech to hook-up an analog phone for finding the number I felt that we could user our same old BCRAN skills. I used this following script in my lab. After applying the script to make an outbound call through Aux port on the router please type telnet 9.9.9.9, then router will dial the number specified in the script. To terminate the dial-up connection use CTRL+SHIFT and 6. To be on safe side please issue reload 30 before configuring and do not write memory until you are done. Please go through script and let me know if any modifications required. Please remove the configuration after getting the number.
chat-script Dialout ABORT ERROR ABORT BUSY "" "AT" OK "ATDT \T" TIMEOUT 45 CONNECT \c
modemcap entry MY_USR_MODEM:MSC=&F1S0=1
!
!
!
!
!
!
interface Loopback0
ip address x.x.x.x x.x.x.x --- If the router is already configured with loopback we do not need to configure again.
!
!
interface Async1
no ip address
encapsulation ppp
dialer in-band
dialer pool-member 20
!
interface Dialer10
ip unnumbered Loopback0
encapsulation ppp
dialer pool 20
dialer idle-timeout 900
dialer string
dialer-group 1
!
ip route 9.9.9.9 255.255.255.255 Dialer10
!
!
access-list 101 permit tcp any 9.9.9.9 0.0.0.0 eq telnet
dialer-list 1 protocol ip list 101
!
line aux 0
exec-timeout 0 0
script dialer Dialout
modem InOut
modem autoconfigure type MY_USR_MODEM
transport input all
stopbits 1
flowcontrol hardware
Thank you.
Monday, March 17, 2008
Dialing through Aux port on router.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment