Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 

Show the Complete Configuration without Breaks/Pauses on Cisco Router/Switches, ASA Firewall and WLC (Wireless LAN Controller)

 

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
New Member

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.

New Member

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

New Member

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

New Member

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.

New Member

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.

For CatOS, use the set length 0 command.

New Member

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

New Member

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

 

New Member

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

Cisco Employee

好。感谢。Thanks.

New Member

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

New Member

telnet the device instead of ssh.
Hope this helps!

New Member

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?

84417
Views
39
Helpful
13
Comments