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:
Содержание RUGGEDCOM ROX II
Страница 2: ...RUGGEDCOM ROX II CLI User Guide ii ...
Страница 4: ...RUGGEDCOM ROX II CLI User Guide iv ...
Страница 39: ...RUGGEDCOM ROX II CLI User Guide Table of Contents xxxix 19 5 VLANs 752 ...
Страница 40: ...Table of Contents RUGGEDCOM ROX II CLI User Guide xl ...
Страница 46: ...Preface RUGGEDCOM ROX II CLI User Guide xlvi Customer Support ...
Страница 96: ...Chapter 2 Using RUGGEDCOM ROX II RUGGEDCOM ROX II CLI User Guide 50 Accessing Maintenance Mode ...
Страница 170: ...Chapter 5 System Administration RUGGEDCOM ROX II CLI User Guide 124 Deleting a Scheduled Job ...
Страница 256: ...Chapter 6 Security RUGGEDCOM ROX II CLI User Guide 210 Enabling Disabling a Firewall ...
Страница 402: ...Chapter 11 Wireless RUGGEDCOM ROX II CLI User Guide 356 Managing Cellular Modem Profiles ...
Страница 646: ...Chapter 13 Unicast and Multicast Routing RUGGEDCOM ROX II CLI User Guide 600 Deleting a Multicast Group Prefix ...
Страница 732: ...Chapter 15 Network Discovery and Management RUGGEDCOM ROX II CLI User Guide 686 Viewing NETCONF Statistics ...
Страница 790: ...Chapter 17 Time Services RUGGEDCOM ROX II CLI User Guide 744 Deleting a Broadcast Multicast Address ...