912
C
70: T
HAPTER
ERMINAL
Example
reset rta connection
Syntax
View
Parameters
Description
Example
reset rta statistics
Syntax
View
A
C
CCESS
ONFIGURATION
Use the
undo redrawkey
redrawing.
By default, no hotkey is configured for terminal redrawing.
The terminal redrawing hotkey can be set in TTY terminal access only. Terminal
redrawing works in a similar way as the screen saving function of VTY switching.
When a terminal does not exhibit the normal terminal interface for some reasons
(for example, when illegible characters appear), pressing the terminal redrawing
hotkey can restore the original terminal interface.
n
Before performing terminal redrawing, you must add the screen 1 command to
■
the configuration file ttyd on the FEP.
The ASCII value of the redrawing hotkey configured must be different from
■
that of any other hotkey configured on the device. Otherwise, hotkey conflicts
will occur. For example, the hotkey value cannot be set to 17 or 19 because
these two values are used for the hotkeys of flow control.
Using the hotkey may not get a response rapidly when the terminal displays
■
too much data.
# Configure the terminal redrawing hotkey as <Ctrl+A> by setting its ASCII value
to 1.
<Sysname> system-view
[Sysname] rta template abc
[Sysname-rta-template-abc] redrawkey 1
reset rta connection terminal-number vty-number
User view
terminal-number: Terminal number, ranging 1 to 255.
vty-number: VTY number, ranging 0 to 7.
Use the
reset rta connection
connection corresponding to a VTY of a terminal.
# Tear down the TCP connection corresponding to terminal 1.
<Sysname> reset rta connection 1 1
reset rta statistics terminal-number
User view
C
OMMANDS
command to cancel the hotkey configured for terminal
command to forcibly tear down the TCP