2960G not saving terminal length or width

Answered Question

Whenever I log into any of my switches (using telnet) and do a 'show run' the entire output is dumped to the screen with no pauses. I use the commands 'term len 24' and 'term wid 80' and then 'wr' to set the page size. It works perfectly for that session. If I disconnect and log back in the settings are gone and all output is dumped to the sreen again with no pauses. What am I doing wrong?

Correct Answer by Mark Yeates about 8 years 8 months ago

Terry,


The reason that is happening is because the terminal session and width are only good for the current session. To permanently set these parameters you can configure these under line vty.


line vty 0 4

length 24

width 80


HTH,

Mark

Correct Answer by simontibbitts about 8 years 8 months ago

Hi.


The 'term len' command you are using is not a global config command so won't be saved to your configuration.


First do a show run and see what you have configured under the 'line vty 0 x' If someone has configured 'length' or 'width' under it then this is your problem.


Otherwise just try manually changing it yourself with the commands below


line vty 0 4

length 24

width 80


Simon

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (2 ratings)
Loading.
Correct Answer
simontibbitts Thu, 09/04/2008 - 12:59
User Badges:
  • Silver, 250 points or more

Hi.


The 'term len' command you are using is not a global config command so won't be saved to your configuration.


First do a show run and see what you have configured under the 'line vty 0 x' If someone has configured 'length' or 'width' under it then this is your problem.


Otherwise just try manually changing it yourself with the commands below


line vty 0 4

length 24

width 80


Simon

Correct Answer
Mark Yeates Thu, 09/04/2008 - 13:07
User Badges:
  • Gold, 750 points or more

Terry,


The reason that is happening is because the terminal session and width are only good for the current session. To permanently set these parameters you can configure these under line vty.


line vty 0 4

length 24

width 80


HTH,

Mark

Actions

This Discussion