H3C S7500E Series Command Manual page 17

Hide thumbs Also See for S7500E Series:
Table of Contents

Advertisement

Command Manual – Login
H3C S7500E Series Ethernet Switches
1.1.8 escape-key
Syntax
escape-key { default | character }
undo escape-key
View
User interface view
Parameters
default: Restores the default escape key combination <Ctrl + C>.
character: Specifies the shortcut key for aborting a task, a single character (or its
corresponding ASCII code value in the range 0 to 127) or a string of 1 to 3 characters.
Description
Use the escape-key command to define a shortcut key for aborting tasks.
Use the undo escape-key command to restore the default shortcut key.
You can use a single character (or its corresponding ASCII code value in the range 0 to
127) or a string of 1 to 3 characters to define a shortcut key. But in fact, only the first
character functions as the shortcut key. For example, if you enter an ASCII value 113,
the system will use its corresponding character <q> as the shortcut key; if you input the
string q@c, the system will use the first letter <q> as the shortcut key.
By default, you can use <Ctrl + C> to terminate a task. You can use the display
current-configuration command to verify the shortcut key you have defined.
Examples
# Define <Q> as the escape key.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] user-interface aux 0
[Sysname-ui-aux0] escape-key Q
To verify the configuration, do the following:
# Run the ping command to test the connection.
<Sysname> ping –c 20 125.241.23.46
PING 125.241.23.46: 56
Request time out
--- 125.241.23.46 ping statistics ---
2 packet(s) transmitted
0 packet(s) received
Chapter 1 Commands for Logging into an
data bytes, press Q to break
1-9
Ethernet Switch

Advertisement

Table of Contents
loading

Table of Contents