beautypg.com

Set service – Perle Systems DS1 User Manual

Page 78

background image

Server Commands

78

IOLAN Device Server User’s Guide, Version 1.0

Set Service

prompt-with-name

Displays the

Server Name

field value instead of default product name. When enabled,

the

Server Name

is displayed in the Device Server login prompt, CLI prompt,

WebManager login screen, and the heading of the Menu. The default value is

Off

.

single-telnet

Sets all reverse connections (raw and telnet) to a one connection at a time mode.

Server-side applications will get a (socket) connection refused until:

z

All data from previous connections on that serial port has drained

z

There are no other connections

z

Up to a 1 second interconnection poll timer has expired

This also enables a per-connection keepalive TCP keepalive feature. After
approximately 3 minutes of network connection idle time, the connection will send a

gratuitous ACK to the network peer, thus either ensuring the connection stays active

OR causing a dropped connection condition to be recognised by the reverse service (all
connections).
Applications using Single Telnet need to be aware that there can be some considerable

delay between a network disconnection and the port being available for the next
connection attempt; this is to allow any data sent on prior connections to be transmitted

out of the serial port. Application network retry logic needs to accommodate this

feature. The default value is

Off

.

subnet-bit-length

The number of bits in the subnet mask. For example, a subnet mask of 255.255.0.0
has 16 subnet/prefix bits. Valid values are 0-31. The default is 0. When the value is 0,

the correct value is determined based on the class of the IP Address.

retry

The number of times the Device Server will attempt to transfer (using TFTP) a file

to/from a host. Enter a value between 0 and 5. The default is 5. A value of 0 (zero)
means that the Device Server will not attempt a retry should TFTP fail.

timeout

The time, in seconds, that the Device Server will wait for a successful transmit or

receipt of TFTP packets before retrying a TFTP transfer. Enter a value between 3 and

10. The default is

3

seconds.

Description Sets server service parameters.
User Level Admin
Syntax

set service [dhcp/bootp on|off] [telnetd on|off] [httpd on|off]

[snmpd on|off] [spcd on|off] [syslog on|off] [dmgrd on|off]

Options

dhcp/bootp

DHCP/BOOTP client process in the Device Server.

telnetd

Telnet daemon process in the Device Server on port 23.

httpd

HTTP daemon process in the Device Server on port 80.

snmpd

SNMP daemon process in the Device Server on port 161.