Paging Output From Show Commands

Unanswered Question
Jul 9th, 2007

Whilst working on Live Labs on my CCNA course I notice sometimes '-- More --' appears when running the 'show running' command (and hitting spacebar then moves on to the next page of output). Sometimes the whole output is displayed all at once, ie. with no '-- More --' displayed. What command on a router controls whether 'More' is used or not for command output ?

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 3.3 (3 ratings)
Jon Marshall Mon, 07/09/2007 - 09:05


If you want to display the entire running config all at once

router# term len 0

If you want to display it page by page

router# term len 24

Note you can yse any number but 24 is about right.



Richard Burts Mon, 07/09/2007 - 09:07


I believe that you are looking for the "term length" command. This controls how many lines of output will be displayed before the output stops and displays the more prompt. If you set term length 0 this tells the router to display all the output without using the more prompt.



rossua994 Mon, 07/09/2007 - 09:33

Thanks for replies. Is there a global config mode command which will make the setting permanent, ie for every time the router is booted up ? I take it that the 'terminal length' command applies only to the current session.

Richard Burts Mon, 07/09/2007 - 10:10


Yes there is a command in line config mode (not global) that will permanently set the terminal length. If you set the length in exec mode (with the terminal length command) then it is effective only for that exec session. If you set the length in config mode then it is permanent. The command is "length" under the console line or the vty lines:

1841-test#conf t

Enter configuration commands, one per line. End with CNTL/Z.

1841-test(config)#line vty 0 4

1841-test(config-line)#length ?

<0-512> Number of lines on screen (0 for no pausing)




This Discussion