Alcatel-Lucent OmniSwitch 6800 Series Management Manual page 148

Hide thumbs Also See for OmniSwitch 6800 Series:
Table of Contents

Advertisement

CLI Services
You can recall commands shown in the history list by using the exclamation point character (!) also called
"bang". To recall the command shown in the history list at number 4, enter !4 (bang, 4). The CLI will
respond by printing the number four command at the prompt. Using the history list of commands above,
the following would display:
-> !4
-> show temp
You can recall the last command in the history list by issuing the
respond by printing the last command in the history list
-> !!
-> show history
Note. When you use !n or !! to recall a command in the history list, you must press the Enter key to
execute the command.
You can configure the number of history commands saved by the switch for display by the show history
command. The range for the
show history parameters
-> history size 30
-> show history parameters
History size: 30
CurrentSize: 10
Index Range: 1-10
The values in this display are defined here:
History Size: The number of commands the switch will save for display by the
command.
Current Size: The number of commands currently saved by the switch, ready for display by the
show history
command.
Index Range: This value indicates the index range of the commands for this CLI session currently
stored in the history buffer.
In the above example, the switch is set to display 30 commands. However, when the show history
parameters command was issued, only ten commands had yet been issued. Since only ten commands had
been issued during the current login session, the index range shows 1 to 10. This is because the commands
in the buffer are the first through the tenth commands issued during the current login session.
Note. The Partial Keyword Completion feature described on
page 5-14
history size
value is 1 to 30. To view the history parameters, use the
command.
OmniSwitch 6800/6850/9000 Switch Management Guide
!!
(bang bang) syntax. The CLI will
(show
history) at the prompt as shown here.
page 5-5
works within the CLI history buffer.
Using the CLI
show history
December 2007

Advertisement

Table of Contents
loading

This manual is also suitable for:

Omniswitch 6850 seriesOmniswitch 9000 series

Table of Contents