RUGGEDCOM ROX II
CLI User Guide
Chapter 10
Serial Server
Example: Serial Interfaces Configured as a Source for
Multicast Streams 343
switch.0030
30.1.0.1/8
ser-1-1
ser-1-2
232.2.2.2:6001
232.1.1.1:5001
switch.0040
40.1.0.1/8
40.1.4.1/8
232.2.2.2:6001
40.1.4.2/8
232.2.2.2:6001
30.1.3.1/8
232.2.2.2:6001
30.1.3.2/8
232.2.2.2:6001
switch.0020
20.1.0.1/8
switch.0010
10.1.0.1/8
10.1.1.1/8
232.1.1.1:5001
10.1.1.2/8
232.1.1.1:5001
20.1.2.1/8
232.1.1.1:5001
20.1.2.2/8
232.1.1.1:5001
S1
S2
3
Figure13:Topology - Serial Interfaces Configured as a Source for Multicast Streams
1.Serial Devices 2.Source Device (RUGGEDCOM RX5000 Series Device) 3.Listeners
Step 1: Configure ser-1-1
1. Configure IP addresses for the interfaces (switch.0010, switch.0020, switch.0030, and switch.0040). For
more information, refer to Section7.1.3.2, “Adding an IPv4 Address”.
2. Create a raw socket connection for ser-1-1:
interface serial lm1 1 protocols rawsocket
For more information, refer to Section10.2.3, “Adding a Serial Port Protocol”.
3. Set the raw socket of the local port to 10001:
setrawsocket local-port 10001
For more information, refer to Section10.2.6, “Configuring the Raw Socket Protocol”.
4. Set the transport method to UDP:
setrawsocket transport udp
For more information, refer to Section10.2.6, “Configuring the Raw Socket Protocol”.
5. Set the multicast group for the local host to 232.1.1.1 and the UDP destination port to 5001:
setrawsocket remote-host 232.1.1.1 5001
For more information, refer to Section10.5.2, “Adding a Remote Host”.
6. Set switch.0010 and switch.0020 as the interfaces for the remote host: