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

43
Default command level
2: System level
Parameters
vty-number: Specifies a VTY by its number, in the range of 0 to 7.
string: Specifies the terminal screen code, a string of 1 to 15 characters.
Usage guidelines
Some types of terminals provide the screen saving function. When such a terminal receives the specified
screen code, such as \E!10Q (for more information about screen codes, see the related terminal
documents), it saves the current interface and switch to the corresponding screen.
This function requires terminal support and the screen code configured on the router and that specified
on the terminal must be the same. Screen codes configured vary with terminal types. For more
information, see the corresponding terminal documents. For example, Start terminals support \E!8Q,
\E!9Q, \E!10Q, \E!11Q, \E!12Q, and \E!13Q. To support screen saving and menu printing, the menu
screencode command must be used.
Examples
# Set the screen code for VTY 1 to \E!9Q.
<Sysname> system-view
[Sysname] rta template abc
[Sysname-rta-template-abc] vty 1 screencode \E!9Q
Related commands
menu screencode
vty ssh remote
Use vty ssh remote to create a VTY for SSH terminal access.
Use undo vty to remove the specified VTY.
Syntax
vty vty-number ssh remote ip-address [ port-number ] [ source source-ip ]
undo vty vty-number
Views
Terminal template view
Default command level
2: System level
Parameters
vty-number: Specifies a VTY by its number, in the range of 0 to 7.
ip-address: Specifies the FEP IP address.
port-number: Specifies the listening port of the SSH program on the FEP. It ranges 1 to 50000 and
defaults to 22.
source source-ip: Specifies the source IP address.