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

45
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 number of the ttyd program on the FEP, in the range of 1024 to
50000.
source source-ip: Specifies the source IP address.
Usage guidelines
After this configuration, no more RTC client VTYs or RTC server VTYs can be configured in the template
of the VTY.
Examples
# Create VTY 1 for TTY terminal access, setting FEP IP a d d r e s s t o 1.1.1.1, l i s t e n i n g p o r t n u m b e r t o 9 010 ,
and source IP address to 2.2.2.2.
<Sysname> system-view
[Sysname] rta template abc
[Sysname-rta-template-abc] vty 1 tty remote 1.1.1.1 9010 source 2.2.2.2
vty-switch priority
Use vty-switch priority to configure the RTC server to perform VTY switching based on priority.
Use undo vty-switch priority to restore the default setting.
Syntax
vty-switch priority
undo vty-switch priority
Default
The VTY switching is performed not based on priority.
Views
Terminal template view
Default command level
2: System level
Usage guidelines
This command takes effect in RTC terminal access. When VTY switching is performed based on priority
(the lower the VTY number, the higher the priority), if the VTY number corresponding to the connection
request received is less than the VTY number corresponding to the existing connection, the RTC server
tears down the existing connection and uses the new connection for communication. If a connection has
been established and this command is not used, any newer connection will be torn down.
Examples
# Configure the RTC server to perform VTY switching based on priority.
<Sysname> system-view
[Sysname] rta template abc