RUGGEDCOM ROX II
CLI User Guide
Chapter 10
Serial Server
Example: Serial Interfaces Configured as a Sink for
Multicast Streams 341
Step 1: Configure ser-1-1
1. Configure IP addresses for the interfaces (switch.0010 and switch.0020). For more information, refer to
Section7.1.3.2, “Adding an IPv4 Address”.
2. Create a rawsocket 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 rawsocket of the local port to 5001:
setrawsocket local-port 5001
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:
setrawsocket local-host 232.1.1.1
For more information, refer to Section10.6.2, “Adding a Local Host”.
6. Set switch.0010 as the interface for the local host:
interface switch.0010
For more information, refer to Section10.8.2, “Adding a Local Host Interface”
7. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Step 2: Configure ser-1-2
1. Create a raw socket connection for ser-1-2:
interface serial lm1 2 protocols rawsocket
For more information, refer to Section10.2.3, “Adding a Serial Port Protocol”.
2. Set the local port for raw socket to 6001:
setrawsocket local-port 6001
For more information, refer to Section10.2.6, “Configuring the Raw Socket Protocol”.
3. Set the transport method for raw socket to UDP:
setrawsocket transport udp
For more information, refer to Section10.2.6, “Configuring the Raw Socket Protocol”.
4. Set the multicast group for the local host to 232.2.2.2:
setrawsocket local-host 232.2.2.2
For more information, refer to Section10.6.2, “Adding a Local Host”.
5. Set switch.0020 as the interface for the local host:
interface switch.0020