
28
Example: Configuring UDP RTC one-to-many
Network configuration
, Router A and Router C act as UDP_11_Clients, and Router B acts as a
UDP_1N_Server.
Configure Router A, Router B, and Router C to enable both Terminal A and Terminal C to receive
data from Terminal B:
•
Configure the RTC server to use a UDP port number of 3000 and the RTC client to use a UDP
port number of 3001.
•
Set the terminal number to 1 on both the RTC client and the RTC server.
Figure 10 Network diagram
Procedure
1.
Configure the UDP_11_Client Router A:
# 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.21.13 remote-port
3000 udp local-port 3001 source 10.111.0.12
[Sysname-rta-template-rtcserver] quit
# Apply the template to the primary interface.
[Sysname] interface serial 2/1/0
[Sysname-Serial2/1/0] link-protocol stlp
[Sysname-Serial2/1/0] rta terminal rtcclient 1
[Sysname-Serial2/1/0] quit
2.
Configure the UDP_11_Client Router C:
# 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.21.13 remote-port
3000 udp local-port 3001 source 10.111.33.12
S2/1/0
GE1/0/1
10.111.0.12
GE1/0/1
10.111.21.13
S2/1/0
Terminal A
Terminal C
Router A
Router B
Router C
Terminal B
S2/1/0
IP network
GE1/0/1
10.111.33.12