21
Figure 5 Network diagram
Procedure
1.
Configure the RTC server:
# Enable terminal access.
<Sysname> system-view
[Sysname] rta server enable
# Set the listening port of the server.
[Sysname] rta rtc-server listen-port 9000
# Create a terminal template and enter terminal template view.
[Sysname] rta template rtcserver
# Configure the VTY.
[Sysname-rta-template-rtcserver] vty 0 rtc-server remote 10.111.0.12 1
[Sysname-rta-template-rtcserver] vty 0 password simple 123
[Sysname-rta-template-rtcserver] quit
# Apply the template to the interface.
[Sysname] interface serial 2/2/0
[Sysname-Serial2/2/0] link-protocol stlp
[Sysname-Serial2/2/0] rta terminal rtcserver 1
[Sysname-Serial2/2/0] quit
2.
Configure the RTC client:
# Enable terminal access.
<Sysname> system-view
[Sysname] rta server enable
# Create a terminal template and enter terminal template view.
[Sysname] rta template rtcclient
# Configure the VTY.
[Sysname-rta-template-rtcclient] vty 0 rtc-client remote 10.111.95.10 9000
[Sysname-rta-template-rtcclient] vty 0 password simple 123
[Sysname-rta-template-rtcclient] quit
# Apply the template to the interface.
[Sysname] interface serial 2/2/0
[Sysname-Serial2/2/0] link-protocol stlp
[Sysname-Serial2/2/0] rta terminal rtcclient 1
[Sysname-Serial2/2/0] quit
Verifying the configuration
# Send an instruction from the central terminal to the remote terminal.
IP network
RTC Client
RTC Server
Central terminal
Remote terminal
S2/2/0
GE1/0/1
10.111.0.12
GE1/0/1
10.111.95.10
S2/2/0