Chapter 10
Serial Server
RUGGEDCOM ROX II
CLI User Guide
346
Example: Serial Interfaces Configured as a Source and Sink
for Multicast Streams
Configure ser-1-1 and ser-1-2
1. Configure IP addresses for the interfaces (switch.0010 and switch.0020). For more information, refer to
Section 7.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
Section 10.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
Section 10.2.6, “Configuring the Raw Socket Protocol”
.
4. Set the transport method to
UDP
:
setrawsocket
transport udp
For more information, refer to
Section 10.2.6, “Configuring the Raw Socket Protocol”
.
5. Set the multicast group for the remote 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
Section 10.5.2, “Adding a Remote Host”
6. Set
switch.0010
and
switch.0020
as the interfaces for the remote host:
interface
switch.0010
interface
switch.0020
For more information, refer to
Section 10.7.2, “Adding a Remote Host Interface”
7. Enable remote host loopback:
loopback
true
For more information, refer to
Section 10.6.2, “Adding a Local Host”
8. Create a raw socket connection for ser-1-2:
interface
serial lm1 2 protocols rawsocket
For more information, refer to
Section 10.2.3, “Adding a Serial Port Protocol”
9. Set the raw socket of the local port to 5001. This must be the same as the UDP destination port of the
multicast remote host configured for ser-1-1:
setrawsocket
local-port 5001
For more information, refer to
Section 10.6.2, “Adding a Local Host”
10. Set the transport method to
UDP
:
setrawsocket
transport udp
For more information, refer to
Section 10.2.6, “Configuring the Raw Socket Protocol”
.
11. Set the multicast group for the local host to 232.1.1.1. This must be the same as the destination multicast
group configured for the multicast remote host configured for ser-1-1.
setrawsocket
local-host 232.1.1.1
For more information, refer to
Section 10.6.2, “Adding a Local Host”
12. Enable local host loopback:
Summary of Contents for RUGGEDCOM ROX II
Page 2: ...RUGGEDCOM ROX II CLI User Guide ii ...
Page 4: ...RUGGEDCOM ROX II CLI User Guide iv ...
Page 39: ...RUGGEDCOM ROX II CLI User Guide Table of Contents xxxix 19 5 VLANs 752 ...
Page 40: ...Table of Contents RUGGEDCOM ROX II CLI User Guide xl ...
Page 46: ...Preface RUGGEDCOM ROX II CLI User Guide xlvi Customer Support ...
Page 170: ...Chapter 5 System Administration RUGGEDCOM ROX II CLI User Guide 124 Deleting a Scheduled Job ...
Page 256: ...Chapter 6 Security RUGGEDCOM ROX II CLI User Guide 210 Enabling Disabling a Firewall ...
Page 402: ...Chapter 11 Wireless RUGGEDCOM ROX II CLI User Guide 356 Managing Cellular Modem Profiles ...