923
<Sysname> system-view
[Sysname] rta template abc
[Sysname-rta-template-abc] vty 1 password simple abc
vty rtc-client remote
Syntax vty vty-number rtc-client remote ip-address port-number [source source-ip ]
undo vty vty-number
View Terminal template view
Parameters vty-number: VTY number, ranging 0 to 7.
ip-address: IP address of the RTC server.
port-number: Listening port number of the RTC server, ranging 1024 to 50000.
source source-ip: Source IP address bound.
Description Use the vty rtc-client remote command to create a VTY to serve as an RTC
client.
Use the undo vty command to remove the specified VTY.
Note that, after this configuration, no more Telnet VTYs, TTY VTYs, or RTC server
VTYs can be configured in the template of the VTY.
Related command: rta rtc-server listen-port and vty rtc-server remote.
Example # 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
vty rtc-server remote
Syntax vty vty-number rtc-server remote ip-address terminal-number
undo vty vty-number
View Terminal template view
Parameters vty-number: VTY number, ranging 0 to 7.
ip-address: RTC client IP address.