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

39
This command takes effect in RTC terminal access only and is used by the RTC server to authenticate RTC
clients. To support terminal access authentication, passwords must be configured on the RTC server and
the RTC clients, and authentication succeeds only if the passwords match. If no authentication is need, do
not set any password on the RTC server or any RTC client.
Examples
# Configure the authentication password for VTY 1 as plaintext password abc.
<Sysname> system-view
[Sysname] rta template abc
[Sysname-rta-template-abc] vty 1 password simple abc
vty rtc-client remote
Use vty rtc-client remote to create a VTY to serve as an RTC client.
Use undo vty to remove the specified VTY.
Syntax
vty vty-number rtc-client 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 number, in the range of 0 to 7.
ip-address: Specifies the IP address of the RTC server.
port-number: Specifies the listening port number of the RTC server, in the range of 1024 to 50000.
source source-ip: Specifies the source IP address.
Usage guidelines
After you configure this command, no more Telnet VTYs, TTY VTYs, or RTC server VTYs can be configured
in the template of the VTY.
Examples
# Create VTY 1 to serve as an RTC client, setting the IP address of the corresponding RTC server to 1.1.1.1,
the listening port of the RTC server to 9010, and the source IP address to be used for establishing TCP
connections to 2.2.2.2.
<Sysname> system-view
[Sysname] rta template abc
[Sysname-rta-template-abc] vty 1 rtc-client remote 1.1.1.1 9010 source 2.2.2.2
Related commands
rta rtc-server listen-port
vty rtc-server remote