Basic CLI Command Reference
80 Basic System Configuration Guide
Description This command enables the substitution of a command line (or part of a command line) by an alias. Use 
the alias command to create alternative or easier to remember/understand names for an entity or 
command string. If the string contains special characters (#, $, spaces, etc.), the entire string must be 
enclosed within double quotes. The special characters “/” and “\” cannot be used as the first character 
inside an alias string. An alias can contain a double quote character by preceding the quote with a “\” 
character (for example, alias my-alias "| match \"string\""). Only a single command can be present 
in the command string (the command can be long with many parameters but there is no support for 
aliases that include multiple CLI commands/lines). The alias command can be entered in any context 
but must be created in the root>environment context. 
For example, to create an alias named soi to display OSPF interfaces, enter: 
alias soi “show router ospf interface” 
Complex aliases can be created to have shortcuts for customized show routine output:
environment alias my-summary "| match expression \"----|Description|Interface|Admin 
State|Oper State|Transceiver Type|Optical Compliance|Link Length\" | match invert-match 
expression \"Ethernet Interface|OTU Interface\" | match invert-match expression \"----\" post-
lines 1"
and then used like this:
show port detail my-summary
Parameters alias-name — The alias name. Do not use a valid command string for the name of the alias. If the 
alias specified is an actual command, this causes the command to be replaced by the alias.
alias-command-line — The command line to be associated.
create
Syntax [no] create
Context environment
Description By default, the create command is required to create a new OS entity. 
The no form of the command disables requiring the create keyword.
Default create — The create keyword is required.
more
Syntax [no] more
Context environment