Show running-config without more

When executing the show running-config (show run) command on Cisco ISO, the output will be paged through one screenful at a time. This is useful as Cisco configs can be very long and can have thousands of lines. It would be impractical to dump the whole config to screen and expect the admin to rely on their scroll buffer. However admins like to have freedom to choose, to execute show run with out more you can use this method.

Disable more

# terminal length 0
# show running-config

If you are not enable you can test your terminal length setting with a command like show version.

The terminal length command is where you set the number of lines to display per screen, 0 means no limit, however you could use this setting to show, say, 5 lines at time.

Once this command has been executed it will disable paging (more) for all output in the current session. Next time you login more paging will be enabled again.

Terminal length values

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

If the above command did not work, also try this one.

Disable more

# terminal pager lines 0
# show running-config
Advertisements

One thought on “Show running-config without more

  1. Pingback: How to capture putty sessions on text file | Andrew's blog of things

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s