04-02-2008 04:50 AM
Hi
I am configuring a 2511 as a terminal server. I have two 2511s. One 2511 is OK. The other one gives me an error when I try to paste the same configuration that I have in notepad.
For the command:
line 1 16
modem InOut
it says that, "line 2 does not support modem control"
Then I typed:
(config)#line 0 17
(config-line)#modem InOut
it says, "line 0 does not support modem control.
Now it doesn't talk about line 2, instead it says that line 0 does not support modem control.
In here, the main problem is that, when I type:
(config)#line 1 16
(config-line)#no exec
and when I telnet, the router doesn't even prompt for anything. But when I again say, "exec" in line mode, then the router prompts me for the username.
But when I enter the username, it says:
traying 192.168.1.1, 2001.....
Destination unreachable; gateway or host is down.
Below I will paste the configuration that works in the other 2511 router.
line con 0
logging synchronous
login
transport input none
line 1 4
session-timeout 20
no exec
exec-timeout 0 0
no flush-at-activation
logging synchronous
modem InOut
transport input all
line 5 16
session-timeout 20
no exec
exec-timeout 0 0
no flush-at-activation
modem InOut
transport input all
line aux 0
password xxx
logging synchronous
login
line vty 0 4
exec-timeout 20 0
logging synchronous
login local
line vty 5 15
exec-timeout 20 0
logging synchronous
login local
!
In this setup, I have a loopback interace configured. Basically, everything is OK. The only difference are these two commands don't work like in the 1st router:
no exec
modem InOut
A very confusing scenario.
Any help on this would be highly appreciated.
Thanks in advance!
04-03-2008 03:33 PM
Response marked with
line 1 16
modem InOut
it says that, "line 2 does not support modem control"
line 1
modem inout
then try line 2 and so on and see if we see errors for specific lines only (which we can investigate further)
(config)#line 0 17
(config-line)#modem InOut
it says, "line 0 does not support modem control. Now it doesn't talk about line 2, instead it says that line 0 does not support modem control.
(config)#line 1 16
(config-line)#no exec
and when I telnet, the router doesn't even prompt for anything. But when I again say, "exec" in line mode, then the router prompts me for the username.
A few things to check:
1. Is the router completely up, means its not in boot mode etc.
2. Are the IOS images different or same on the working vs non working 2511?
Thanks, Mak
04-04-2008 01:52 AM
Hi Mak
Thanks a lot for your post.
I tried giving line by line and started with
line 1
and pasted the configuration
session-timeout 20
exec-timeout 0 0
no flush-at-activation
logging synchronous
modem InOut
transport input all
Then I tried
line 2
then I got the same error.
About 'no exec'
in line 1 16
when I say:
(config-line)#no exec
I can't even telnet to the router. Not the reverse telnet. But the moment I remove it and say, 'exec', then I can telnet and login to the router.
With 'no exec' when I go to DOS prompt and telnet, it tries to telnet, and it is suppose to prompt me for the username (because in line vty, I say, login local, and I give a username and password in global mode) but nothing prompts and the screen closes in a few seconds.
Yes the router is functional. And it has exactly the same IOS as the other one which is working without any problems :(
A really terrible situation.
Thanks a lot in advance for your help!
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide