
Chapter 3. Command Reference
28 X Family CLI Reference V 2.5.1
!
access: global; all
The ! command executes a command in the history
buffer. Use !! to repeat the previous command executed.
! #
indicates an item number in the history
buffer. Use ! # to execute command # in the history buffer. See
“
execute command <number> from history buffer” on page 83 for an example.
alias
access: global; all
The alias command lists defines abbreviated commands. The command accepts an alias and the string that the alias
will represent.
alias-name
The character string that you will type instead of the full command string. It must be a unique
combination of letters, numbers, and hyphens or underscores.
"command-string"
A text string that is either a valid CLI command or part of a command. If the string contains blanks,
you must enclose the string in quotes.
Using the alias command
create a new
alias
Enter the alias command with an alias name and a command string enclosed in quotes.
hostname# alias eth "ethernet"
show aliases
Enter the alias command without any parameters to show a list of currently defined aliases.
hostname# alias
eth ethernet
Comentarios a estos manuales