The alias command creates an alias for a command.
The undo alias command deletes an alias.
By default, no alias is created.
Parameter | Description | Value |
---|---|---|
alias-string |
Specifies an alias string. |
The value is a string of 1 to 63 case-insensitive characters, supporting letters, digits, and hyphens (-). It must start with a letter and cannot contain spaces between characters. |
parameter parameter |
Specifies a parameter for an alias. |
The value is a string of 2 to 63 case-insensitive characters, supporting letters, digits, and hyphens (-). It must start with the $ sign. |
command command |
Specifies a command for which an alias is to be created. |
The value is a string of 1 to 511 characters. If a space exists in the command, the character string of command must be enclosed in double quotation marks ("). An alias can be configured for each command supported by the device. |
Usage Scenario
The alias command can be used in the following scenarios:
Precautions