15
Syntax
activation-key
character
undo activation-key
Default
Pressing the
Enter
key starts a terminal session.
Views
AUX user interface view
Default command level
3: Manage level
Parameters
character
: Specifies the shortcut key for starting a terminal session, a single character (or its
corresponding ASCII code value in the range of 0 to 127), or a string of 1 to 3 characters. However, only
the first character functions as the shortcut key. For example, if you enter ASCII code value 97, the system
uses its corresponding character
a
as the shortcut key. If you enter string b@c, the system uses the first
character
b
as the shortcut key.
Usage guidelines
To display the shortcut key you have defined, use the
display current-configuration
command.
Examples
# Configure character
s
as the shortcut key for starting a terminal session on the console port.
<Sysname> system-view
[Sysname] user-interface aux 0
[Sysname-ui-aux0] activation-key s
To verify the configuration:
1.
Exit the terminal session on the console port.
[Sysname-ui-aux0] return
<Sysname> quit
2.
Log in to the console port again.
The following message appears.
******************************************************************************
* Copyright (c) 2004-2014 Hangzhou H3C Tech. Co., Ltd. All rights reserved. *
* Without the owner's prior written consent, *
* no decompiling or reverse-engineering shall be allowed. *
******************************************************************************
User interface aux0 is available.
Please press ENTER.
3.
Press
Enter
.
At this moment, pressing
Enter
does not start a session.