26Default level3: Manage levelParameterscharacter: Specifies the shortcut key for aborting a task, a single character (or its ASCII code value in therange 0 to 127) or a string of 1 to 3 characters. Only the first character of a string functions as the shortcutkey. If you enter an ASCII code value of 113, the system uses its character q as the shortcut key. If you enterthe string q@c, the system uses the first character q as the shortcut key.default: Restores the default escape key combination of Ctrl+C.DescriptionUse the escape-key command to define a shortcut key for aborting a task. The new shortcut key functionsto terminate a task.Use the undo escape-key command to disable the shortcut key for aborting tasks.By default, a task is terminated by pressing Ctrl+C.To display the shortcut key you have defined, use the display current-configuration command.If you set the character argument in a user interface of a device to log in to the device and then telnet toanother device, the character argument can only be used as a control character to abort a task (not forinput as a common character). For example, if you specify character as e in VTY 0 user interface ofDevice A, when you log in to Device A by using VTY 0 on a PC (Hyper Terminal), you can input e as acommon character on the PC, and you can also use e to terminate the task running on Device A. If youtelnet to Device B from Device A, you can only use e to terminate the task running on Device B, rather thaninput e as a common character. To avoid this, specify character as a key combination.Examples# Define key a as the shortcut key for aborting a task. system-view[Sysname] user-interface aux 0[Sysname-ui-aux0] escape-key aTo verify the configuration, perform the following opeations:# Use the ping command to check the reachability of the device with the IP address of 192.168.1.49, anduse the -c keyword to specify the number of ICMP echo packets to be sent as 20. ping -c 20 192.168.1.49PING 192.168.1.49: 56 data bytes, press a to breakReply from 192.168.1.49: bytes=56 Sequence=1 ttl=255 time=3 msReply from 192.168.1.49: bytes=56 Sequence=2 ttl=255 time=3 ms# Enter a. The task terminates immediately and the system returns to system view.--- 192.168.1.49 ping statistics ---2 packet(s) transmitted2 packet(s) received0.00% packet lossround-trip min/avg/max = 3/3/3 msflow-control