09-13-2009 07:48 AM - edited 03-06-2019 07:42 AM
Hi,
I have a 2821 router running IOS:
System image file is "flash:/c2800nm-adventerprisek9_ivs-mz.124-3g.bin"
The issue is that the terminal length is always 0 and if manually set it for example to 24, it is only good for that session and the show terminal command show the length 24, but as soon as I log out and log back in, it goes back to 0 and of course the show terminal command shows also 0
I believe the default should be 24, but this router is 0
Has any one experienced this before?
Also, here is the show terminal out put:
T-1# ter length 24
T-1#sh terminal
Line 322, Location: "", Type: "VT100"
Length: 24 lines, Width: 0 columns
Baud rate (TX/RX) is 9600/9600
Status: PSI Enabled, Ready, Active, No Exit Banner, Automore On
Capabilities: none
Modem state: Ready
Group codes: 0
Special Chars: Escape Hold Stop Start Disconnect Activation
^^x none - - none
Timeouts: Idle EXEC Idle Session Modem Answer Session Dispatch
01:00:00 never none not set
Idle Session Disconnect Warning
never
Login-sequence User Response
00:00:30
Autoselect Initial Wait
not set
Modem type is unknown.
Session limit is not set.
Time since activation: 00:26:08
Editing is enabled.
History is enabled, history size is 20.
DNS resolution in show commands is enabled
Full user help is disabled
Allowed input transports are telnet ssh.
Allowed output transports are lat pad telnet rlogin lapb-ta mop v120 ssh.
Preferred transport is lat.
No output characters are padded
No special data dispatching characters
T-1#
Thanks,
Reza
09-13-2009 11:17 AM
Hello Reza,
Is it possible to see your "line vty" configuration? Also, what protocol did you currently use to access your 2821 - the telnet or the SSH? Is it possible to try a different terminal emulator software? It might be that your software client sends the terminal length in the session setup, overriding the default of 24 lines.
Best regards,
Peter
09-13-2009 01:08 PM
Hi Peter,
Thanks,
I am using telnet with Secure CRT. I tried using telnet usnig windows command line (cmd) and the same thing happens.
here is sh line out put:
T-1# sh lin
Tty Line Typ Tx/Rx A Modem Roty AccO AccI Uses Noise Overruns Int
0 0 CTY - - - - - 0 0 0/0 -
1 1 AUX 9600/9600 - - - - - 0 0 0/0 -
* 322 322 VTY - - - - - 39 0 0/0 -
323 323 VTY - - - - - 2 0 0/0 -
324 324 VTY - - - - - 0 0 0/0 -
325 325 VTY - - - - - 0 0 0/0 -
326 326 VTY - - - - - 0 0 0/0 -
327 327 VTY - - - - - 0 0 0/0 -
328 328 VTY - - - - - 0 0 0/0 -
329 329 VTY - - - - - 0 0 0/0 -
330 330 VTY - - - - - 0 0 0/0 -
331 331 VTY - - - - - 0 0 0/0 -
332 332 VTY - - - - - 0 0 0/0 -
333 333 VTY - - - - - 0 0 0/0 -
334 334 VTY - - - - - 0 0 0/0 -
335 335 VTY - - - - - 0 0 0/0 -
336 336 VTY - - - - - 0 0 0/0 -
337 337 VTY - - - - - 0 0 0/0 -
Line(s) not in async mode -or- with no hardware support:
2-321
T-1#
Thanks,
Reza
09-13-2009 01:32 PM
Hi Reza,
Can you try using this in your configuration and testing it if it helps?
configure terminal
line vty 0 15 ! or whatever range you use
length 24
end
Best regards,
Peter
09-13-2009 02:11 PM
Hi Peter,
I added this command before posting the issue here, but I just did it one more time and still the same. This command when added it to the line vty has the same effect, another word it is only good for that session.
Here is the output:
T-1#sh run | sec line
line con 0
login local
line aux 0
line vty 0 4
exec-timeout 60 0
privilege level 15
password cisco
login local
length 35
transport input telnet ssh
line vty 5 15
privilege level 15
password cisco
login local
length 35
transport input telnet ssh
Thanks,
Reza
09-13-2009 02:28 PM
Hi Reza,
That's strange... Does it do the same when you log in using SSH?
Also, is it perhaps possible to try an upgraded version of IOS? It seems that the version you are using now has some identified issues so it might be useful upgrading it so or so.
Best regards,
Peter
09-13-2009 06:13 PM
Hi Peter,
No luck here. I think, I am going to upgrade to a different version to see if the problem goes away.
Thanks for your help
Reza
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: