Configuring And Using Command Keyword Aliases; Configuring And Using Command Hotkeys - HP 5920 series Fundamentals Configuration Manual

Hide thumbs Also See for 5920 series:
Table of Contents

Advertisement

saved-configuration and system-view. To enter the command system-view, you only need to type sy. To
enter the command startup saved-configuration, type st s.
You can also press Tab to complete an incomplete keyword.

Configuring and using command keyword aliases

The command keyword alias function allows you to replace the first keyword of a non-undo command or
the second keyword of an undo command with your preferred keyword when you execute the command.
For example, if you configure show as the alias for the display keyword, you can enter either show clock
or display clock to execute the display clock command.
Usage guidelines
After you successfully execute a command by using a keyword alias, the system saves the keyword,
instead of its alias, to the running configuration.
If a string you entered for a command partially matches an alias and a keyword, the command
indicated by the alias is executed. To execute the command indicated by the keyword, enter the
complete keyword.
If a string you entered for a command partially matches multiple aliases, the system displays an
error message.
If you enter a string that partially matches an alias and a keyword and press Tab, the keyword
indicated by the alias is displayed. Pressing Tab again displays the keyword.
Configuration procedure
To configure a command keyword alias:
Step
1.
Enter system view.
2.
Enable the command keyword
alias function.
Configure a command
3.
keyword alias.
4.
(Optional.) Display command
keyword alias information.

Configuring and using command hotkeys

The system defines the hotkeys shown in
Pressing a command hotkey is the same as entering a command.
If a hotkey is also defined by the terminal software you are using to interact with the device, the terminal
software definition takes effect.
To configure a command hotkey:
Command
system-view
command-alias enable
command-alias mapping
cmdkey alias
display command-alias
Table 2
and provides five configurable command hotkeys.
5
Remarks
N/A
By default, the command keyword
alias function is disabled.
By default, no command keyword
alias is configured.
You must enter the cmdkey and alias
arguments in their complete form.
This command is available in any
view.

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

5900 series

Table of Contents