HP 6125G Command Reference Manual page 33

6125 blade switch series fundamentals command reference
Hide thumbs Also See for 6125G:
Table of Contents

Advertisement

3: Manage level
Parameters
character: Specifies the shortcut key for terminating a task, a single character (or its corresponding ASCII
code value in the range of 0 to 127) or a string of 1 to 3 characters. Only the first character of a string
functions as the shortcut key. For example, if you enter an ASCII code value of 1 13, the system uses its
corresponding character q as the shortcut key. If you enter the string q@c, the system uses the first
character q as the shortcut key.
default: Restores the default escape key sequence Ctrl+C.
Description
Use escape-key to define a shortcut key for terminating a task.
Use undo escape-key to disable the shortcut key for terminating tasks.
By default, you can use Ctrl+C to terminate a task.
After you define a new shortcut key by using the escape-key command, the new shortcut key is used to
terminate a task. To display the shortcut key you have defined, use the display current-configuration
command.
If you set the character argument in a user interface to log in to the device and then Telnet to another
device, the character argument can be used as a control character to terminate a task rather than used
as a common character. For example, if you specify character e in VTY 0 user interface of Device A,
when you log in to Device A by using VTY 0 from a PC (HyperTerminal), you can input e as a common
character on the PC, and you can also use e to terminate the task running on Device A. If you Telnet to
Device B from Device A, you can only use e to terminate the task running on Device B, rather than use e
as a common character, so specify character as a key combination.
Examples
# Define key a as the shortcut key for terminating a task.
<Sysname> system-view
[Sysname] user-interface aux 0
[Sysname-ui-aux0] escape-key a
To verify the configuration:
Ping the IP address of 192.168.1.49 and use the -c keyword to specify the number of ICMP echo
1.
packets to be sent as 20.
<Sysname> ping -c 20 192.168.1.49
PING 192.168.1.49: 56
Reply from 192.168.1.49: bytes=56 Sequence=1 ttl=255 time=3 ms
Reply from 192.168.1.49: bytes=56 Sequence=2 ttl=255 time=3 ms
Enter a.
2.
The task terminates immediately and the system returns to system view.
--- 192.168.1.49 ping statistics ---
2 packet(s) transmitted
2 packet(s) received
0.00% packet loss
round-trip min/avg/max = 3/3/3 ms
<Sysname>
data bytes, press a to break
26

Advertisement

Table of Contents
loading

This manual is also suitable for:

6125g/xg

Table of Contents