Alcatel OmniSwitch/Router Guía de usuario Pagina 180

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 346
  • Tabla de contenidos
  • SOLUCIÓN DE PROBLEMAS
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 179
Using the CLI CLI Services
OmniSwitch 6250/6450 Switch Management Guide May 2012 page 6-16
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 !! (bang bang) syntax. The CLI responds
by printing the last command in the history list (show history) at the prompt as shown here.
-> !!
-> 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 history size value is 1 to 30. To view the history parameters, use the
show history parameters command.
-> 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 show history
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 6-6 works within the CLI history buffer.
Vista de pagina 179
1 2 ... 175 176 177 178 179 180 181 182 183 184 185 ... 345 346

Comentarios a estos manuales

Sin comentarios