1
Basic CLI commands
alias
Use
alias
to configure a command alias.
Use
undo alias
to remove a command alias.
Syntax
alias
alias command
undo alias
alias
Default
The system defines a set of command aliases, as listed in
Table 1
System-defined command aliases
Alias Command
string
access-list acl
end return
erase delete
exit quit
hostname sysname
logging info-center
no undo
show display
write save
Views
System view
Predefined user roles
network-admin
Parameters
alias
: Specifies an alias, a case-sensitive string of 1 to 20 characters. An alias cannot be
alias
or contain
spaces.
command
: Specifies a command string. Make sure the command string meets the syntax requirements.
Usage guidelines
You can configure an alias for a command or the starting keywords of commands, and use the alias to
execute the command or commands.