Console Server Mode
Configuring a serial port as a console server creates a TCP socket on the IP serial console unit that listens for a
Telnet or SSH client connection. When you connect to the TCP socket, you have access to the device attached to
the serial port as if the device were connected directly to the network. Data streamcan be sent back and forth
between the device and the Telnet/SSH client program.RawTCP is also supported with the Console Server Mode.
For console server mode, the user can configure the following parameters:
Listening TCP port number
The user can also access a serial port through the IP address of the IP serial console and the listening TCP port
number of the serial port. If the IP address of the IP serial console and the serial port are assigned as
192.168.123.100 and listening TCP port number 4001, the user can connect to the port as follows:
telnet 192.168.123.100 4001
Protocol
Select Telnet, SSH or Raw TCP as the protocol. If the users are using a Telnet client program, select Telnet. If the
users are using an SSH client program, select SSH. When Raw TCP is selected, direct TCP socket
communication is available between the IPCS and the remote host.
Inactivity
timeout
In order to avoid a client holding a TCP connection while no data transferring on the serial port for long time. If the
inactivity timeout is enabled, and no data activity between the IP serial console and the Telnet/ SSH client for the
specified inactivity timeout interval (no data activity in the serial port), the existing TCP session will automatically
be closed. If the user wants to maintain the connection indefinitely, configure the inactivity timeout period to 0.
TCP Keep-alive (no configuration required)
In order to avoid TCP connection lockup, the IP serial console will continue to check the connection status
between the Telnet/ SSH client and the IP serial console by sending “keep alive” packets periodically. If the Telnet/
SSH client does not answer the packets in a period of time, system will assume that the connection is down
unintentionally. The IPCS will close the existing Telnet/SSH connection, regardless of the inactivity setting. So the
TCP connection won’t be deadlocked when user’s application closed improperly or the network link interrupted.
Terminal Server Mode
In terminal server mode, the IP serial console will unit’s serial port is configured to wait for data from the device
connected to the port. If data arrive is detected, the IPCS unit starts a TCP session as a Telnet or SSH client to a
pre-defined server. The server must be defined by you before the port can be configured for a Telnet or SSH client.
This mode is used when you want to access servers on the network from a serial terminal. RawTCP is also
supported with the Terminal Server Mode.
Dial-in Modem Mode
In this mode, the IP serial console unit assumes an external modem is attached to the serial port and is waiting for
a dial-in connection from a remote site. When a user dials-in using a terminal application, the IP serial console unit
accepts the connection and displays the appropriate prompt or menu for you that logged in.
4.1 Serial Port Confi guration
Chapter 4
P.19