Configuring And Using Command Keyword Aliases; Configuring And Using Hotkeys - HP 6125G Configuration Manual

Fundamentals configuration guide
Hide thumbs Also See for 6125G:
Table of Contents

Advertisement

saved-configuration and system-view. To enter system view, you only need to enter sy. To set the
configuration file to be used at the next startup, you can enter st s.
You can also press Tab to have an incomplete keyword automatically completed.

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 show to execute
a display 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 you press Tab after entering part of an alias, the keyword is displayed.
If a string you entered partially matches a keyword and an alias, 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 exactly matches a keyword but partially matches an alias, the command
indicated by the keyword is executed. To execute the command indicated by the alias, enter the
complete alias.
If you enter a string that partially matches multiple aliases, the system gives you a prompt.
Configuration procedure
To configure a command keyword alias:
Step
1.
Enter system view.
2.
Enable the command
keyword alias function.
3.
Configure a command
keyword alias.

Configuring and using hotkeys

To facilitate CLI operation, the system defines some hotkeys and provides five configurable command
hotkeys. Pressing a command hotkey equals entering a command. For system-reserved hotkeys, see
3.
To configure hotkeys:
Step
1.
Enter system view.
Command
system-view
command-alias enable
command-alias mapping cmdkey
alias
Command
system-view
6
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.
Remarks
N/A
Table

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

5500 hi series6125 blade switch series

Table of Contents