R2511-HP MSR Router Series Terminal Access Command Reference(V5)

18
Default
No hotkey is configured for terminal redrawing.
Views
Terminal template view
Default command level
2: System level
Parameters
ascii-code&<1-3>: Sets the ASCII value of the redraw hotkey, in the range of 1 to 255. The &<1-3>
means that you can provide up to three ASCII values.
Usage guidelines
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 display the normal
terminal interface for some reasons (for example, when illegible characters appear), pressing the
terminal redrawing hotkey can restore the original terminal interface.
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
17 or 19 because these values are used for flow control.
Using the hotkey may not get a fast response when the terminal display is busy.
Examples
# 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
Use reset rta connection to forcibly tear down the TCP connection corresponding to a VTY of a terminal.
Syntax
reset rta connection terminal-number vty-number
Views
User view
Default command level
1: Monitor level
Parameters
terminal-number: Specifies a terminal by number, in the range of 1 to 255.
vty-number: Specifies a VTY by number, in the range of 0 to 7.
Examples
# Tear down the TCP connection corresponding to VTY 1 of terminal 1.
<Sysname> reset rta connection 1 1