System information
Using the Command Line Interface
2-9
Configuration commands also have a default form, which returns the command
setting to its default. Most commands are disabled by default, so the default form is
the same as the no form. However, some commands are enabled by default and have
variables set to certain default values. In these cases, the default command enables the
command and sets variables to their default values.
Using Command Aliases
You can create your own alias for a command. Use the information in this section to
handle aliases.
1. To display a list of all aliases, use the show aliases command, as shown below:
MOT#show aliases
2. To create an alias for a command in User EXEC mode, use the alias exec
command in Global Configuration mode, as shown below:
MOT(config)#alias exec {<WORD> <WORD>}
where:
WORD is the alias name for the command
WORD is the name of the command being replaced by the alias
3. To create an alias for a command in Privileged EXEC mode, use the alias priv
command in Global Configuration mode, as shown below:
MOT(config)#alias priv {<WORD> <WORD>}
where:
WORD is the alias name for the command
WORD is name of the command being replaced by the alias
4. To create an alias for a command in Global Configuration mode, use the alias
conf command in Global Configuration mode, as shown below:
MOT(config)#alias conf {<WORD> <WORD>}
where:
WORD is the alias name for the command