Saving Commands In The History Buffer - H3C S5810 Series Operation Manual

Ethernet switches
Hide thumbs Also See for S5810 Series:
Table of Contents

Advertisement

To do...
Disable the multiple-screen
output function of the current
user
Display functions
CLI offers the following feature:
When the information displayed exceeds one screen, you can pause using one of the methods shown
in
Table
1-6.
Table 1-6 Display functions
Press Space when information display pauses
Press Enter when information display pauses
Press Ctrl+C when information display pauses
Ctrl+E
PageUp
PageDown

Saving Commands in the History Buffer

The CLI can automatically save the commands that have been used lately to the history buffer. You can
know the operations that have been executed successfully, invoke and repeatedly execute them as
needed. By default, the CLI can save up to ten commands for each user. You can use the
history-command max-size command to set the capacity of the history commands buffer for the
current user interface (For the detailed description of the history-command max-size command, refer
to Login Commands in the System Volume). The following table lists the operations that you can
perform. In addition:
The commands saved in the history buffer are in the same format with the commands you input. If
you input an incomplete command, the command saved in the history buffer is also an incomplete
command.
If you execute the same command repeatedly, the device saves only the earliest command.
However, if you execute the same command in different formats, the system considers them as
Use the command...
screen-length disable
Action
Continues to display information of the next
screen page.
Continues to display information of the next line.
Stops the display and the command execution.
Moves the cursor to the end of the current line.
Displays information on the previous page.
Displays information on the next page.
1-22
Remarks
Required
By default, a login user uses
the settings of the
screen-length command. The
default settings of the
screen-length command are:
multiple-screen output is
enabled and 24 lines are
displayed on the next screen.
This command is executed in
user view, and therefore is
applicable to the current user
only. When a user re-logs in,
the settings restore to the
system default.
Function

Advertisement

Table of Contents
loading

Table of Contents