Alcatel-Lucent OmniSwitch 6250 Management Manual page 180

Hide thumbs Also See for OmniSwitch 6250:
Table of Contents

Advertisement

Using the CLI
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 responds
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
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, 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
OmniSwitch 6250/6450 Switch Management Guide
(show
history size
value is 1 to 30. To view the history parameters, use the
command.
May 2012
!!
(bang bang) syntax. The CLI responds
history) at the prompt as shown here.
page 6-6
works within the CLI history buffer.
CLI Services
show history
page 6-16

Advertisement

Table of Contents
loading

This manual is also suitable for:

Omniswitch 6450

Table of Contents