01-28-2016 07:06 AM - edited 03-12-2019 12:12 AM
I'm using my ASA 9.4.2 in multi-context mode. Where has the "terminal width" command gone? It appears to be missing, and I'm getting a bit sick of the command line truncating at 80 chars...
01-28-2016 07:11 AM
Hi,
Use following command to set the number of lines you want to see in O/P with singe key stroke.
"terminal pager <number of lines>"
Thanks,
Ishan
Please remember to select a correct answer and rate helpful posts
01-29-2016 04:30 AM
Thanks, but that's page length, not width. I'm talking about the the page width as it seems to apply to the command line.
All the ASA docs say terminal width is set by "terminal width". On IOS routers this is true. On my ASA's the command as specified in the docs is simply not present.
06-09-2017 01:27 AM
"terminal pager <number of lines>"
Has to be done in config mode.
(config)# terminal width ?
configure mode commands/options:
0 Specify this value to set the maximum permitted width
<40-511> Terminal width columns, default is 80
08-01-2017 07:49 AM
its a secret command and worked on my 5585 Version 9.1(4).
04-13-2017 10:01 AM
Did you ever get to the bottom of this? It's really annoying!
Please reply if you worked out how to change the width.
Thank you.
04-10-2018 12:27 AM
Bringing this back: does anyone has any idea how to keep all commands on one line instead of being truncated:
E.g.:
asa01/asa-lan/sec/act(config)# clear configure access-list lin$ this is the current output
asa01/asa-lan/sec/act(config)# clear configure access-list link_to_the_router this would be the desired output.
Thanks!
06-19-2018 11:25 AM
Florin Barhala: The answer was posted earlier: 06-09-2017 01:27 AM
You can use terminal width in global config mode on an ASA.
Example:
ASA# configure terminal
ASA(config)# terminal width ?
configure mode commands/options:
0 Specify this value to set the maximum permitted width
<40-511> Terminal width columns, default is 80
ASA(config)# terminal width
[Note: I don't know why it was placed there, but it was.]
This "partially" aligns with the command reference:
the command reference tells you what to do:
"To set the width for displaying information during console sessions, use the terminal width command in global configuration mode. "
And then the command reference gives an INVALID example:
This example shows how to terminal display width to 100 columns:
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide