Chapter 10
Serial Server
RUGGEDCOM ROX II
CLI User Guide
348 Adding a Remote Host
ruggedcom# show running-config interface serial protocols rawsocket setrawsocket remote-host
interface
serial lm5 1
no alias
protocols rawsocket
setrawsocket local-port 30001
setrawsocket transport udp
setrawsocket remote-host 1.1.1.2 60001
!
setrawsocket remote-host 232.1.1.1 60001
interface switch.0010
!
!
!
!
!
!
If no remote hosts have been configured, add hosts as needed. For more information, refer to Section10.5.2,
“Adding a Remote Host”.
Section10.5.2
Adding a Remote Host
To add a remote host for a serial port using the raw socket protocol, do the following:
NOTE
A maximum of two multicast remote host entries are permitted per serial interface.
1. Make sure the CLI is in Configuration mode.
2. Add the remote host by typing:
interface serial slot port protocols rawsocket setrawsocket remote-host address remote-port
Where:
• slot is the name of the module location
• port is the port number (or a list of ports, if aggregated in a port trunk) for the module
• address is the IP address for the remote host or a multicast group IP address for which the interface is a
source
• remote-port is the port number for the remote host
3. Configure the following parameter(s) as required:
Parameter Description
loopback Synopsis: { true, false }
Default: false
Enables transmitting to the loopback interface with the destination multicast group IP
address and remote port. Matching local hosts with loopback enabled will receive the
transmitted data.
4. [Optional] Add a remote host interface. For more information, refer to Section10.7.2, “Adding a Remote Host
Interface”.
5. Type commit and press Enter to save the changes, or type revert and press Enter to abort.