No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

Fit AP V200R010C00 Command Reference

Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
hotkey

hotkey

Function

The hotkey command sets a shortcut key for a command.

The undo hotkey restores the system shortcut keys to the default values.

By default, the system sets the default values for three shortcut keys CTRL+G, CTRL+L, and CTRL+O, while does not set default value for CTRL+U.

Format

hotkey { CTRL_G | CTRL_L | CTRL_O | CTRL_U } command-text

undo hotkey { CTRL_G | CTRL_L | CTRL_O | CTRL_U }

Parameters

Parameter Description Value
CTRL_G Specifies the shortcut key Ctrl+G for a command. -
CTRL_L Specifies the shortcut key Ctrl+L for a command. -
CTRL_O Specifies the shortcut key Ctrl+O for a command. -
CTRL_U Specifies the shortcut key Ctrl+U for a command. -
command-text Specifies the associated command line for shortcut keys. The value is a string of 1 to 240 characters.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

You can set a shortcut key for a command that is often used; you can also change the default value of the shortcut key that is defined by the system according to your requirements.

Precautions

Four shortcut keys are customized by users: CTRL+G, CTRL+L, CTRL+O, and CTRL+U.

  • By default, the shortcut key CTRL+G corresponds to the display current-configuration command which displays current configuration.

  • By default, the shortcut key CTRL+L corresponds to the undo idle-timeout command which restores the default timeout period.
  • By default, the shortcut key CTRL+O corresponds to the undo debugging all command which stops the output of all debugging information.

After you use the hotkey command to set a shortcut key for a command, you can run the command by pressing the shortcut key or entering a command.

NOTE:

One shortcut key can be set for only one command. If you set a shortcut key for multiple commands, only the latest configuration takes effect.

When assigning a command for a shortcut key, you need to mark the command with double quotation marks if the command consists of several words, that is, the command includes spaces. You do not need to mark the command with double quotation marks if the command consists of only one word.

Example

# Assign the display tcp status command for the shortcut key CTRL+L.

<Huawei> system-view
[Huawei] hotkey ctrl_l "display tcp status"
[Huawei] display hotkey
----------------- HOTKEY -----------------                                      
                                                                                
            =Defined hotkeys=                                                   
Hotkeys Command                                                                 
CTRL_G  display current-configuration                                           
CTRL_L  display tcp status                                                      
CTRL_O  undo debugging all                                                      
                                                                                
           =Undefined hotkeys=                                                  
Hotkeys Command                                                                 
CTRL_U  NULL                                                                    
                                                                                
            =System hotkeys=                                                    
Hotkeys Function                                                                
CTRL_A  Move the cursor to the beginning of the first line                      
CTRL_B  Move the cursor one character left                                      
CTRL_C  Stop current command function                                           
CTRL_D  Erase current character                                                 
CTRL_E  Move the cursor to the end of the Last line                             
CTRL_F  Move the cursor one character right                                     
CTRL_H  Erase the character left of the cursor                                  
CTRL_I  Perform the same fucntion as the "Tab" key                              
CTRL_J  Perform the same fucntion as the "Enter" key                            
CTRL_K  Kill outgoing connection when connecting                                
CTRL_M  Perform the same fucntion as the "Enter" key                            
CTRL_N  Display the next command from the history buffer                        
CTRL_T  Function as a question mark 
CTRL_P  Display the previous command from the history buffer                    
CTRL_W  Delete the word left of the cursor                                      
CTRL_X  Delete all characters up to the cursor                                  
CTRL_Y  Delete all characters after the cursor                                  
CTRL_Z  Return to the user view                                                 
CTRL_]  Kill incoming connection or redirect connection                         
ESC_B   Move the cursor one word back                                           
ESC_D   Delete remainder of word                                                
ESC_F   Move the cursor forward one word 
Related Topics
Translation
Download
Updated: 2019-07-18

Document ID: EDOC1100064353

Views: 93131

Downloads: 68

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next