RS232 Interface (IKR) for Imola routers
U
SER
G
UIDE
115
removes the backup host from the configuration.
set tserv0 max-buffer-size
sets the
buffers dimensions
to receive data. Default value is 1500 bytes.
set tserv0 host-timer <msec>
configures the
waiting time
, in milliseconds, of the connection to one of the configured host.
set tserv0 idle-timer <msec>
configures the
inactivity time
, in milliseconds, after which the connection to the remote system is
closed.
set tserv0 connect-on-demand <0|1>
The parameter
1
is used to establish the TCP/IP connection with the remote system only if data are
received by the serial port. The parameter
0
establishes the connection from the start.
set tserv0 on
activates the application with the set parameters.
set tserv0 off
deactivates the application.
show config current tserv0
allows to view the current configuration. Below you find, as example, the default configuration
output:
set tserv0 primary-host 127.0.0.1
set tserv0 primary-port 8899
set tserv0 no-secondary-host
set tserv0 no-secondary-port
set tserv1 max-buffer-size 1500
set tserv0 no-backup-host
set tserv0 no-backup-port
set tserv0 tty-server-port 8081
set tserv1 host-timeout 3000
set tserv0 tty-speed 9600
set tserv0 no-tty-flowcontrol
set tserv1 tty-stopbits 1
set tserv1 tty-parity 0
set tserv1 tty-databits 8
set tserv0 idle-timer 300000
set tserv0 no-tty-check-dcd
set tserv0 no-tty-check-dsr
set tserv0 no-tty-check-cts
Starting from the default configuration, below you find an example where you find a command
sequence where the Terminal Server accepts connections from the host on the default port
8080
,
or, if there are no connections, it opens the connection with the host cyclically on the port
19000
and on the port
18000
; all of this without the backup host.
set tserv0 primary-host 85.34.166.21