beautypg.com

Control paging of cli output, Control showing hidden commands, Confirm loss of unsaved changes – HP VMA-series Memory Arrays User Manual

Page 150: Confirm reboot or halt reload

background image

150

HP VMA SAN Gateway User’s Guide

AM456-9026A

Control Paging of CLI Output

[no] cli default paging enable
[no] cli session paging enable

Enable or disable paging of CLI output. If paging is enabled, all command output, as well as all help

text printed when the

?

key is pressed, will be displayed one screen at a time, using the same pager

as the 'show log' command uses. If the text to be displayed fits on a single screen, it will be printed

normally and the pager will not be used.

Note that the abbreviated list of commands printed when is hit twice is not paged, even in the

unlikely event that it does not fit on the screen.

Note that if the CLI does not have a terminal (for example, it is being driven by a script), paging is

disabled automatically regardless of the default setting, and cannot be re-enabled for this session.

However, even in this case, the default setting can still be changed.

Control Showing Hidden Commands

[no] cli default show config-hidden enable

Enable or disable showing hidden commands in the output of the various forms of

show config

...

. By default, hidden commands are displayed to better ensure the output of

show config ...

represents the running state of a system.

Confirm Loss of Unsaved Changes

[no] cli default confirm lose-unsaved

Enable or disable confirmations of cases where you might accidentally lose unsaved changes.

Currently, this is just for the

reload [halt]

command; other cases where you might lose

configuration are just some of the

configuration ...

commands, which have no confirmations

in any case, since they are explicitly dealing with configuration.

Confirm Reboot or Halt Reload

[no] cli default confirm reload

Enable or disable confirmations of rebooting or halting the system using the 'reload' command. This

confirmation is in addition to any separate confirmations that may be displayed for unsaved

changes.

cli session terminal width

cli session terminal length

This manual is related to the following products: