Chapter 10
Serial Server
RUGGEDCOM ROX II
CLI User Guide
344
Example: Serial Interfaces Configured as a Source for
Multicast Streams
interface switch.0010
interface switch.0020
For more information, refer to Section10.7.2, “Adding a Remote 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 rawsocket of the local port to 10002:
setrawsocket local-port 10002
For more information, refer to Section10.2.6, “Configuring the Raw Socket Protocol”.
3. Set the transport method 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 and the UDP destination port to 6001:
setrawsocket local-host 232.2.2.2 6001
For more information, refer to Section10.6.2, “Adding a Local Host”.
5. Set switch.0030 and switch.0040 as the interfaces for the remote host:
interface switch.0030
interface switch.0040
For more information, refer to Section10.7.2, “Adding a Remote Host Interface”
6. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
7. Verify the configuration by typing the following:
traceserial
Final Configuration Example
Serial Port 1 Configuration
serial lm1 1
no alias
protocols rawsocket
setrawsocket local-port 10001
setrawsocket transport udp
setrawsocket remote-host 232.1.1.1 5001
interface switch.0010
!
interface switch.0020
Serial Port 2 Configuration
serial lm1 2
no alias