28
character to terminate a task, rather than 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 through VTY 0 from a PC
(HyperTerminal), you can enter
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. It is a good practice to specify a key
sequence.
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:
1.
Ping the IP address of 192.168.1.49 and use the
-c
keyword to specify the number of ICMP echo
packets to be sent as 20.
<Sysname> ping -c 20 192.168.1.49
PING 192.168.1.49: 56 data bytes, press a to break
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
2.
# Enter
a
.
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>
flow-control
Use
flow-control
to configure the flow control mode.
Use
undo flow-control
to restore the default.
Syntax
flow-control
{
hardware
|
none
|
software
}
undo flow-control
Default
The flow control mode is
none
, and no flow control is performed.
Views
AUX user interface view
Default command level
2: System level
Parameters
hardware
: Performs hardware flow control.