H3C配置热键hotkey系统视图

Hotkey作用

hotkey 命令用来为某一快捷键指定相应的命令行。

undo hotkey 命令用来恢复系统的默认值。

————————————————————————————————————

    查看热键hotkey

[H3C]display hotkey         //显示热键     

—————– HOTKEY —————–

            =Defined hotkeys=         //系统默认定义的3个热键

Hotkeys Command

CTRL_G  display current-configuration ——》显示当前配置

CTRL_L  display ip routing-table      ——》显示路由表信息

CTRL_O  undo debugging all            ——》停止所有调试信息的输出

           =Undefined hotkeys=       //没有定义的2个热键,我们可以自己设定

Hotkeys Command

CTRL_T  NULL        这才是我们需要定义的热键,只有两个,不过上面3个可以修改

CTRL_U  NULL

            =System hotkeys=         //系统热键

Hotkeys Function

CTRL_A  Move the cursor to the beginning of the current 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 current line.

CTRL_F  Move the cursor one character right.

CTRL_H  Erase the character left of the cursor.

CTRL_K  Kill outgoing connection.

CTRL_N  Display the next command from the history buffer.

CTRL_P  Display the previous command from the history buffer.

CTRL_R  Redisplay the current line.

CTRL_V  Paste text from the clipboard.

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.

ESC_N   Move the cursor down a line.

ESC_P   Move the cursor up a line.

ESC_<   Specify the beginning of clipboard.

ESC_>   Specify the end of clipboard.

# 将命令display tcp status 与快捷键CTRL_T 关联。

[H3C] hotkey CTRL_T display tcp status

发表评论