Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

AS5300 autocommand telnet

I am having some difficulty getting autocommand to function on my access server. Below is an excerpt from my configuration:

modem-pool m9600

pool-range 4-13

called-number 8885551212 max-conn 10

modemcap entry 9600bps:MSC=&F&D2s31=1200s30=9600s29=3s53=0s15=0s21=0s22=0s23=0s24=0s0=0s17=1s16=0

interface Group-Async1

ip unnumbered FastEthernet0

encapsulation ppp

no ip mroute-cache

dialer in-band

dialer idle-timeout 300

dialer-group 1

async default routing

peer default ip address pool dialin_pool

ppp authentication chap pap ms-chap

group-range 1 13

line 4 13

modem dialin

modem autoconfigure type 9600bps

autocommand telnet x.x.x.x 15300

transport input all

telnet speed 2400 38400

When a device calls the specified number (8005551212), it should be connected to one of the modems in the m9600 pool (4-13), which is configured according to the 9600bps init string. A telnet session should then be established between the calling device and the device defined in the autocommand statement so that they can exchange information.

What actually happens when I call the specified number is I land at a "devicename>" prompt. If I enter "telnet x.x.x.x 15300" I get connected, but I want this session to be established automatically when the device dials in. Where have I gone wrong?

Thank You,

Dan

  • Other Network Infrastructure Subjects
6 REPLIES
New Member

Re: AS5300 autocommand telnet

Hello:

Try this configuration:

ip host CALLED-LINE 15300 x.x.x.x

line 4 13

autocommand telnet CALLED-LINE

New Member

Re: AS5300 autocommand telnet

Hello:

Try this configuration

ip host NAME 15300 x.x.x.x

line 4 13

autocommand telnet NAME

New Member

Re: AS5300 autocommand telnet

Thank you. I'll give it a try. Have you ever used the AUTOCOMMAND statement for this purpose? The documentation I have read says that the autocommand statement executes after the caller has entered their username and password information. How can I automate this process so that the caller does not have to enter that info, but is telnet-ed to the specified host upon connecting?

If you know of any good reading on the subject I would be more than happy to disect it.

Regards,

Dan

Silver

Re: AS5300 autocommand telnet

With modem signalling configured, if the device sees a data set ready (DSR) increase, it will initiate the autocommand.

The username/password prompt will appear only if lines are configured for login or else it will execute the autocommand (maybe to a the host who in turn can prompt for username/password).

Thanks, Mak.

New Member

Re: AS5300 autocommand telnet

Thanks, Mak. You seem to respond to alot of my postings lately. I did look at the modems using the show modem command and it appears as though all of the calls have been going to the default modem lines instead of the lines I have configured into modem pools (see below). I have init different strings for the modems in these pools. Also below is an excerpt of the line config for lines 4-13.

I have a message in to the service provider (Sprint) to find out if they are providing DNIS info on the PRI line.

modem-pool m1200

pool-range 1-3

called-number 8665551212 max-conn 3

!

modem-pool m9600

pool-range 4-13

called-number 8665552323 max-conn 10

!

modem-pool default

pool-range 14-19

called-number 8662495089 max-conn 6

!

modem-pool m1200-2

pool-range 20-23

called-number 8665553434 max-conn 4

line 4 13

modem dialin

modem autoconfigure type 9600bps

autocommand telnet x.x.x.x 15300

transport input all

telnet speed 2400 38400

Thanx,

Dan

Silver

Re: AS5300 autocommand telnet

Correct, the telco needs to provide the DNIS & we need to match the same in our config.

Note, the DNIS could be 7 digit/10 digit, so we need to match that exactly or else the call will not go to the correct modem pool.

Thanks, Mak.

198
Views
0
Helpful
6
Replies
This widget could not be displayed.