6

I want to display the whole MAC address table without needing to press 'space' for the next page, so that if there are 50 entries in the table I'd be able to view them with a single command.

I'm working on an HP switch.

jonathanjo
  • 16,104
  • 2
  • 23
  • 53
user19215
  • 313
  • 2
  • 8

2 Answers2

6

For HP you can use:

in user-view : screen-length disable

Then all output will be without "page" interruption.

  • @jonathanjo On Cisco IOS devices, you mean. On Cisco ASAs, it's `pager lines 0` – Jesse P. Feb 20 '19 at 12:36
  • Just for cross-reference, on Cisco IOS it's `term length 0` – jonathanjo Feb 20 '19 at 16:40
  • 1
    @jonathanjo Sure. I know this post was about switches but I wanted to make sure people knew about Cisco command differences between models (because can't standardize anything, apparently). – Jesse P. Feb 20 '19 at 16:55
6

You can either adjust the screen length as Konstantin has suggested (screen-length disable isn't available on many switches though) or you can disable paging altogether using

no page

Re-enable with page.

Zac67
  • 81,287
  • 3
  • 67
  • 131