cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
438244
Views
69
Helpful
16
Comments
Travis Williams
Community Member

 

Introduction:

This Document describe about How to show the Complete Configuration without Breaks/Pauses on Cisco Router/Switches, ASA Firewall and WLC (Wireless LAN Controller)

On Cisco Router/Switches:

When you execute the show running-config (show run) command on Cisco router/Switches, the output will be paged through one screen at a time. This is useful as Cisco configuration can be very long and can have thousands of lines. It would be impractical to dump the whole configuration to screen and expect the admin to rely on their scroll buffer.

 

Default screen length is of 24 lines. It means only 24 lines can be show on screen .you can verify using “Show terminal” command as shown below.

 

Router#show terminal | in Length

Length: 24 lines, Width: 80 columns

Router#

 

However if u like to have freedom to choose, to execute show run without more you can use this method.

 

1. Type "terminal length 0" in privileged mode to set your terminal to display without any breaks.

2. Type "show run" or "show start" to show the applicable config. The config will display without any breaks or pauses.

 

To display the config without lengthy certificate data, use "show run brief ".

 

This is useful for capturing the complete config for documentation purposes, especially if you do not have access via TFTP or the like.

On a Cisco Wireless LAN Controller:

 

1. Type "config paging disable" in priviledged mode to set your terminal to display without any breaks.

 

2. Type "show run-config" to display the config.

 

On a Cisco ASA Firewall:

 

To change terminal line display there are two commands you can use:

 

1) pager : Sets the number of lines to display in a Telnet session before the "---more---" prompt. This command is saved to the configuration.

 

2) terminal pager:Sets the number of lines to display in a Telnet session before the "---more---" prompt. This command is not saved to the configuration.

 

The default is 24 lines; 0 means no page limit.

 

1. Type "pager 0" in priviledged mode to set your terminal to display without any breaks.

 

2. Type "show run-config" to display the config.

 

3. Type "pager 20" in priviledged mode to set your terminal to display with breaks every 20 lines.

Comments
jogentry
Level 1
Level 1

That's a cool tip. Is there a way to toggle it back to the orignal configuration with breaks and pauses? For eample I only temporarily want to issue show commands without breaks and pauses.

uhaskamp
Level 1
Level 1

You can use "term no len 0" to set the term lenght back to its defaults.

dpetrucci1029
Level 1
Level 1

Or just "term len 24" (or higher depending on how many lines you want to see each time it pauses).

mikecrowe4ICS_2
Level 1
Level 1

On a Cisco FWSM,

1. Type "term pager 0" in privileged mode (enabled) to set your terminal to display without any breaks.

2. Type "show run" to display the configuration

In a multi-context device, this setting will persist across contexts during the same session.

mikecrowe4ICS_2
Level 1
Level 1

Joshua Gentry wrote:

                       

Is there a way to toggle it back to the orignal configuration with breaks and pauses?

                   

You could just log out, and log back in.  The "term" command  settings only apply during the same terminal session, then get discarded  when the session is closed.

This is also helpful  when using the command "show run all".  This command will display the  running-config, plus other default settings that are not displayed when  using the "show run" command alone.

Andras Dosztal
Level 3
Level 3

For CatOS, use the set length 0 command.

ganeshpatil1
Level 1
Level 1

Hi

After entering the command terminal length 0  and sh run on  any cisco devices, i am not able to do complete backup. session is getting  disconnected in the middle of backup process and if I only put the sh run command and giving space i am able to do complete back. can you please help me on this.

Ganesh

ANTONIO QUESADA
Level 1
Level 1

So,

Let us focus on the WLC: The "show" commands work all day and night in read only mode. Beautiful.

Why does the config paging disable require read/write mode?

 

Thank you,

Antonio Quesada

 

Hi Ganesh i have same problem are you able to find the RCA... if so please share.

taoli
Cisco Employee
Cisco Employee

好。感谢。Thanks.

tmalo
Level 1
Level 1

Great summary for terminal length.  But I was looking for how to save the setting and unfortunately could not find a single post that talks about that.  So I dug on my own and found the answer for the Catalyst switches.

To save your terminal length setting use the length command under line con 0 or line vty 0 15 as such:

switch#config t

switch(config)#line con 0

switch(config-line)#length 50 (use number of lines that works for your terminal emulation software)

(if you do not wish to also setup terminal length for remote access then skip next 2 lines)

switch(config-line)#line vty 0 15

switch(config-line)#length 50

switch(config-line)#end

switch#wr mem

vishwajeett1
Level 1
Level 1

telnet the device instead of ssh.
Hope this helps!

keno88888
Level 1
Level 1

I set terminal width to 130 but "show ip route" still wraps some lines at exactly the same place as before.  Are there limitations on which commands actually adhere to the setting?

Thank for that, I keep forgetting the 'terminal' command on Catalysts. One thing for firewalls, use:

 

more system:running-config

 

But don't share the output without looking at what happens to VPN PSKs and Passwords... It's a great way to backup an ASA config, but a horrible idea to share that with an auditor.

AIN UL BADAR
Level 4
Level 4

What is the replacement of "terminal pager" command for firepower CLI?

Getting Started

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: