2

With the SonicWALL Command Line Interface one can list address-objects using the show command.

show address-objects mac

Then it will display a screen full followed by --MORE--. Return displays the next line, a space displays the next screen. Is there a way to specify the rest rather than just a screen at a time?

Tom Newton
  • 93
  • 1
  • 8
CW Holeman II
  • 421
  • 1
  • 8
  • 23
  • I don't now anything about sonicwall, but `more` is used as the *"pager"* and if sonicwall behaves like most *NIX environments you might be able to override that by setting the `PAGER` environment variable to something like `/bin/cat` if you don't want paging (or to `/bin/less` if you want advanced paging) – HBruijn Sep 01 '16 at 20:23
  • For Cisco it's (mostly) `terminal length 0` to disable breaks. For HP it's (mostly) `screen-length disable`. Look in the Sonicwall CLI reference for something similar. – joeqwerty Sep 01 '16 at 21:34

1 Answers1

2

You can use this..

Login into SonicWALL CLI then:

cli screen length session 1600
cli screen width session 2560

or

no cli pager session

This works for me on firmware 6.2.

chicks
  • 3,793
  • 10
  • 27
  • 36
  • I was scripting the ssh session since there's no easy way to script the web panel and I had previously just made an expect script to send a return whenever it reaches `--more--` but this is leaps and bounds better. – Allison Aug 11 '17 at 21:07
  • You can use paramiko lib to avoid the --more-- or just set the output session size at Sonicwall CLI, then it.will output all text whitout pagination. – José Vicente Aug 13 '17 at 15:54
  • just wanted to let you know old info os still good info. no cli pager session just saved my day, thanks :-) – John Apr 19 '23 at 13:11