Digi One and Portserver Ts Family: Command Reference
Digi One and Portserver Ts Family: Command Reference
Digi One and Portserver Ts Family: Command Reference
Command Reference
Revision history—90001535
Revision Date Description
R January 2014 Added information on the port logging feature and improved
screen captures.
T December 2016 Updated the cover page and removed references to the DF1 half
duplex protocol.
Disclaimers
Information in this document is subject to change without notice and does not represent a commitment on the
part of Digi International. Digi provides this document “as is,” without warranty of any kind, expressed or implied,
including, but not limited to, the implied warranties of fitness or merchantability for a particular purpose. Digi
may make improvements and/or changes in this manual or in the product(s) and/or the program(s) described in
this manual at any time.
Warranty
To view product warranties online, visit www.digi.com/howtobuy/terms.
Send comments
Documentation feedback: To provide feedback on this document, send your comments to
techcomm@digi.com.
Customer support
Digi Technical Support: Digi offers multiple technical support plans and service packages to help our customers
get the most out of their Digi product. For information on Technical Support plans and pricing, please contact us
at +1 952.912.3456 or visit www.digi.com/support.
Support portal login: www.digi.com/support/eservice.
Contents 3
quit....................................................................................................... 79
reconnect............................................................................................. 80
remove................................................................................................. 81
revert ................................................................................................... 83
rlogin.................................................................................................... 87
send..................................................................................................... 89
set altip ................................................................................................ 91
set arp.................................................................................................. 93
set auth................................................................................................ 94
set buffer.............................................................................................. 98
set chat ................................................................................................ 99
set config ...........................................................................................101
set consmenu .................................................................................... 107
set device ..........................................................................................109
set dhcp .............................................................................................111
set embmodem..................................................................................113
set ethernet........................................................................................114
set filter .............................................................................................. 116
set flow .............................................................................................. 121
set forwarding .................................................................................... 125
set host .............................................................................................. 129
set ia ..................................................................................................130
set ippool ...........................................................................................152
set keys .............................................................................................153
set line ...............................................................................................155
set logins ...........................................................................................158
set logport..........................................................................................161
set mei ...............................................................................................164
set menu............................................................................................165
set modem.........................................................................................168
set netlogins ......................................................................................170
set netport..........................................................................................173
set pmodem.......................................................................................174
set ports.............................................................................................175
set powerunit .....................................................................................181
set profiles .........................................................................................184
set radius ...........................................................................................187
set rloginoption ..................................................................................190
set route.............................................................................................191
set rpauth...........................................................................................193
set script ............................................................................................194
set secureaccess...............................................................................200
4 Contents
set service .........................................................................................202
set sharing .........................................................................................204
set snmp ............................................................................................208
set snmpauth .....................................................................................211
set sntp .............................................................................................. 213
set socketid........................................................................................215
set switches .......................................................................................217
set tcpip .............................................................................................221
set telnetip .........................................................................................224
set terms............................................................................................226
set time .............................................................................................. 228
set timezone ......................................................................................229
set trace.............................................................................................231
set udpdest ........................................................................................232
set udpserial ......................................................................................234
set user.............................................................................................. 237
set web .............................................................................................. 250
show ..................................................................................................251
status .................................................................................................254
telnet..................................................................................................255
traceroute ..........................................................................................257
uptime................................................................................................258
wan ....................................................................................................259
who ....................................................................................................261
Index....................................................................................................... 275
Contents 5
6 Contents
Quick Reference for Configuring Features
Chapter 1 C o m m a n d L i n e C o n f i g u r a t i o n Ta s k s
Configuration management:
Port profiles All devices that support the • "set profiles" on page 185
default Web user interface
Power Features:
• Power Over Ethernet (POE) Digi One IAP This is a hardware feature. There are no
PortServer TS P MEI Family configurable software settings for this
feature.
• Power Over Ports/Power PortServer TS P MEI Family This is a hardware feature. Enabling it
Over Serial involves changing a jumper inside the
device. See "Configure Power Over Serial
Ports" on page 44.
• Display status of circuit breaker:
“display circuitbreaker” (See "display"
on page 63) or “set config print”
• Reset circuitbreaker:
• “set config
circuitbreaker=reset”
(See "set config" on page 100)
• Control user access to the All • "Control User Access to the Command
command line Line" on page 38
• Through autoconnect by port: "set ports"
on page 176
• Through autoconnect by user: "set user"
on page 238
• Through menus: "set menu" on page
166
• Configure SSH Version 2 for Digi One IAP • "Configure SSH Version 2 Encryption for
secure communication PortServer TS Family Secure Communication" on page 42
• Configure password protection:
"set user" on page 238; name and
password options, and "newpass" on
page 73
• Use a public key: "set user" on page
238; name, loadkey, and public_key
options
• Make reverse SSH connections to ports:
ssh base_port+ 500 + port_number
• Use a RADIUS server to set PortServer TS Family • "Configure User Attributes" on page 45
user attributes • "set radius" on page 188
• "set filter" on page 115
Web interface All devices that support the • "set netport" on page 174
default Web user interface • "set web" on page 251
Note: The default user name is root. The default password is printed on
the device label. If a password is not on the label, the default password
is dbps. If neither default password works, the password may have
been updated. Check with your system administrator.
Note: The default user name is root. The default password is printed on
the device label. If a password is not on the label, the default password
is dbps. If neither default password works, the password may have
been updated. Check with your system administrator.
“Normal” Users
You can define additional users for your Digi products using the set user
command, known as “normal” or “customer-defined” users. These users
have limited user permissions for executing commands that cannot be
altered.
Configure RealPort
RealPort is a feature that allows network-based host systems to use the
ports of the device server as though they were the host system’s own ports,
appearing and behaving as local ports to the network-based host.
The set rpauth command sets authentication options for RealPort.
RealPort has a challenge-authentication protocol that, if enabled, allows
only hosts that authenticate to use ports on the Digi device. This
authentication protocol is supported for both encrypted and unencrypted
versions of RealPort.
In order to use RealPort authentication, it must be enabled in both the
driver and the Digi device.
For further configuration details, see "set rpauth" on page 194 and the Digi
One and PortServer TS Family User Guide’s chapter on setting up
RealPort.
Configure an IP Address
To configure an IP address, mask, and default gateway for the device
server’s Ethernet interface, use the set config command.
1. To ensure that the IP address you configure is permanent, turn DHCP
off by entering:
#> set config dhcp=off
Example
The two set config commands configure the Ethernet interface. The boot
command reboots the Digi device, which is required for the address
change to take effect.
#> set config ip=192.150.150.10 submask=255.255.255.0 dhcp=off
#> set config gateway=192.150.150.11
#> boot action=reset
6. If you used the IP address pool option in the previous step, specify the
following subnetwork mask (a mask of 255.255.255.255 is required) by
entering:
#> set user ipmask=255.255.255.255
Example
This example shows a very simple PPP inbound configuration where:
• The port is set up for inbound connections (dev=min).
• RTS and CTS are used for flow control.
• The baud rate has been set to 115000 bps.
• The user has been configured to use an IP address pool.
#> set ports range=3 device=min
#> set flow range=3 ixon=off ixoff=off rts=on cts=on
#> set line range=3 baud=115000
#> set user name=pppin protocol=ppp netservice=on defaultaccess=netservice
#> set user name=pppin ipaddr=ippool
See Also
For more information, see these command descriptions:
• "set ports" on page 176
• "set flow" on page 120
• "set line" on page 155
• "set user" on page 238
4. To set up the user for the PPP environment, including such items as the
local IP address, the devices, and telephone number, enter:
#> set user name=”<username>” ipaddr=negotiated ipmask=255.255.255.255
For a description of the options for specifying the IP address, see
"ipaddr=ip addr" on page 244 of the set user command description.
#> set user name=”username” defaultaccess=netservice autoport=513
password=on
#> set user name=”username” outgoing=on autoservice=default
#> set user name=”username” bringup=”filter name”
#> set user name=”username” device=”gendialer”
For more information on the configuring the port, see "set device" on
page 108.
6. To set up routing for the PPP connection, enter:
#> set forwarding state=active splithorizon=off poisonreverse=off
#> set route net=ip address mask=subnetmask metric=1 wanname=”username”
The value of the wanname option must match the value of the
username option in step 2.
7. To enable the new WAN interface, enter:
#> set user name=”username” dialout=on
Example
The following example shows a simple outbound PPP configuration with
filters and the following properties:
• The port is set up for outbound connections.
• Flow control is set to Hardware (for the PortServer TS 1/3+Modem, the
default is Hardware).
• Default device and scripts are used.
#> set filter name=”filter name” s1=dst/ip address/subnetmask
#> set flow range=1 ixon=off ixoff=off rts=on cts=on
#> set user name=”username” protocol=ppp
#> set user name=”username” ipaddr=negotiated ipmask=255.255.255.255
#> set user name=”username” defaultaccess=netservice autoport=513
password=on
#> set user name=”username” outgoing=on autoservice=default
#> set user name=”username” bringup=”<filter name>”
#> set user name=”username” device=”gendialer”
#> set device name=”gendialer” baud=no dialer=genmdm chat=no port=1
#> set forwarding state=active splithorizon=off poisonreverse=off
#> set route net=ip address mask=subnetmask metric=1 wanname=”username”
#> set user name=”username” dialout=on
“set user”
Description Example
Option
passpacket Causes a packet to be Filter causes incoming packets from
passed or blocked. an IP address to be accepted and
packets from all other IP addresses
to be blocked.
keepup Causes the idletimeout Filter that causes the connection to
timer to be reset and a be maintained as long as there is
connection maintained. any packet traffic except RIP
packets.
bringup Causes the Digi device to Filter that causes an outgoing
establish a connection. connection to be initiated whenever
a packet specifying a particular IP
address is handled.
logpacket Causes the Digi device to Filter that notifies the log anytime an
send a message to the ICMP packet is handled.
log file.
Examples
• When multiple clients share control of the serial port options, and a new
client opens a port, that new client might momentarily set the options to
default values before the application can set the options correctly. This
might momentarily disrupt communication with the other clients.
Depending on the operating system used by the client, it is possible to
set the default serial port options to match the options required by the
application. Then, there will be no disruption.
• When multiple clients share control of the serial-port options, some
serial-port options, such as case conversion, carriage return, newline
mapping, etc., might be handled on the client system. Therefore, these
options would apply to the client that set these options only.
• When the Digi device exclusively controls the serial port settings, any
attempt to change the serial port settings from a client will be silently
ignored. The client will believe the settings have been changed, when in
fact they have not. The only way to change the serial port settings is
through the command line on the Digi device or through the web UI.
• With reverse Telnet, reverse SSH, and connect, it is possible for a
single client machine to open a single shared port multiple times by
using multiple telnet or ssh sessions.
However, with RealPort, it is not possible for a single client machine to
open the same RealPort multiple times and use port sharing. Windows
simply prevents one machine from opening a RealPort more than once.
Unix does allow a single machine to open a RealPort more than once,
but the sharing is happening on that Unix machine, not on the Digi
device.
Unix sharing does merge data written to the port and shares control of
the port. However, it does not duplicate the incoming data to all
programs that have opened the same RealPort. Instead, the incoming
data is arbitrarily divided among the programs.
It is possible for one machine to use port sharing with RealPort, but only
by configuring the RealPort driver multiple times for the same Digi
device.
• Windows RealPort explicitly forces DTR and RTS to drop when it closes
a port. This could prevent other clients sharing that port from sending or
receiving data, depending on the configuration. If this is a problem, set
the shared port for exclusive control. Unix RealPort does not have this
problem.
Examples
The example "Display and Change Port-Sharing Settings" on page 207
shows how to use the show sharing and set sharing commands to
display current port-sharing settings, configure port-sharing settings, and
display the changed settings.
Configure IP Routing
Configuring IP routing involves these tasks:
• Configure static routes using the “set route” command (see "set route"
on page 192).
• Configure dynamic routes using the set forwarding command (see
"set forwarding" on page 124).
• Configure Proxy ARP using the set forwarding command.
Router
187.100.46.9
Digi Device
PPP
Digi Device
PPP
187.155.24.11
Configure SNMP
Simple Network Management Protocol (SNMP) is the network
management protocol that governs the exchange between nodes and
stations.
The TCP/IP network management architecture contains the following
components:
• Managed nodes, such as host systems, routers, terminal and
communications servers (such as device server) and other network
devices.
• One or more network managers (also called network management
stations), which are the points from which the network is managed.
• Agents that reside on managed nodes and retrieve management
information and communicate this information to network managers.
• The network management protocol, SNMP, which governs the
exchange of information between the nodes and stations.
• Management information, which is the database of information about
managed objects. This database is called the management information
base (MIB).
Each managed node contains at least one agent—a component that
responds to requests from the network manager—that retrieves network
management information from its node and notifies the manager when
significant events occur.
A mechanism defined by SNMP is called a trap, which is a report or “alarm”
from a managed node to an SNMP manager that a significant event has
occurred.
“set snmp”Command
To configure SNMP, use the set snmp command. For more information,
see "set snmp" on page 209.
For example, the following set snmp command configures SNMP with all
trap options:
#> set snmp run=on trap_dest=190.175.178.73 auth_trap=on
cold_start_trap=on link_up_trap=on curr_thresh_exc_trap=on
temp_thresh_exc_trap=on
Using Menus
Menus select destination systems without having to access the device
server command line. Menus are created using the set menu command.
For information on configuring menus, see "set menu" on page 166.
# Attribute # Attribute
0-1 User-Name 0-1 Login-TCP-Port
0 User-Password 0-1 Session-Timeout
0 CHAP-Password 0-1 Idle-Timeout
0-1 NAS-IP-Address 1 Acct-Status-Type
0-1 NAS-Port 0-1 Acct-Delay-Time
0-1 Service-Type 0-1 Acct-Input-Octets
0-1 Framed-Protocol 0-1 Acct-Output-Octets
0-1 Framed-IP-Address 1 Acct-Session-Id
0-1 Framed-IP-Netmask 0-1 Acct-Authentic
0-1 Framed-Routing 0-1 Acct-Session-Time
0+ Filter-Id 0-1 Acct-Input-Packets
0-1 Framed-MTU 0-1 Acct-Output-Packets
0+ Framed-Compression 0-1 Acct-Terminate-Cause
0+ Login-IP-Host 0-1 Port-Limit
0-1 Login Service
Service Levels
The service levels, or levels of secure access, are as follows:
• secure means that SSH is the only service available to inbound users.
• high means that SSH, HTTP, SNMP, and RealPort services are
available to inbound users.
• normal means all services are available.
• custom means you can select services to turn off.
The default service level is normal.
Examples
Configuration Management
Configuration management tasks performed from the command line
include:
• Upgrading firmware
• Copying the configuration to and from a remote host
• Resetting the configuration to defaults
Upgrade Firmware
To upgrade firmware, use the boot command. See "boot" on page 55.
Action Keys
Move the cursor back one space Ctrl b
Delete the character to the left of the cursor Back space or Ctrl h
Abbreviating Commands
All commands can be abbreviated by suppling enough letters to uniquely
identify the command.
Syntax Conventions
Presentation of command syntax in this manual follows these conventions:
• Brackets [ ] surround optional material.
• Braces { } surround entries that require you to chose one of several
options, which are separated by the vertical bar |.
• Non-italicized text indicates literal values, that is, options or values that
must be typed exactly as they appear. yes and no option values are
examples of literals.
• Italicized text indicates that a type of information is required in that
option. For example, filename means that the name of a file is required
in the option.
Escape
Processed as:
Sequence
\* Match any character.
\a Alert character.
\b Backspace character.
\f Form-feed character.
\n New-line character.
\r Carriage-return character.
\\ Backslash character ( \ ).
admin
Purpose Used to temporarily access commands reserved for administrators (root)
when logged in as a normal (non-root) user.
After issuing the admin command, the following occurs:
1. A prompt requesting the root password appears.
2. You enter the root password.
3. If the password is accepted, the device displays the root prompt,
indicating that you can issue commands reserved for administrators. If
the password is not accepted, the device displays the message,
Incorrect password.
Syntax admin
See Also For information on ending temporary root sessions, see the following
commands:
• "exit" on page 66.
• "quit" on page 79.
boot
Purpose Performs the following functions:
• Reboots the device server.
• Restores the configuration to defaults.
• Loads new POST code from a TFTP server.
• Loads a new firmware into flash ROM from a TFTP host.
Users of PortServer TS Family and Digi One IAP devices must be very
careful with the load option. If this operation fails and then you reboot the
device, the unit may not work. To ensure success, do the following:
1. Attempt to boot from a remote firmware image before issuing the
boot load command. See "set config" on page 100 for more informa-
tion.
2. After issuing the boot load command, ensure that you receive the
message The image in flash now appears valid. If you do not receive
this message, do not reboot. Contact Digi technical support for
instructions on what to do next.
See Also • "cpconf" on page 62 for information on saving the current configuration
to a host prior to restoring the configuration to defaults.
• "revert" on page 83 for information on restoring configuration defaults to
the latest configuration stored in NVRAM.
close
Purpose Closes active connect, Rlogin, and Telnet sessions; that is, sessions
opened by connect, rlogin, or telnet commands.
The close command is associated with the sessions displayed by the
status command. That is, you can only close sessions that are displayed
by the status command by issuing a close command, and not by the kill
command. A close command issued without options closes the current
connection.
To issue the close command, you must escape the active session. To do
this, press the escape key defined for your session type. The following
table lists default escape keys.
Rlogin ~ Enter
Options *
Closes all active sessions.
connection number
Identifies the session to close by its session number.
connect
Purpose Initiates a local connection on a port.
There are several ways of using the connect command:
• To make multiple connections, issue multiple connect commands.
• To temporarily suspend a connection, escape the active session by
pressing the escape character defined on the set user command. The
default escape character is Ctrl [ (Control key and left bracket).
• To temporarily suspend a connection and return to the command line,
press the escape character and then the Enter key.
• To switch between active sessions (without first escaping to the
command line), press the escape character and then the number of the
session you wish to enter. Pressing the connect escape character twice
causes the next session to appear, enabling you to easily page through
sessions.
Options serial_port
The number of the port on which to establish a connection.
hunt_group
Identifies a hunt group, which is defined by the set ports group=group
command.
id name
The name of the port, defined on the set ports command, on which to
establish a connection.
cpconf
Purpose Used to:
• Copy a configuration to and from a remote host (backup/restore)
• Display the configuration on a terminal.
Options fromhost=host[:file]
Copies the configuration from the host and file specified. Be sure to:
• Identify the host by either its IP address or DNS name.
• Separate host and file options by colons.
If you do not specify a file name, the default file name, config.ps3, is
used.
tohost={host[:file]
Copies the configuration to the host and file specified. Be sure to:
• Identify the host by either its IP address or DNS name.
• Separate the host and file information by a colon.
If the file name is not specified, the default file name, config.ps3, is used.
TFTP must be running on the host. For transfers to the Digi device, the
file must be in the TFTP directory and assigned read-write permissions
for all users.
term
Displays the configuration file on the terminal that issued the command.
display
Purpose Used to:
• Display the status of the EIA-232 signals on serial ports.
• Display a list of errors.
• Clear the errors list.
• Display information on Digi devices that use dip-switch settings to
enable multiple electrical interface (MEI) on serial ports.
• Display power information for the Digi devices that support the Power
Over Ethernet feature.
• Display the contents of a port buffer. This command variation is covered
separately; see "display buffers" on page 65.
Required Anyone can use this command to display information. Root privileges are
Permissions required to clear the errors list.
Clear Errors
display error clear
Options port
Displays signal state for the ports specified on the range option. There is
only one port on Digi One Family devices.
range=port-port
A range of ports. There is only one port on the Digi One Family devices.
error
Clears all errors from the errors list when the clear option is specified, or
displays a list of errors when the clear option is not specified.
power
Displays status of power sources for the Digi devices that support the
Power Over Ethernet option. This option applies to the PortServer TS P
MEI Family and Digi One IAP only.
switches
Displays dip switch settings for devices supporting MEI.
circuitbreaker
Displays status of the circuit breaker.
clear
When used with the error option, clears the errors list.
Clear Errors
#> display error clear
See Also • "display buffers" on page 65 to display the contents of a port buffer.
The display command’s focus is on real-time information. In contrast, the
info command displays statistical information about a device over time,
while the status command displays the status of outgoing connections
(connections made by connect, rlogin, or telnet commands). For more
information, see these commands:
• "info" on page 68.
• "status" on page 255.
display buffers
Purpose Used to:
• Display the contents of a port buffer.
• Transfer the contents to a server running TFTP.
• Configure the screen parameters.
Options range=range
The port or ports to which the command applies.
screen
Displays the contents of the port buffer on the screen.
lines=number
The number of lines of data to display at a time when the screen option
is specified. Use 0 to indicate continuous flow.
tail=number
The total number of lines in the buffer to be displayed. The number is
calculated from the end of the buffer counting back.
tftp=server:filename
server
The IP address or DNS name of a server running TFTP to which buffer
information should be transferred.
filename
The name to use for the file that will be transferred to the TFTP server.
exit
Purpose Used to terminate either of the following sessions:
• Your current session.
• A temporary root session. If you are in a root session, the exit
command returns you to a regular session.
Syntax exit
help
Purpose Displays information on commands.
Syntax help
info
Purpose Displays or clears statistics, including protocol, interface, IA, serial, and
UDP over serial. The statistics displayed are those gathered since the
statistics tables were last cleared.
Required Normal users can view statistics tables. Root privileges are required to
Permissions clear them.
Display Statistics
info {protoc ol |{network|serial:port |ia:pr otocol |sou:r ange}
Statistic Description
rbytes The number of bytes received.
See Also The info command displays statistical information about a device over
time. In contrast, the display command’s focus is on real-time information,
while the status command displays the status of outgoing connections
(connections made by connect, rlogin, or telnet commands). For more
information, see these commands:
• "display" on page 63.
• "status" on page 255
kill
Purpose Clears or resets sessions on ports. The kill command is associated with
the connections displayed by the who command. That is, you can only
close connections that are displayed by the who command by issuing a kill
command, and not by the close command.
Syntax kill {tty=tty nu mber |tty=tty range }|t ty num ber|tty range }
See Also • "close" on page 58, to close sessions for the current connection.
• session.
• "connect" on page 60.
• "mode" on page 71.
• "quit" on page 79 for an alternate method of ending a root session.
• "reconnect" on page 80.
• "rlogin" on page 87.
• "send" on page 89.
• "status" on page 255.
• "telnet" on page 256.
• "who" on page 262, for information on determining current users.
• "Commands for Managing Connections and Sessions" on page 53.
mode
Purpose Changes or displays the operating options for a current Telnet session.
Options bin={on|off}
Specifies whether binary mode is enabled.
on
Turns on binary mode, which means that all transmitted and received
characters are converted to binary during this Telnet session.
off
Turns off binary mode off for this Telnet session. The default is off.
crmod={on|off}
Specifies whether line feeds replace received carriage returns.
on
Specifies that line feeds replace received carriage returns.
off
Specifies that line feeds do not replace received carriage returns. The
default is off.
crlf={on|off}
Specifies whether line feeds are added to transmitted carriage returns.
on
Specifies that line feed characters are added to transmitted carriage
returns.
off
Specifies that line feed characters are not added to transmitted
carriage returns. The default is off.
newpass
Purpose Used to create or change your own password, if you are logged in under
your own name, the root password, or another user’s password, if you are
logged in as root.
When you enter the newpass command, a series of prompts guide you
through the process of changing a password.
Required Any user can change their own password. Root privileges are required to
Permissions change someone else’s password or the root password.
Option name=username
The name of the user (configured with the set user command) whose
password will be created or changed. This option is available only if you
have root privileges.
Example The following command initiates a dialog that changes the user’s
password:
#> newpass
See Also "set user" on page 238 for information on configuring users.
ping
Purpose Tests whether a host or other device is active and reachable.
Options continuous
Specifies that ping commands be sent continuously until stopped. Press
the interrupt keys to stop continuous pings. The default interrupt keys are
<Ctrl-C>.
fill=char
Specifies characters to include in the data portion of the echo reply.
hostname|ip addr
Identifies the target of the ping by an IP address or domain name.
intv=msec
The interval in milliseconds between pings. The range is -1 to 60,000.
The default is 1000 milliseconds (one second). A value of -1 means that
echoes will be continuously sent until the value in the npkts option is
reached.
loose_sroute=ip addr,ip addr...
Specifies that the ping command should pass through the routers
indicated on its way to the target host. These routers are identified by
their IP addresses.
npkts=num
The number of packets to include with each ping command. The range
is 1 to 30,000. The default is 1.
pksiz=bytes
The size of the ping packet in bytes. The range is 0 to 20000. The default
is 56.
record_route
Specifies that routers handling the ping command include their IP
addresses in the echo reply.
strict_sroute=ip addr,ip addr...
Specifies that the ping command should pass through the routers
indicated—and only those indicated—on its way to the target host.
Routers are identified by their IP addresses.
verbose
Specifies that echo replies include statistics associated with the ping
command, such as round-trip time and number of packets transmitted
and received.
power
Purpose Manages power controllers attached to the PortServer TS device. This
command can control the power state of specific ports on PortServer TS
devices or devices connected to the ports, display the power state of
specific ports on the PortServer TS devices, and display the status of a
power unit. This command is context-sensitive. The action specified will
determine whether it applies to a power unit or a device connected to a
power unit.
Required Root privileges, users with command-line access, or users with specific
Permissions menu access on ports are required to view or change states.
Options action={clear|on|off|reboot|show}
The action to be performed, used in conjunction with range, outlet, id, or
group options.
clear
Clears the maximum detect current parameter of the specified power
control unit.
on
The outlet or outlets configured to the device will receive power.
off
The outlet or outlets configured to the device will not receive power.
reboot
The outlet or outlets configured to the device will be power cycled with
a 10 second wait until the user is prompted again. This command only
works if the outlets are already receiving power.
show
Displays the status of the unit and/or devices connected for the
specified range.
range=port#
Performs the specified action on the power unit with the specified index.
outlet=outlet#
Performs the specified action on the device with specified index.
id=powerdeviceid
Performs the specified action on the device unit with the specified ID.
This option must be used with the action option.
group=group#
Performs the specified action on an outlet with the specified group
number.
unit : 1
status : NOT CONFIGURED
unit : 2
type : digi_rpm
model : RPM10 ( v1.0.0 )
size : 10
Circuit Breaker status - : Good
Voltage V : 121.0
RMS Current Amps: 0.0
Max Current Detected Amps: 0.0
Alarm Threshold Amps: 99.0
Temperature C : 27.0
quit
Purpose Ends the following types of sessions:
• The current session. If you are in a regular or root session, quit closes
the session.
• A temporary root session. If you are in a root session started with the
admin command, quit returns you to a regular session.
Syntax quit
reconnect
Purpose Reestablishes a previously established connection. This command applies
only to sessions that have been backed-out of, but not closed.
remove
Purpose Removes entries from configuration tables.
See Also The set commands used to add or display values in the configuration
tables.
revert
Purpose Restores the configuration to defaults or to the latest configuration stored in
NVRAM. The revert command does not restore network-related parts of
the configuration to defaults.
Options option={factory|nvram}
Sets one of the configuration options either to the factory defaults or to
the latest version of the configuration stored in NVRAM. A
revert option=nvram command is only useful if a set conf save=off
command was previously issued to the device. See the command
examples for more information. The following table lists the allowable
values for option, and their effect on the configuration.
network altip, arp, host, route, snmp, tcpip, and telnetip configuration.
Not related to network connectivity.
security set auth, set logins, set radius, and set secureaccess
configuration
serial set flow, set line, and set ports configuration; set powerunit
configuration (PortServer TS 8/16 Family devices only).
system set config, set ethernet, set keys, set menu, set service,
set terms, set trace, and set user configuration.
wan The configuration settings set by set chat, set device, set ippool,
set modem, set script, set filter.
range
A range of ports to which the command applies. This option is valid when
used with the following values for option:
• buffers
• flow
• keys
• line
• login
• port
• profiles
• serial
• sharing
• socketid
See Also • "boot" on page 55. Issuing a boot action=factory command resets the
configuration to factory defaults.
• The set commands for which settings are being reverted.
rlogin
Purpose Performs a login to a remote system, also referred to as an rlogin.
Options esc=char
A different escape character than the ~ (tilde) character, which will be
used for the current rlogin session. Used for suspending a session from
the remote host to return to the device server command line.
hostname|host ip addr
The name of a host or IP address to log into.
user=user name|-l user name
The user name to use on the remote system. If you do not specify a
name, your device server user name will be used. The -l user name
option is for compatibility with the UNIX rlogin command.
send
Purpose Sends a control command to a the current escaped Telnet session.
Options ao
Sends the abort output signal to discard output buffered on the peer.
ayt
Sends the are you there signal to test whether a host is still active.
brk
Sends the break signal to interrupt the executing application.
ec
Sends the erase character signal to delete the previous character.
el
Sends the erase line signal to delete the entire current line.
escape
Sends the escape character.
ga
Sends the go ahead signal.
ip
Sends the interrupt process signal to terminate the program running on
the peer.
nop
Sends the no option signal to the peer.
synch
Sends the synchronize process signal to the peer.
set altip
Purpose Configures a serial port or group of serial ports with an alternate IP
address, or displays current entries in the alternate IP address (altip) table.
Alternate IP addresses enable routing of traffic from the LAN to serial ports
or group of ports using IP addresses. By associating ports with IP
addresses, Telnet users on the LAN can use IP addresses, rather than port
numbers, to specify a port or range of ports in their Telnet calls.
Up to 64 alternate IP address entries are permitted.
Required The root user can configure altip settings. Normal users can display altip
Permissions settings.
Options group={port#|group#}
A port or group of ports.
ip=ip addr
Assigns an IP address to the ports or group of ports (hunt group)
specified on the group option.
mode={raw|telnet|ssh}
The type of connection.
raw
Raw socket connection.
telnet
Telnet connection.
ssh
SSH (encrypted) connection.
range=range
A range of index entries in the altip table.
See Also • "remove" on page 81 to remove values from the altip table.
set arp
Purpose Manually configures an entry in the Address Resolution Protocol (ARP)
table, or displays the contents of the ARP table.
The ARP table contains the Ethernet-to-IP address mappings of other
devices on the LAN, which is required to communicate with these devices.
The ARP protocol updates this table automatically, so manual modification
is seldom required.
Required The root user can configure ARP table entries. Normal users can display
Permissions ARP table entries.
Options ether=etaddr
The Ethernet address of a device.
ip=ipaddr
The IP address of a device.
range=range
A range of table entries, which are identified by the index option in the
ARP table.
tim2liv=time
The time, in seconds, to keep an entry in the ARP table. The range is 0
to 1200 seconds. The default is 0, which means the entry will never time
out.
See Also • "remove" on page 81 to remove values from the arp table.
• "revert" on page 83. The revert arp option reverts the set arp
configuration.
set auth
Purpose Configures or displays access permissions to serial ports for LAN users.
The set auth command is a very powerful tool for limiting LAN users’
access to ports. To produce the intended configuration results, follow these
principles:
• The default access permission for a port is unrestricted access. This
means that all IP addresses have unrestricted access to a port unless
you use the set auth command to place restrictions on port use.
• You can configure a new default by removing the default entry in the
auth table (the entry that specifies an IP address of 0.0.0.0 and mask of
0.0.0.0). Then, the default becomes no access for any IP address. You
can then use the command to permit access for particular IP
addresses.
• In addition to unrestricted access, there are three types of restricted
access:
— Login access. The user of an IP address must log in before
access to the port is granted.
— RealPort access. Only the RealPort application can use the port.
— No access. The user of the IP address cannot access the port.
• The most reliable way to use the command for configuration is to
explicitly specify the type of access for each port on each command. In
the examples that follow, which use an 8-port device, the “right”
command accounts for all ports, and the “wrong” one does not:
Right: set auth ip=192.10.10.10 realport=1-3 login=4-5
unrestricted=6-8
Required The root user can configure access permissions. Normal users can display
Permissions access permissions.
Options ip=ipaddress
The IP address of the device to which this set auth command applies.
login={range|none}
Requires that users of the IP address specified log in. A value of none
indicates that users of the IP address specified have login access to none
of the ports.
mask=mask
Specifies an IP mask used to extend the scope of this set auth command
to a range of IP addresses. The following table provides examples of how
the mask option works:
IP Address Subnet Mask "set auth" mask Result
realport={range|none}
Configures port access for RealPort running on the devices identified by
the ip and mask options. Use this option to grant access to RealPort but
restrict access to other users of the IP address.
unrestricted={range|none}
Configures unrestricted access for the IP address specified to the range
of ports specified.
range=range
Specifies a range of auth table entries, identified by an index number, to
which this command applies.
rmauth=on
Removes the auth table entries specified by the range option.
See Also • "remove" on page 81 to remove values from the auth table.
• "revert" on page 83. The revert auth command reverts the set auth
configuration.
• "set ports" on page 176 for information on defining ports.
• "set user" on page 238 for information on configuring a user for
outbound port access.
set buffer
Purpose Configures buffering parameters on a port, or displays the port-buffer
configuration on all ports.
Required The root user can configure port buffering. Normal users can display
Permissions current settings.
Options clear
Clears the contents of the specified buffer.
range=range
The port or ports to which the command applies.
size=kbytes
The size in kilobytes to configure the buffer. Settings are configurable in
2-kilobyte increments. The maximum size is1024 kilobytes (1 Megabyte).
The default is 32 kilobytes.
state={on|off|pause}
The buffering state, which can be any of the following:
on
The data will be buffered.
off
The data will not be buffered and all data will be cleared from the
buffer.
pause
The data will not be buffered, but data in the buffer will not be cleared.
Configure Buffers
This example sets the buffer state for port 1 to on mode and the buffer size
to 64 kilobytes.
#> set buffer range=1 state=on size=64
set chat
Purpose Used to configure, display, remove, or rename entries in the chat table.
Chat table entries provide telephone number string translation and can be
accessed by any configured script. The chat table holds a maximum of 12
entries.
The set chat command is not related to the chat protocol supported under
the set ia command. See "set ia" on page 129 for details on configuring the
chat protocol.
Required The root user can configure, remove, or rename chat table entries. Normal
Permissions users can display chat table entries.
Options delay=string
A string of up to 24 characters to substitute into telephone numbers in
place of the delay character.
name=chat name
Configures a name for the chat table entry.
newname=new name
Used to change the chat name.
range=range
One of the following:
• A range of ports to which the chat table entry will apply. (For Digi
One products, the only value is 1.)
• A range of chat table index numbers, which identify chat table
entries.
retry=number
The number of times to retry a call. The range is 0 to 99 times.
star=string
A string of characters that will replace the * character in the chat script.
pound=string
A string of characters that will replace the # character in the chat script.
wait=string
A string of up to 24 characters to substitute into telephone numbers in
place of the wait character.
rmchat=on range=range|rmchat=chatname
Removes the chat table entry specified on the range or name option.
See Also • "remove" on page 81 to remove values from the chat table.
• "revert" on page 83. The revert chat command reverts the set chat
configuration.
• "set script" on page 195 for information on creating scripts that use
telephone string translation.
set config
Purpose Configures or displays network settings. These settings are stored in the
network parameters configuration table.
The optimize={latency|throughput} option can be used to optimize your
network for better Ethernet/IP performance.
Required The root user can configure network parameters. Normal users can display
Permissions network parameters.
Options bootfile=file
The name of a boot file on a TFTP host. Specify the full path to the file if
this is required to satisfy the host’s TFTP implementation. This option
does not apply to PortServer TS 8/16.
boothost=host ipaddr
The IP address of a host from which the device server can boot using
TFTP. This option does not apply to PortServer TS 8/16 devices.
cache_dns={on|off}
Controls whether the device server checks its DNS cache during a DNS
lookup.
on
The default/normal behavior. When the device server needs to do a
DNS lookup (translate a hostname into an IP address), it first checks
its DNS cache to determine whether the hostname-to-IP address
mapping exists. If the mapping does not exist, the device server issues
a DNS query to the DNS server to get this mapping. The device server
caches this mapping for the time-to-live value specified in the DNS
response.
off
Prevents the device server from using the cache. The device server
will always issue a DNS query whenever it must do a DNS lookup.
circuitbreaker=reset
Resets the circuit breaker.
dhcp={on|off}
Enables or disables DHCP (Dynamic Host Configuration Protocol).
Turning DHCP on causes the device server to obtain an IP address from
a DHCP server. The default is on.
dns1=ip addr
dns2=ip addr
dns3=ip addr
The IP address of the primary, secondary, and tertiary domain name
servers.
If dhcp=on, these DNS settings can be changed, but they will not persist
after the next reboot if the DHCP server provides these settings.
The secondary domain name server cannot be specified unless a
primary domain name server is specified, and the tertiary domain name
server cannot be specified unless a secondary domain name server is
specified. The primary domain name server cannot be removed (set to
0.0.0.0) if a secondary domain name server is specified, and the
secondary domain name server cannot be removed if a tertiary domain
name server is specified.
domain=domain
The name of device server’s domain.
gateway=ip addr
The IP address of the default gateway.
rpkeepalives={on|off}
Enables or disables sending of RealPort keep-alives. RealPort keep-
alives are messages inside the RealPort protocol, sent approximately
every 10 seconds, to tell whoever is connected that the connection is still
alive. RealPort keep-alives are different from TCP keep-alives, which are
done at the TCP layer, and configurable.
As RealPort keep-alives generate additional traffic--several bytes every
10 seconds--this option allows you to turn them off. In situations such as
cellular/mobile wireless communications, when you are paying by the
byte, such additional traffic is undesirable when a TCP keep-alive can do
the same job, and only when the connection is idle.
If you want to have the RealPort keep-alive set to off; consider using a
TCP keep-alive instead. This is because if the link is not closed properly,
you could end up with your port being “locked up” with a dead TCP
session, which is why RealPort keep-alives were implemented in the first
place.
save={on|off}
Specifies whether configuration changes are saved. On saves
configuration changes to flash memory. Off means that changes will be
discarded when the device server is reset. The default is on.
securerealport=tcp port
The TCP port number used for secure RealPort connections. The default
is 1027.
Base
Example Connection Established
Socket
1000 telnet 192.168.1.1 1002 A Telnet connection to port 2
submask=mask
The subnet mask for the subnetwork.
tbreak={std|any|none}
Sets the Telnet break keystroke (tbreak).
Once a Telnet connection is initiated, but before the connection is
established, the connection can be broken by entering a designated
keystroke. This keystroke is determined by these settings.
std
Configures tbreak so only the ^] (control right bracket) keystroke will
break a Telnet connection.
any
Configures tbreak so any keystroke will break a Telnet connection.
none
Configures tbreak so no keystroke will break a Telnet connection.
The default is std.
tftpboot={yes|no|smart}
(This option does not apply to PortServer TS 8/16)
Specifies booting conditions for the device server.
yes
Always boot from the TFTP host identified on the boothost option.
smart
If the device server cannot boot from the TFTP host identified on the
boothost option, boot from the device server’s internal flash ROM
instead.
no
Boot the device server from internal flash ROM.
The default is no.
See Also • "revert" on page 83. The revert config command reverts the
set config configuration.
• The Digi One and PortServer TS Family User Guide’s chapter on
latency tuning.
set consmenu
Purpose Configures or displays console menu options.
The Digi PortServer TS device supports multiple connections to a port
simultaneously. The set consmenu command may be used with the port
sharing feature (see "Configure Port Sharing" on page 25 and "set sharing"
on page 205). When port sharing is enabled, it can be useful to see who
else is connected to a port before making a connection.
The Console Menu feature allows you to see who is already connected to a
port, disconnect other sessions, display the last entries of the port-buffer or
branch out to the command line of the unit.
When in the console menu, entering a ? character displays a help screen.
Required The root user can configure console menu options. Normal users can
Permissions display console menu options.
Options range=port#-port#
The port or range of ports to which this command applies.
state={off|on|always}
Specifies whether and how the console menu is displayed.
off
No console menu is displayed.
on
The console menu is displayed upon connecting to the port if there is
at least one other active connection to the port open.
always
The console menu is displayed upon connecting to the port always.
break={standard|menu}
Specifies how breaks are handled.
standard
A break sent to the port will be sent as normal.
menu
Sending a break will invoke the menu (the break will not be sent to the
port). Breaks can be sent from the console menu.
console 1>
At this stage, you can execute console commands. For example:
<enter> Connect to port
connect Connect to port
exit|quit Disconnect
who List connections to the port
kill (range) Kill connections to the port (admin)
break Sends a break to the port (admin)
buffer (L)(N) Displays the last L lines of the port buffer N at a time (admin)
? Display this help
console 1>
See Also • "Configure Port Sharing" on page 25 for more details on port sharing,
including the caveats involved.
• "revert" on page 83. The revert consmenu command reverts the
set consmenu configuration.
• "set sharing" on page 205 for details on configuring port sharing.
• "show" on page 252. The show sharing command displays the current
port-sharing settings.
set device
Purpose Configures devices used for outbound connections to use dialer scripts and
chat table entries; configures a different baud rate (line speed) for modems
and other devices used for outgoing connections than the rate defined on
the set line command; or displays the contents of the device table.
Required The root user can configure devices. Normal users can display device table
Permissions entries.
Options baud={no|rate}
Specifies the baud rate for the device.
no
The baud rate specified on the set line command will be used.
rate
The baud rate (line speed) when this device is used. This option
overrides the baud rate for this device defined on the set line
command. The range is 300 to 115,200 bps.
The default is no.
chat={no|index num|chat name}
Specifies whether a chat table entry is associated with this device.
no
A chat table entry is not associated with this device.
index num
A chat table entry (index number) associated with this device.
chat name
The name of a chat table entry.
The default is no.
index num
A script table entry (index number) associated with this device.
script name
The name of a script.
The default is no.
name=name
A user-defined name for the device.
ports=range
The port or range of ports available to this device.
newname=newname
A new name for a previously defined device.
p{1-9}
Integers that can be used in the variable options of login or dialer scripts.
save={on|off}
Determines if changes are saved into NVRAM.
show=on
Displays the current contents of the device table--the same operation as
entering show device or set device without options.
{range=range|name=name}
A device table entry or range of entries, identified by their index numbers.
Configure a Device
This example configures a device to use a dialer script and override the
baud rate specified on the set line command.
#> set device name=OutDev ports=3-5 dialer=modemscp baud=19200
See Also • "remove" on page 81 to remove entries from the device table.
• "revert" on page 83. The revert device command reverts the set
device configuration.
• "set chat" on page 98.
• "set line" on page 155.
• "set script" on page 195.
• "set user" on page 238.
set dhcp
Purpose Used to:
• Enable/disable DHCP (Dynamic Host Configuration Protocol). Enabling
DHCP causes the device server to obtain an IP address from the host
server. If DHCP is disabled, a static IP address must be defined for the
device server.
• Renew the IP address of the device server. This causes the device
server to discard its current IP address and obtain a new one from the
host server.
• Display the lease information for the current IP address.
Required The root user can configure DHCP. Normal users can display DHCP
Permissions settings.
Options client_fdqn={on|off}
Used to turn on the DHCP option 81 titled Client FQDN (Fully Qualified
Domain Name). This option allows the device to send its host name and
domain name to the DHCP server when requesting network settings. The
intention is that the DHCP server will use this information to determine
the IP address that it will assign to the device. Use the
set config hostname=string option to set the host name that will be
passed to the DHCP server, and optionally use the
set config domain=string option to set the domain name that will be
passed to the server. If the domain part is not set, then only the host
name will be passed to the DHCP server.
client_identifier=string
A text string consisting of 30 or fewer characters, which must be
surrounded by quotation marks if it contains spaces. The default is an
empty string. To enter non-printable characters, use hexadecimal format,
which is \xn, where n is a hexadecimal value from 0 through F. To use
the backslash character as the string, use two consecutive backslashe
characters (\\).
client_id_type=type
A number between 0 and 255 that can be used to define the type of
information in the client_identifier string. For example, all routers could be
assigned 11 as the client_id_type.
keepalive={accept|ignore}
Determines which TCP keep-alive attributes are used, those set by the
DHCP server or those specified on the set tcpip command.
accept
The DHCP server settings are used, and the set tcpip settings are not
used.
ignore
The set tcpip settings are used, and the DHCP server settings are
ignored.
The default is accept. If the DHCP client feature is disabled, this setting
has no effect.
run={on|off}|[renew]
Turns DHCP on or off, and optionally renews the IP address of the device
server.
on
Turns DHCP on.
off
Turns DHCP on or off. The default is on.
renew
Renews the IP address of the device server.
You must reboot the device server before this change takes affect.
See Also • "revert" on page 83. The revert dhcp command reverts the set dhcp
configuration.
• "set config" on page 100 for information on configuring the IP address
manually.
• "set tcpip" on page 222.
set embmodem
Purpose Configures the embedded modem on PortServer TS M MEI devices, or
displays current embedded-modem settings.
Required The root user can configure the embedded modem. Normal users can
Permissions display embedded modem settings.
Options reset
Resets the modem, then sends the initialization string specified by the
init_string option, or an init_string that was set previously.
init_string=“ATcommand”
An AT command that is sent to the modem after it is reset. The string
must be enclosed in double quotes. The default parameter is “ATSO=1”
(autoanswer on).
See Also • "revert" on page 83. The revert embmodem reverts the
set embmodem command.
• "Modem Emulation Commands" on page 263
set ethernet
Purpose Configures and adjusts Ethernet communications options, and displays
current Ethernet options.
Required The root user can configure Ethernet options. Normal users can display
Permissions Ethernet options.
Options duplex={half|full|auto}
Determines the mode the Digi device uses to communicate on the
Ethernet network. Specify one of the following:
half
The device communicates in half-duplex mode.
full
The device communicates in full-duplex mode.
auto
The device senses the mode used on the network and adjusts
automatically.
The default is half. The value you specify for this option must match the
option used by the peer. In other words, if the other side is using auto
(negotiating), this device must use auto. If the other side is set for half-
duplex, this side must use half.
speed={10|100|auto}
Configures the throughput rate the Digi device will use on the Ethernet
network. Specify an appropriate setting for your Ethernet network, which
can be one of the following:
10
The device operates at 10 megabits per second (Mbps) only.
100
The device operates at 100 Mbps only.
auto
The device senses the throughput rate of the network and adjust
automatically.
The default is auto. The value you specify for this option must match
the option used by the peer. In other words, if the other side is using
auto (negotiating), this device must use auto. If the other side is set for
100 Mbps, this side must use 100.
See Also • "revert" on page 83. The revert ethernet command reverts the
set ethernet configuration.
• "set config" on page 100.
set filter
Purpose Manages filters. Filters can be used with PPP and RADIUS.
• For PPP, filters can control and record traffic over PPP connections.
• When using RADIUS, the RADIUS server can send to the RADIUS
client (that is, a Digi product) a filter ID attribute, meaning a filter name
that is used in authenticating the connection. The set radius command
has an ignorefilterid={on|off} option. If ignorefilterid=on, the Digi
product ignores any filter names that are not defined, but will process
normally all filters that are defined. If ignorefilterid=off, the absence of
a filter that matches the RADIUS-provided filter ID results in
authentication failure.
With the set filter command, you can
• Create filters, which in turn creates entries in the filter table. The
maximum number of entries in the filter table varies by device. For
example, the maximum entries for PortServer TS Family devices is 8,
and the maximum entries for PortServer TS 8/16 Family devices is 16.
• Display entries in the filter table.
• Display the contents of a filter.
Required The root user can configure filters. Normal users can display filter settings.
Permissions
Options name=name
A name for the filter.
newname=name
A new name for a previously defined filter.
s#=token/token/token...
#
The number of a stanza, which can be from 1 to 32.
token/token/token...
1-32 tokens, which are the criteria by which filtering is accomplished.
Separate tokens by a forward slash (/). Tokens can consist of any of
the following:
hostname The name of a host defined in the host table (see set host on
page 128).
protocol number The number in an IP packet that identifies the protocol to which
IP should pass the packet. Use one of the following: 1 for ICMP,
2 for IGMP, 6 for TCP, and 17 for UDP.
ip addr An IP address.
icmp ICMP packets. You can also specify a type of ICMP packet. To
do so, specify s1=type/icmp where type is the identifier type of
ICMP packet, which can be any of the following identifiers:
• Echo reply: 0
• Destination unreachable: 3
• Source quench: 4
• Redirect: 5
• Echo request: 8
• Time exceeded for a datagram: 11
• Parameter problem on a datagram: 12
• Timestamp request: 13
• Timestamp reply: 14
• Address mask request: 17
• Address mask reply: 18
range=range
An entry or range of entries in the filters table.
show={on|off}
on
Stanzas from the filter identified on the name option will be displayed.
off
Stanzas from the filter identified on the name option will not be
displayed.
The default is off.
set flow
Purpose Configures or displays flow control options for the device server’s EIA-232
serial ports. Several options related to the RTS toggle feature are hidden
by default, and can be displayed by using the show=rtstoggle option.
Required The root user can configure flow control options. Normal users can display
Permissions flow control options.
Options aixon={on|off}
Determines whether the auxiliary flow control characters defined on the
set keys command are used for output flow control:
on
Auxiliary flow control characters are used.
off
Auxiliary flow control characters are not used.
The default is off.
altpin={on|off}
Determines whether the altpin option, which swaps DCD with DSR so
that eight-wire RJ-45 cables can be used with modems, is used:
on
The altpin option is used.
off
The altpin option is not used.
The default is off.
cts={on|off}
Determines whether CTS (clear to send) is used for output flow control:
on
CTS is used for output flow control.
off
CTS is not used for output flow control.
The default is off.
dcd={on|off}
Determines whether DCD (data carrier detect) is used for output flow
control:
on
DCD is used for output flow control.
off
DCD is not used for output flow control.
The default is off.
dsr={on|off}
Determines whether DSR (data set ready) is used for output flow control.
on
DSR (data set ready) is used for output flow control.
off
DSR is not used for output flow control.
The default is off.
dtr={on|off}
Determines whether DTR (data terminal ready) is used for input flow
control.
on
DTR is used for input flow control.
off
DTR is not used for input flow control.
The default is off.
off
The character that resumes output is not discarded.
The default is off.
ixany={on|off}
Used only with software flow control.
on
Any received character can restart output when output has been
stopped because of software flow control. Specify on only when
communicating with devices, such as printers and terminals that use
software flow control (XON\XOFF).
off
Output will resume only when the XON character is received.
The default is off.
ixoff={on|off}
Determines whether to use input software flow control.
on
Use input software flow control.
off
Do not use input software flow control.
The default is on.
ixon={on|off}
Determines whether to use output software flow control.
on
Use output software flow control.
off
Do not use output software flow control.
The default is on.
pre-delay=milliseconds
Specifies the time in milliseconds to wait after the RTS signal is turned on
before sending data. The range is 0 to 5000 milliseconds, and the default
is 0. This option does not apply to PortServer TS 8/16 devices.
post-delay=milliseconds
Specifies the time in milliseconds to wait after sending data before turning
off the RTS signal. The range is 0 to 5000 milliseconds, and the default
is 0. This option does not apply to PortServer TS 8/16 devices.
range=range
A port or range of ports to which this set flow command applies.
ri={on|off|power}
Determines whether RI (ring indicator) is used for output flow control:
on
Use RI for output flow control.
off
Do not use RI for output flow control.
power
This option is available on select Digi products. When used, the RI
signal is no longer used for ring indicator, but it is instead turned into
an output and a voltage is applied so that devices can be set up to
draw their power from that pin.
The default is off.
rts={on|off|toggle}
Determines whether RTS (request to send) is used for output flow
control:
on
Use RTS for output flow control.
off
Do not use RTS for output flow control.
toggle
RTS is turned on when transmitting.
The default is off.
show=rtstoggle
Displays settings related to the RTS toggle feature, which includes
information on rts=toggle, post-delay, and predelay.
See Also • "revert" on page 83. The revert flow command reverts the set flow
configuration.
• "set keys" on page 153.
• "set line" on page 155.
• "set ports" on page 176.
set forwarding
Purpose Configures or displays IP routing, or forwarding, options. The
set forwarding command can be used to configure a Digi device in the
following ways:
• To function as an IP router using Routing Information Protocol (RIP) to
dynamically maintain routes.
• To perform Proxy ARP services.
• To handle various ICMP-related functions.
Required The root user can configure IP routing options. Normal users can display IP
Permissions routing options.
Options advertise=time
The interval at which the device server advertises its routes. This option
is used only if state=active. The range is 10 to 180 seconds. The default
is 30 seconds.
breakoutsubnets={on|off}
Controls how addresses are handled in the routing table when the Digi
device receives RIP routing information.
on
When the Digi device receives an RIP entry that describes a network
that is already subnetted in the routing table, do not add the entry.
off
When the Digi device receives an RIP entry that describes a network
that is already subnetted in the routing table, add the entry to the larger
network in the table, and keep the old, smaller subnet entry.
When leaking routes, and breakoutsubnets is on, the Digi device sends
each known individual subnet. If breakoutsubnets is off, the Digi device
sends out a single entry for the larger network, rather than describing
each individual subnet route.
icmpdiscovery={on|off}
on
Send and answer ICMP Router Discovery packets.
off
Do not send and answer ICMP Router Discovery packets.
The default is off.
icmpsendredirects={on|off}
on
The device server sends ICMP redirect messages when it detects a
host is using a non-optimal route, such as when the host uses the
device server to route to a destination that can be reached more
efficiently using another router or when the destination host can be
reached directly (that is, without the services of any router).
off
Do not send ICMP redirect messages.
The default is off.
icmpmaskserver={on|off}
on
Act as an ICMP mask server.
off
Do not act as an ICMP mask server.
The default is off.
poisonreverse={on|off}
Specifies whether the poisonreverse option is on or off.
on
The poisonreverse option is on. When this option is on, learned
routes are propagated over the same interface on which they are
learned, but the destination specified in those routes are advertised as
unreachable. The splithorizon option must be on if poisonreverse is
on.
off
The poisonreverse option is off.
The default is off.
off
Do not provide proxy ARP services.
The default is off.
splithorizon={on|off}
Specifies whether the splithorizon option is enabled.
on
The splithorizon option is on. When this option is on, learned routes
are not propagated from the interface on which they are learned. Use
this option only if state=active.
off
The splithorizon option is off.
The default is on.
save={on|off}
Specifies whether the configuration will be saved.
on
The configuration will be saved.
off
The configuration will not be saved, which means that configuration
changes will be lost the next time the device server re-initializes.
The default is on.
state={off|passive|active}
The state of routing for the device server.
off
Limits routing to static routes defined in the route table. See "set route"
on page 192.
passive
Configures the Digi device to use the Routing Information Protocol
(RIP) to learn routes but not to propagate them.
active
Configures the device server to use RIP to both learn and propagate
routing information.
The default is off.
timeout=time
The time in which an entry in the routing table must be updated. If an
entry exceeds the value specified here, it will be discarded. This value
must be at least six times the advertise value.
The range is 60 to 1080 seconds. The default is 180 seconds.
Configure RIP
In this example, the set forwarding command configures device server to:
• Listen for and advertise RIP routing information every 45 seconds.
• Discard this route from the routing table if a routing update is not
received within 270 seconds. This value is derived from the value on
the advertise option. The timeout value must be at least 6 times the
advertise value. Since no timeout is specified, the default (6 times the
advertise value) is used.
• Implement split horizon.
#> set forwarding state=active advertise=45 splithorizon=on
See Also • "revert" on page 83. The revert forwarding command reverts the
set forwarding command.
• "set route" on page 192 for information on creating static routes.
set host
Purpose Configures or displays the host table, containing host name-to-IP address
mappings. The Digi device’s IP component can use the host table and a
DNS server to map host names to IP addresses. These mappings allow
users to identify hosts by user-friendly names, instead of IP addresses.
Using the host table is a convenience only. If you do not configure the host
table or DNS, users identify hosts by IP addresses. If the Digi device can
access a DNS server, there is no reason to configure the host table. The
PortServer TS 8/16 host table can hold up to 64 entries. The host table for
other devices can hold up to 20 entries.
You can configure either of the following:
• A host table and DNS, where the Digi device attempts to satisfy a
request by first searching the host table and then the DNS server.
• Either the host table or DNS.
Required The root user can configure host table entries. Normal users can display
Permissions host table entries.
See Also • "remove" on page 81 to remove entries from the host table.
• "revert" on page 83. The revert host command reverts the set host
configuration.
• "set config" on page 100 for configuring a Digi device to use a DNS
server.
set ia
Purpose Configures Digi devices to support Industrial Automation (IA) protocols.
set ia configures serial port-connected devices, network-based masters,
destination tables, route entries within destination tables, or control
behavior of specific protocols.
set ia is supported in the following Digi products. The extent of Industrial
Automation (IA) protocol support varies among products; for more details,
see "Communication Protocols Supported in Devices" on page 130.
Required The root user can configure IA options. Normal users can display IA
Permissions options.
ansiescape={on|off} custom
buffer custom
checksum={bcc|crc} df1fullduplex
class={ucmm|cm3} ethernetip
dontecho={on|off} chat
duplicatedetection={on|off} df1fullduplex
eoln_form={auto|cr|nl|crnl|nlcr| ascii_import
time|pattern}
naklimit=0-255 df1fullduplex
packing={direct|swap|ch_pad|pad_ch} ascii_import
pad_char={none|0-255|\\x00-\\xFF} ascii_import
polltimeout=10-65535 df1halfduplex
polllimit=0-255 df1halfduplex
srvecho={on|off} chat
start=”pattern ” custom
type={tcp|udp}
Defines whether the incoming connection is TCP (connected) or UDP
(unconnected). The default is tcp.
splitip={on|off}
splitdivisor=1-255
splitbase=0|1
These settings enable a message forwarding scheme similar to the
Modicon BM-85.
splitip={on|off}
Enables or disables this message forwarding mode.
splitdivisor=1-255
Defines how the protocol address is split.
splitbase=0|1
Defines whether or not the result is incremented by 1.
For example, suppose a destination route entry exists for protocol
addresses 100 to 255, with a split divisor of 10, a split base of 0, and a
remote IP address of 192.168.1.0. A message for slave 171 would be
forwarded to IP address 192.168.1.17 to slave address 1. A message for
slave 176 would be forwarded to IP address 192.168.1.17 to slave
address 6. A message for slave 211 would be forwarded to IP address
192.168.1.21 to slave address 1.
transport={tcp|udp}
Defines whether the outgoing connection is TCP (connected) or UDP
(unconnected). The default is tcp.
type={discard|dns|ip|mapto|nopath|serial}
Defines the type of destination for this route.
discard
Messages destined for this route entry are discarded without error.
dns
Messages destined for this route entry are forwarded to the entered
DNS name.
ip
Messages destined for this route entry are forwarded to the entered IP
address. If you enter the IP address as 0.0.0.0, the Digi device’s IP
address is used to fill in the IP address, and the replaceip function is
applied. For example, if the IP is 0.0.0.0, the Digi device’s IP address
is 192.168.23.199, and the protocol address of the message is 45,
then the remote IP address used will be 192.168.23.45.
mapto
Messages destined for this route entry are reevaluated as-if having the
protocol address configured within this entry.
nopath
Messages destined for this route entry are returned to sender with a
protocol-defined error message.
serial
Messages destined for this route entry are forwarded to a serial port.
Short
protocol value Description Digi Devices Supported in
Name
abethernet abcsp Allen-Bradley (AB)/Client-Server Digi One IAP
Protocol; older port 2222 protocol.
ethernetip eip ODVA Ethernet/IP for PCCC encap. Digi One IAP
Protocol-Specific Options
acktimeout
(df1fullduplex, hostlink)
The period to wait for an acknowledgment from the connected device
after sending a message. When this period is exceeded, the Digi device
re-sends the message. The range is 0 to 65535 milliseconds. The default
is 250 milliseconds.
acklimit
(df1fullduplex, hostlink)
The number of times that the acktimeout timer can expire before the Digi
device discards a message as undeliverable. The range is 0 to 255. The
default is 3.
addextfunc
(modbusrtu, modbusascii, modbustcp)
Used to add Modbus function codes to the list that will use the
exttimeout instead of the messagetimeout. See the exttimeout option
for more details.
ansiescape={on|off}
(custom)
Indicates the protocol uses an ANSI escape character as the first
character in the end pattern (see the end option).
The typical example is a protocol with a start pattern of 0x10 0x02, an end
string of 0x10 0x03, and an escape sequence of 0x10 0x10, used to
specify a single 0x10 data byte. If a request is: 0x10 0x02 0x10 0x10 0x03
0x10 0x03 with ansiescape=on, this message would get recognized
correctly. With the ansiescape=off, (0x10 0x2 0x10 0x10 0x3) would be
incorrectly recognized as the message, and the rest of the message
would be thrown away. This happens because the 0x10 0x3 end string is
found in the message body and accidentally recognized as the end of the
message.
broadcast={on|off|replace}
(modbusrtu, modbusascii, modbustcp)
Specifies how to handle incoming requests with a slave address set to
the broadcast value. For Modbus, this is 0. The default is to replace 0 with
1, which was selected to overcome the fact that most Modbus/TCP
clients default to send requests to unit ID zero (0) when not sending a
broadcast.
on
Tells the Digi device to send requests as broadcast to the destination
device(s) and not expect any response message.
off
Tells the Digi device to throw away the broadcast request.
replace
Changes a broadcast request to a normal request by replacing the unit
ID 0 with a value of 1.
duplicatedetection={on|off}
(df1fullduplex)
Filters out consecutive requests that have identical command, source,
and TNS bytes. This behavior is necessary for compliance with the DF1
specification. The default is on.
end="pattern"
(custom, ascii_import, chat)
The Digi device uses this character pattern to detect an end of a
message. The default is "" or no pattern. Rules and guidelines for
specifying this character pattern string are:
• The string can be between 1 and 4 characters long.
• The string can be made up of printable or unprintable characters.
• To use an unprintable character, enter the character in hexadecimal
format, that is, \xhh, where hh is replaced with a hexadecimal
number. For example: \x03 or \x7E.
• These special characters can be entered using a shortcut: \t (tab), \r
(carriage return), \n (line feed).
• To use the backslash character as a delimiter, enter two backslash
characters (\\).
• To indicate that the last character should be ignored when
determining the end of a message, use a \* (backslash asterisk). To
indicate that two characters should be ignored, use \*\* and so on.
• The quote marks are optional, but use “” to disable the end pattern.
eoln_form={auto|cr|nl|crnl|nlcr|time|pattern}
(ascii_import)
Defines how the chat protocol engine detects end-of-line (EOLN)
behavior. Client messages are only forwarded after EOLN behavior is
detected. The chat protocol also attempts to correct mismatched EOLN
between clients and servers.
auto
The Digi device attempts to detect the EOLN as CR, NL, CRNL, or
NLCR.
cr
The <CR> or \x0D byte is used to detect the EOLN.
crnl
The <CR><NL> or \x0D\x0A byte pair is used to detect the EOLN.
nl
The <NL> or \x0A byte is used to detect the EOLN.
nlcr
The <NL><CR> or \x0A\x0D byte pair is used to detect the EOLN.
time
The chartimeout option is used to detect a time-gap as the EOLN.
pattern
The end pattern specified on the end option is used to detect the
mapping="string"
(df1fullduplex, abcsp, ethernetip)
Normally Allen-Bradley PLC data file types are assumed from the access
method, so a bit read assumes binary type and word read assumes
integer type. Thus, a bit read to N9 will be rejected by the AB PLC, while
a word read will succeed. To override this behavior, enter a string such
as “N9,B13,L20,F210, which instructs the Digi One IAP to always, for
example, treat file 9 as integer regardless of the access command, and
so on. Supported types are B for 16-bit Binary, N for 16-bit integer, L for
32-bit integer, and F for 32-bit floating point.
naklimit=0-255
(df1fullduplex)
The number of negative acknowledgments (Naks) the Digi device can
receive from the device connected to the serial port before discarding the
message as undeliverable. The range is 0 to 255. The default is 3.
packing={ch_pad|direct|swap|pad_ch}
(ascii_import)
Defines how ASCII characters are packed into word registers.
ch_pad
One character is placed into the low-byte of each register, with a pad
byte placed in the high-byte. How this appears within the protocol is
protocol-specific. Use pad_ch if this sequence is wrong.
direct
Characters are packed directly into the registers exactly as received.
How this appears within the protocol is protocol-specific. Use swap if
this sequence is wrong.
swap
Characters are swapped as packed into the registers. How this
appears within the protocol is protocol-specific. Use direct if this
sequence is wrong.
pad_ch
One character is placed into the high-byte of each register, with a pad
byte placed in the low-byte. How this appears within the protocol is
protocol-specific. Use ch_pad if this sequence is wrong.
pad_char={none|0-255|\\x00-\\xFF}
(ascii_import)
Defines the characters used to pad registers when the ASCII message
does not fill the entire register space. This value is also used in the
pad_ch and ch_pad packing sequences.
prewrite1=”pattern”
prewrite2=”pattern”
(ascii_import)
Defines the string used to poll an ASCII device in half-duplex mode for
the first two buffers. The pattern is defined the same as for the end
option.
srvecho={on|off}
(chat)
Tells the chat protocol engine whether the attached device will echo
messages. If the attached device echoes, then the chat protocol engine
does not forward client messages to other clients. If the attached device
does not echo, the chat protocol engine must forward a copy of client
messages to other clients. The default is on.
start="pattern"
(custom)
The Digi device uses this character pattern to detect an start of a
message. Refer to the end option for the rules and guidelines for
specifying this string. The default is “” or no pattern.
target={…}
(df1fullduplex, abethernet, ethernetip)
Used in protocol conversion to select the format of protocol commands to
accommodate different processors. To understand and use protocol
conversion, refer to the IA support documentation on the Digi website. Go
to www.digi.com and search on the keywords Industrial Automation or
IA.
cif
Uses PLC2/Common Interface File style Unprotected Read/Write -
PCCC/DF1 commands 1 and 8 (see Rockwell Publication 1770-6.5.16
pages 7-31 & 7-32).
slc5
Uses SLC500 style Protected Logical Read/Write with 3 Address
Fields - PCCC/DF1 functions 0xA2 and 0xAA (see Rockwell
Publication 1770-6.5.16 pages 7-17 & 7-18).
plc5
Uses PLC3/PLC5 style Word Range Read/Write - PCCC/DF1
functions 0x00 and 0x01 (see Rockwell Publication 1770-6.5.16 pages
7-34 & 7-35).
The default is cif.
Getting Started
To fully clear all IA settings, issue the following command:
#> revert ia=factory
See "revert" on page 83.
The revert command clears all IA settings for serial ports, masters and
tables. This command also disables the IA engine. Therefore, to reenable
the IA engine on specific serial ports, issue the following command:
#> set ports ra=1 dev=ia
See "set ports" on page 176.
To set baud rate and other serial port settings, issue the following
command:
#> set line ra=1 baud=9600
See "set line" on page 155.
To enable RTS/CTS flow control for radio modems or half-duplex RS485
converters, use the command:
#> set flow ra=1 rts=toggle
See "set flow" on page 120.
Note that the pre-delay and post-delay settings for set flow can be used to
delay transmission after RTS rises and before RTS drops respectively.
Using the Second Serial Port in Pass-Thru Mode for a Serial Modbus
Master
Another use for the second serial port of the DigiOne IAP is to allow a serial
master to share serial slaves 1-8 with the network. Because of the
destination table, the serial master can be allowed to access Modbus/TCP
network slaves. Since route=2 has ip=0.0.0.0, this means DigiOne IAP will
use its own IP address and the slave address to construct an IP address.
Therefore, if the DigiOne IAP’s IP address is 192.168.1.37 and the Modbus
slave address is 99, a remote Modbus/TCP slave at IP address
192.168.1.99 will be accessed.
#> set ports ra=1-2 dev=ia
#> set ia master=1 protocol=mbtcp active=on
#> set ia serial=1 protocol=mbrtu
#> set ia serial=2 protocol=mbrtu type=master
#> set ia table=1 addroute=1 active=on
#> set ia table=1 route=1 type=serial port=1 protocol=mbrtu protaddr=1-8
#> set ia table=1 addroute=2 active=on
#> set ia table=1 route=2 type=ip protocol=mbtcp protaddr=9-255
ipaddress=0.0.0.0
See Also • "set config" on page 100 to configure a Digi device to use a DNS server.
• "revert" on page 83 for information on reverting IA configurations.
• "set ports" on page 176.
• "set line" on page 155.
• "set flow" on page 120.
• "show" on page 252 for displaying the current IA configuration settings.
• The Web user interface’s help for IA configuration. Go to
Applications > Industrial Automation and click
How to Configure Industrial Automation.
set ippool
Purpose Creates a pool of IP addresses for serial ports, or displays the currently
defined pool of IP addresses. This command can be used for configuring IP
addresses for PPP connections.
Required The root user can configure a pool of IP addresses. Normal users can
Permissions display the currently defined pool of IP addresses.
Example In this example, the set ippool command configures a pool of four IP
addresses: 190.175.175.20, 190.175.175.21, 190.175.175.22, and
190.175.175.23.
#> set ippool ip=190.175.175.20 count=4
See Also • "remove" on page 81 to remove entries from the ippool table.
• "revert" on page 83. The revert ippool command reverts the
set ippool configuration.
• "set user" on page 238 for information on linking a user to the IP
address pool.
• "Configure Inbound PPP Connections" on page 18.
set keys
Purpose Changes the key or key sequences used to generate certain characters
and command functions, or displays current key mappings for these
characters and functions.
Use the carat character (^) to indicate that the Ctrl key should be held while
pressing another key.
Required The root user can configure key sequences. Normal users can display key
Permissions mappings.
Options function=keys
One of the following characters or control functions (where ^ means
“press and hold the Ctrl key”):
backchar
The back character. The default is ^b.
eof
The end of file character. The default is ^d.
erase
The erase command. The default is ^h.
forwchar
The forward key (move cursor forward). The default is ^f.
intr
The interrupt command. The default is ^c.
kill
The kill character. The default is ^u.
lnext
The literal next character (interpret the next character literally). The
default is ^v.
nextcmd
Scroll forward through command history. The default is ^n.
prevcmd
Scroll backward through command history. The default is ^p.
xon
The XON character. The default is ^q.
xoff
The XOFF character. The default is ^s.
Change a Key
In this example, the set keys command changes the key that generates an
end of file character (eof) for port 1.
#> set keys eof=^h range=1
See Also "revert" on page 83. The revert keys command reverts the set keys
configuration.
set line
Purpose Configures or displays options associated with a serial line.
Required The root user can configure line options. Normal users can display line
Permissions options.
Options baud=bps
The line speed (bps) for this line. Use one of the following values: 50, 75,
110, 134, 150, 200, 300, 600, 1200, 1800, 2400, 4800, 9600, 14400,
19200, 28800, 38400, 57600, 115200, 230400. In addition,
PortServer TS 8/16 Family devices support 100, 3600, and 460800 bps.
The default is 9600.
break={ignore|send|escape}
Specifies how the Telnet break signal is handled.
ignore
The Telnet break signal is ignored.
send
Send the Telnet break signal on the serial line when the device server
receives a break signal.
escape
Send the escape sequence on the serial line when the device server
receives a break signal.
The default is ignore.
csize={5|6|7|8}
The character size, which can be 5, 6, 7, or 8 bits. The default is 8.
ignore
The device server ignores errors.
null
The device server changes the error character to a null character.
parmrk
The device server “marks” the error with FF (16450 error byte).
dos
The device server marks the error with an error character.
The default is ignore.
inpck={on|off}
Specifies whether input parity checking is on or off.
on
Input parity checking is turned on.
off
Input parity checking is turned off.
The default is off.
istrip={on|off}
Specifies handling of the high-order bit.
on
The high-order bit is stripped from each byte.
off
The high order bit is not stripped from each byte.
The default is off.
onlcr={on|off}
Specifies handling of new-line characters.
on
New-line characters are mapped to carriage return/line feed
characters.
off
No mapping of new-line characters occurs.
The default is off.
otab={on|off}
Specifies handling of output tabs.
on
means that output tabs are converted to eight spaces.
off
Output tabs are not converted.
The default is off.
parity={o|e|n|m|s}
The parity used for the line.
o
Odd parity.
e
Even parity.
n
No parity.
m
Mark parity.
s
Space parity.
The default is n (no parity).
range=range
The port or range of ports to which this command applies.
stopb={1|2}
The number of stop bits per character to use on this line. The value used
here must match the setting on the device connected to this port. Use 1
or 2 stop bits.
The default is 1 stop bit.
For serial lines configured with 5 data bits (csize=5) and 2 stop bits
(stopb=2), a value of 1.5 stop bits is automatically used, and overrides
any other value entered for this option.
See Also • "revert" on page 83. The revert line command reverts the set line
configuration.
• "set ports" on page 176.
• "set flow" on page 120.
set logins
Purpose Use the set logins command to:
• Configure the sequence of events that occurs when a user logs into a
port. This includes information the user supplies and prompts and
responses.
• Display current login settings.
Required The root user can configure login sequences. Normal users can display
Permissions login settings.
Options cmdprompt=string
The prompt displayed to a regular user who has logged in. The maximum
length is 31 characters. Enclose this string in quotation marks if it
includes spaces or colons.
The default is digi> for normal users, and #> for root users.
logprompt=string
The login prompt displayed. The maximum length is 10 characters.
Enclose this string in quotation marks if it includes spaces or colons. The
default login prompt is login:
login={on|off}
Specifies whether a user must log into the port.
on
A user must log into the port.
off
A user is not required to log into the port.
The default is on for inbound dev types. This option is disabled when the
port is configured as an auto port. See "set ports" on page 176 for more
information.
passwd={on|off}
Specifies whether users are required to supply a password to access the
ports specified by the range option.
on
Users are required to supply a password to access the ports specified
by the range option.
off
Users do not supply a password.
The default is on. This option is disabled when the port is configured as
an auto port (see "set ports" on page 176).
passprompt=string
The password prompt displayed. The maximum length is 10 characters.
Enclose this string in quotation marks if it includes spaces or colons. The
default is password.
premessage=string
A message string that precedes any action, such as a login prompt or
autoconnect. The string can contain escape characters. The maximum
length after string processing is 63 characters. The default is
no message.
range=range
The range of ports addressed by this set logins command. When the
set logins command is issued from a Telnet session, range is required
in order to identify the port to which it applies. When set logins is issued
from an attached terminal, the command applies to the port which the
terminal is attached, unless the range option is used to specify another
port.
rootprompt=string (PortServer TS 8/16 Family only)
The prompt displayed to the root user who has logged in. The maximum
length is 31 characters. Enclose this string in quotation marks if it
includes spaces or colons. The default is #>.
verbose={on|off}
Specifies whether the device server displays connection status
messages to users before the login prompt.
on
The device server displays connection status messages before the
login prompt.
off
The device server does not display connection status messages
before the login prompt.
The default is off.
off
Configuration changes made by regular users are not saved.
See Also "revert" on page 83. The revert login option reverts the set logins
configuration.
set logport
Purpose Configures or displays the port-logging feature, also known as logport. The
port-logging feature passively logs data going into, out of, or both on a
serial port. This means that you can be using a standard reverse or
RealPort session on a port, and all the data from that session can be sent
to a configurable server.
Required The root user can configure port logging. Normal users can display port
Permissions logging settings.
Options range=port#-port#
A range of port numbers to which to apply the settings. For example:
range=1-16
state={off|rx|tx|both}
Specifies how data should be handled.
off
Do not send port logging data.
rx
Send data received on the serial port.
tx
Send data transmitted by the serial port.
both
Send data received and transmitted (rx+tx).
The default is off.
mode={raw|syslog}
Specifies whether the data is sent as raw data or in syslog format.
raw
Sends data to the server as it is seen on the port.
syslog
The serial data is encapsulated in syslog format.
The default is syslog.
pri=0-65535
The syslog priority, which instructs the syslog server how to prioritize this
packet. This option applies only if mode=syslog.
ipaddress=ipaddress
The IP address to which packets are sent.
udpport=1-65535
The UDP port to which packets are sent. The default is 514 (syslog).
rtime=0-65535
The time in milliseconds to wait before sending out a packet, if there is
data. The default is 0, which means that this rtime option is ignored.
rmax=1-65535
The amount of data to collect before sending a packet. The default is
1024.
stripdelimiter={on|off}
Specifies whether delimiters encountered in the data stream are sent
as-is to the server or stripped from the data before sending.
off
If a delimiter is encountered in the stream, it is sent to the server.
on
If a delimiter is encountered in the data, it is removed before the data
is sent.
The default is off.
delimiter=string
The string in the serial data that tells the Digi device that the message is
complete and should be forwarded to the destination. If you do not
specify a delimiter, the Digi device will forward a message based on the
number of bytes accumulated in the buffer (specified by the rmax option)
and on the period to wait for the buffer to fill (specified by the rtime
option).
Rules and guidelines for specifying this string are as follows:
• The string can be between 1 and 4 characters long.
• The string can be made up of printable or unprintable characters.
• To use an unprintable character, enter the character in hexadecimal
format, that is, \xhh, where hh is replaced with a hexadecimal
number.
• There are several unprintable characters that can be entered using
a shortcut, enabling you to avoid entering hexadecimal digits. They
are: \t (tab), \r (carriage return), \n (line feed).
• To use the backslash character as a delimiter, enter two backslash
characters (\\).
There is no default delimiter.
Examples To enable logging to a syslog server (in the receive and transmit
directions):
#> set logport range=1-16 state=both mode=syslog ipaddress=190.175.175.20
udpport=514
To enable logging to a UDP server for receive direction only:
#> set logport range=1-16 state=rx mode=raw ipaddress=190.175.175.20
udpport=514
See Also • "revert" on page 83. The revert logport command reverts to the port-
logging settings to defaults or to the latest configuration stored in
NVRAM.
set mei
Purpose Controls global Multiple Electrical Interface (MEI) configuration settings.
The system configuration MEI settings for baud rate range are only valid for
EIA-422/485 ports when automatic transmitter control is active.
Required The root user can configure MEI settings. Normal users can display MEI
Permissions settings.
See Also • "revert" on page 83. The revert mei command reverts the MEI
configuration settings.
• "set switches" on page 218. That command configures MEI settings on
a per-port basis.
set menu
Purpose Creates and modifies custom menus. Use the set menu command to:
• Create menus for users.
• Display menu table entries.
• Display lines of a menu.
• Remove a line from a menu.
Required The root user can configure menus. Normal users can display menu
Permissions settings.
Options c#=command
A command that is executed when a user selects this menu line, where:
c
Specifies that this is a command that is executed when a user selects
this menu line.
#
A line number. Lines appear in numeric order on the menu.
command
Any command. Enclose commands containing spaces in quotation
marks.
m#=string
A text or informational line for the menu, where:
m
Specifies that this is a text or informational line.
#
A line number for the menu. Lines appear in numeric order on the
menu.
string
A text string. Enclose strings with spaces in quotation marks.
range=range
A port or range of ports.
t#=string
A title line for the menu, where:
t
Means that this is a title line.
#
A line number for the menu. Each menu can have two title lines (t1 and
t2).
string
A text string. Enclose strings with spaces in quotation marks.
name=string
A name for the menu. If this parameter is not used, menus are named
menuX, where X is the index number of the menu specified on the range
option.
Names may be up to 16 characters long. Enclose names containing
spaces in quotation marks.
rmentry=line num
Removes the specified line from the menu.
show={on|off}
Displays (on) or hides (off) menu entries identified on the range option.
See Also • "remove" on page 81 to remove entries from the menu table.
• "revert" on page 83. The revert menu command reverts the set menu
configuration.
• "set user" on page 238 (the menu and defaultaccess options) for
information on setting up a user to use a menu.
set modem
Purpose Use the set modem command to:
• Configure an association between a port and modem test and
initialization scripts.
• Display the modem table.
• Clear the association between ports and modem test and initialization
scripts.
Required The root user can configure modem settings. Normal users can display
Permissions modem settings.
See Also • "revert" on page 83. The revert modem command reverts the
set modem configuration.
• "set script" on page 195 for more information on creating modem
scripts.
set netlogins
Purpose Use the set netlogins command to:
• Configure the sequence of events that occur when a user logs into a
server over the network (netlogin).
• Display current netlogin settings.
Required The root user can configure netlogins. Normal users can display netlogin
Permissions settings.
Options cmdprompt=string
The prompt displayed to a regular user who has logged in. The maximum
length is 31 characters. Enclose this string in quotation marks if it
includes spaces. The default is digi> for normal users, and #> for root
users.
login={on|off}
Specifies whether a user must log into the port.
on
A user must log into the port.
off
A user is not required to log into the port.
The default is on for inbound device types. This option is disabled when
the port is configured as an auto port. See "set ports" on page 176 for
more information.
logprompt=string
The login prompt displayed. The maximum length is 10 characters.
Enclose this string in quotation marks if it includes spaces. The default is
login:
off
Users do not supply a password.
The default is on. This option is disabled when the port is configured as
an auto port (see "set ports" on page 176).
premessage=string
A message string that precedes any action, such as a login prompt or
autoconnect. The string can contain escape characters. The maximum
length after string processing is 63 characters. The default is no
message.
rootprompt=string
The prompt displayed to the root user who has logged in. The maximum
length is 31 characters. Enclose this string in quotation marks if it
includes spaces.
The default is #>
verbose={on|off}
Specifies whether the device server displays connection status
messages to users before the login prompt.
on
The device server displays connection status messages to users
before the login prompt.
off
The device server does not display connection status messages to
users before the login prompt.
The default is off.
write={on|off}
Specifies whether configuration changes made by regular users can be
saved and used for subsequent sessions by that user.
on
Configuration changes made by regular users can be saved.
off
Configuration changes made by regular users are not saved.
See Also • "revert" on page 83. The revert netlogin command reverts the
set netlogins configuration.
• "set logins" on page 158.
set netport
Purpose Changes the netport, or port number used for the webserver (HTTP)
service to a different port than the default, which is 80. The new port must
not already be in use by another service.
Required The root user can configure the netport for the webserver service. Normal
Permissions users can display the current netport number.
See Also "revert" on page 83. The revert netport command reverts the set netport
configuration.
set pmodem
Purpose Used to configure options for modem emulation over TCP/IP, or display
current modem-emulation settings.
Required The root user can configure modem emulation settings. Normal users can
Permissions display modem emulation settings.
Options pmtelnet={on|off}
on
Disables the standard Telnet command-line interface for the device.
This means that the device connects to a pmodem pool of serial ports,
and will connect to the first of these serial port that has pmodem
enabled.
Setting this option to on means that the device has no command-line
interface. To enable the Telnet command-line interface, you must
reset the device configuration.
off
Enables the standard Telnet command-line interface for the device.
range=range
The range of serial ports to which this command applies.
sN=value
An S-register value, where sN is s-register, ranging from s0 to a
maximum number. S-register values are described in "Modem Emulation
Commands" on page 263.
set ports
Purpose Configures or displays a port’s operating parameters.
Required The root user can configure port parameters. Normal users can display
Permissions port parameters.
Options auto={on|off}
Determines whether users of the port will bypass device server’s login
and password sequence and be automatically connected to the
destination defined on the dest option.
on
Users are automatically connected to a destination.
off
Users are not automatically connected to a destination.
The default is off.
autoservice={default|raw|rlogin|telnet}
Specifies the autoconnection service for this port, which is only used if
auto=on. Choose one of the following:
default
Normally means the Digi device uses the Telnet service. The
exception is if the dport option is 0 or 513. In that case, rlogin is used.
raw
Data is passed between the serial port and the TCP stream without
modification.
rlogin
The Digi device uses the remote login (rlogin) service.
telnet
The Digi device uses the Telnet service.
bin={on|off}
Determines whether Telnet users of the port are provided with Telnet
binary connections.
on
Telnet users are provided with Telnet binary connections.
off
Telnet users are provided with normal (ASCII) connections.
The default is off.
dest={ip adr|hostname|none}
The IP address or DNS host name of the destination system to which port
users will be routed if auto=on. To disable this option, specify none.
dev=device
The device type, which defines the device connected to the port.
Typically, you can use the following to define the devices listed. The
default is term.
hdial • The device generates a login when carrier is detected (DCD high) and data is received.
• The device closes the port at carrier loss (DCD low).
• DTR and RTS are low when the connection is idle.
• This type does not support reverse Telnet or RealPort.
• This type requires 10-pin cables with DCD and DTR cross-connected or an altpin cable.
hio • The device generates a login when carrier is detected (DCD high) and data is received.
• The device closes the port at carrier loss (DCD low).
• DTR and RTS are low when the connection is idle.
• This type requires 10-pin cables with DCD and DTR cross-connected or an altpin cable.
min • The device server generates a login when carrier is detected (DCD high).
• The device server closes the port at carrier loss (DCD low).
• DTR and RTS are high when the connection is idle.
• This type requires a 10-pin straight-through cable or an altpin cable.
• Do not use dev=min for RealPort and reverse Telnet connections.
mio • The device generates a login when carrier is detected (DCD high).
• The device closes the port at carrier loss (DCD low).
• DTR and RTS are high when the connection is idle.
• This type requires a 10-pin straight-through cable or an altpin cable.
dport={tcp port|none}
The TCP port for users of autoconnect ports, which is one of the
following:
• For Telnet, use 23.
• For Rlogin, use 513.
• For a physical port on the device server, use the base TCP socket
number and then the port number. For example (if you use the
default base TCP socket number), to indicate an autoconnect Telnet
connection to port 12, specify dport=2012. Similarly, to indicate an
autoconnect raw connection to port 12, specify dport=2112. If you
specify 0, Rlogin is used.
• None, which disables the option.
The default is 0.
p[1-9]=script param
Letters and numbers that can be used in the variable fields of login or
dialer scripts. This option is used only when the port-based autoconnect
feature is on. (See the dest option.)
range=range
The port or range of ports to which this command applies.
scriptname=name
The name of a script (defined with the set script command) to use with
auto connections to automatically log on to a host or run a script on a
host.
sess=sessions
The maximum number of sessions any user can run through this port.
The range is 1-9. The default is 4.
show={autoconnect|id|script}
Displays autoconnect and script configuration information for the port
specified and information on who is using the port.
termtype=type
The type of terminal assigned to the port. This information is used during
multiscreen and multisession operations and is passed to the host during
Telnet negotiations. Use a terminal type that is valid with the host
operating system.
uid={id|none}
An index number in the user table that identifies a particular user for this
port. If you use this option, calls from others attempting to use this port
will be rejected. Specify none to disable the option.
See Also • "revert" on page 83. The revert port command reverts the set ports
configuration.
• "set line" on page 155.
• "set flow" on page 120.
• "set keys" on page 153.
• "set logins" on page 158.
• "set powerunit" on page 182.
set powerunit
Purpose Configures or displays power management options. This command is used
to configure Digi RPM power controllers for use with a PortServer TS
device to manage power for other connected devices.
Required The root user can configure power-management options. Normal users
Permissions can display power-management options.
Options alarm1=alarm_threshold...alarm4=alarm_threshold
Configures electrical current thresholds at which alarms will be
generated. You can set up to four thresholds, depending on the number
of current sensors on the power control unit. Alarm1 corresponds to the
first sensor on the power control unit, alarm2 to the second, and so on. If
the threshold is exceeded, the power unit will emit an audible alarm and
an SNMP trap will be generated (if the SNMP agent is configured for this
feature). Specify thresholds in tenth of an Amp increments.
This option sets the current alarm thresholds only. To actually generate
an SNMP trap when a current alarm threshold is exceeded, SNMP must
be configured to generate the trap, using the set snmp command option
curr_thresh_exc_trap=on.
group=group#
A group number, used to assign several power control devices or several
outlets to a group that can then be managed as a single entity. Use group
numbers 1 through 8.
id=device_id
A text string that can be used to identify individual managed devices (for
example, a server or a router) or a group of devices. If you give the same
id to multiple devices, they can be managed as a single entity.
outlet=outlet#
A particular outlet or range of outlets on the power control unit.
range=port
Identifies the port or ports to which the specified power control unit is
connected. You can specify ports using an individual port number, a list
of ports separated by commas, or a range of ports using a dash. See the
examples that follow.
size=number_of_outlets
The number of outlets on the power control unit.
tempthreshold1=threshold, ... tempthreshold4=threshold
Configures temperature thresholds at which SNMP traps will be
generated. You can set up to four thresholds, depending on the number
of temperature sensors on the power control unit. tempthreshold1
corresponds to the first sensor on the power control unit, tempthreshold2
to the second, and so on. If the threshold is exceeded, an SNMP trap will
be generated (if the SNMP agent is configured for this feature). Specify
thresholds in tenths of a degree Celsius.
This option sets the temperature thresholds only. To actually generate an
SNMP trap when a temperature threshold is exceeded, SNMP must be
configured to generate the trap, using the set snmp command option
temp_thresh_exc_trap=on.
type={baytech|digi_rpm}
Specifies the manufacturer of the power unit.
users=user_index-user_index#
Used to assign a user permission to control the outlet. Use the user index
number to assign a user to the outlet.
Configure an ID
In this example, all the devices connected to outlets 1-4 are assigned an
ID, allowing them to be managed as a single unit.
#> set powerunit range=8 outlet=1-4 id=Routers
Configure a Group
#> set powerunit range=8 outlet=1-4 group=3
set profiles
Purpose Sets the particular port configuration profile for a serial port.
The set profiles command may be used for two purposes:
• Used with the default Web interface to set the particular profile for a
serial port.
• Used to set the default parameters for a specific profile. When the
profile is changed, the serial settings are reverted to their defaults and
the profile-specific defaults are set (these defaults depend on the
profile). The set profiles command allows command-line interface
users to quickly set up serial ports.
Devices in the Digi One and PortServer TS Family support several port
profiles. The set of available profiles depends on each device. The help for
the set profiles command, displayed by entering set profiles ? displays
the list of supported profiles. The complete set of profiles is:
• Console Management profile: Allows you to access a device’s
console port over a network connection, and to use the port sharing
feature.
• Industrial Automation (IA) profile: Configures the serial port for use in
an Industrial Automation (IA) environment.
• Modem Emulation profile: Allows you to configure the serial port to
act as a modem.
• Modem profile: Allows you to connect a modem to the serial port to
establish or receive connections from other systems and modems.
• Power Management profile: Allows you to control and manage a
power controller to turn on and off outlets and devices.
• Printer profile: Allows you to connect a printer to the serial port.
• RealPort profile: Allows you to map a COM or TTY port to the serial
port.
• TCP Sockets profile: Allows a serial device to communicate over a
Transmission Control Protocol (TCP) network.
• Terminal profile: Allows you to connect a terminal to the serial port.
• Tunneling profile, also known as the Serial Bridge profile:
Configures one side of a serial bridge. A serial bridge connects two
serial devices over the network, as if they were connected with a serial
cable.
• UDP Sockets profile: Allows a serial device to communicate using the
Universal Datagram Protocol (UDP).
• Custom profile: An advanced option to allow full configuration of the
serial port. This profile allows you to view all settings associated with
the serial port.
Required The root user can configure port profiles. Normal users can display port
Permissions profile settings.
Options range=range
The serial port number or range of serial ports associated with the port
profile. Required when configuring port profiles.
profile={console|ia|modem_emulation|modem|power|printer|
realport|tcpsockets|terminal|tunneling|udpsockets|custom|
modem_embedded|chat}
The port profile to use for the serial port. Required when configuring port
profiles. Choosing a particular port profile causes the serial port’s
configuration to be reset to defaults, and then for the default settings for
that port profile to take effect.
Depending on the choices available for the device, the value of profile
can be one of the following:
console
Associates the Console Management port profile with the port.
ia
Associates the Industrial Automation port profile with the port.
modem_emulation
Associates the Modem Emulation port profile with the port.
modem
Associates the Modem port profile with the port.
power
Associates the Power port profile with the port.
printer
Associates the Printer port profile with the port.
realport
Associates the RealPort port profile with the port.
tcpsockets
Associates the TCP Sockets port profile with the port.
terminal
Associates the Terminal port profile with the port.
tunneling
Associates the Tunneling (Serial Bridge) port profile with the port.
udpsockets
Associates the UDP Sockets port profile with the port.
custom
Associates the Custom port profile with the port.
modem_embedded
Associates the Embedded Modem port profile with the port.
chat
Associates the Chat port profile with the port.
See Also • "revert" on page 83. revert profiles reverts all profiles to their default
settings.
• "set ports" on page 176: the settings on this command typically
correlate to the default settings for various profiles.
• "set line" on page 155: the settings on this command typically correlate
to the default settings for various profiles.
• "set flow" on page 120: the settings on this command typically correlate
to the default settings for various profiles.
set radius
Purpose Use the set radius command to:
• Configure a Digi device to use one or more RADIUS (Remote
Authentication Dial-In User Service) servers to authenticate and
maintain user profiles on dial-in users.
• Display current RADIUS configuration options.
When device server uses a RADIUS server, it authenticates users by first
searching its own user table, and then, if the user is not found, searching
the RADIUS server.
Required The root user can configure RADIUS settings. Normal users can display
Permissions RADIUS settings.
ignorefilterid={on|off}
Specifies handling of unknown Filter ID attributes.
Caution: Setting this field to on can pose security issues on the Digi
device.
on
Ignore Filter ID attributes that are not found in the list of filters on the
Digi device. If a Filter ID attribute matches a filter on the Digi device, it
is processed normally.
off
Filter ID attributes which do not find a matching filter on the Digi device
cause an authentication failure.
primary=ip adr
The IP address of the primary RADIUS server. This is the server that the
device server queries first. If this server is down or busy, the device
server queries the secondary server (if there is one).
run={on|off}
Specifies whether RADIUS authentication is enabled or disabled.
on
Enables RADIUS authentication.
off
Disables RADIUS authentication.
The default is off.
secondary=ip adr
The IP address of a secondary RADIUS server.
secret=password
A password used for encryption of messages between the RADIUS
server and the device server. The server and device server must use the
same password. The primary and the secondary servers are not required
to use the same password. If they are different, however, you must issue
two set radius commands, one to configure the primary RADIUS server
and one to configure the secondary server. See the command example
"Configure Two RADIUS Servers" on page 190 for more information.
tolerant={on|off}
Specifies handling of unrecognized RADIUS attributes.
on
Ignore unrecognized RADIUS attributes.
off
The connection is denied if unrecognized RADIUS attributes are
present.
See Also • "revert" on page 83. The revert radius command reverts the set radius
configuration.
• "set filter" on page 115 for information on configuring filters to operate in
conjunction with the Filter ID attribute.
set rloginoption
Purpose For remote login (rlogin) sessions, set rloginoption allows or disallows the
enabling or disabling of flow control by the rlogin application.
Required The root user can configure rlogin flow control. Normal users can display
Permissions rlogin flow-control settings.
Options flowChngDisabled={on|off}
Allows or disallows the enabling or disabling of flow control by the rlogin
application.
flowChngDisabled=on
Attempts to enable and disable flow control from the rlogin application
are ignored.
flowChngDisabled=off
Attempts to enable and disable flow control from the rlogin application
are honored.
The default is off.
Examples Ignore Attempts to Disable and Enable Flow Control from rlogin
Application
#> set rloginoption flowChngDisabled=on
See Also • "revert" on page 83. The revert rloginoption command reverts the
set rloginoption configuration.
• "rlogin" on page 87.
set route
Purpose The set route command is an advanced feature that is intended to be used
by experienced device and network users. Use the set route command to
• Manually configure IP routes. The route table holds up to 50 entries.
• Remove routes from the route table.
• Display the contents of the route table.
Required The root user can configure IP route settings. Normal users can display
Permissions route table entries.
See Also • "remove" on page 81 to remove entries from the route table.
• "revert" on page 83. The revert route command reverts the set route
configuration.
• "set forwarding" on page 124 for information on configuring device
server to use dynamic IP routes maintained by the Routing Information
Protocol (RIP).
• "set user" on page 238 for information on and options for defining PPP
users.
set rpauth
Purpose Sets authentication options for RealPort. RealPort has a challenge-
authentication protocol that, if enabled, allows only hosts that authenticate
to use ports on the Digi device. This authentication protocol is supported
for both encrypted and unencrypted versions of RealPort.
In order to use RealPort authentication, it must be enabled in both the
driver and the Digi device.
Required The root user can configure authentication options. Normal users can
Permissions display authentication options.
Options state={enabled|disabled}
Specifies whether a host must authenticate before using the port on the
Digi device.
secret=”shared secret”
A password that is entered on both the Digi device and in the RealPort
driver.
See Also • "revert" on page 83. The revert rpauth command reverts the set
rpauth configuration.
set script
Purpose Use the set script command to:
• Define a modem or login script.
• Display entries in the script table.
• Display all stanzas of a script.
• Delete a script from the script table.
Required The root user can configure, edit, or delete scripts. Normal users can
Permissions display script settings.
Delete a Script
There are three ways to delete a script:
set script {rmscript={on|n ame} name=name |rmscript=n ame}
That is:
set script rmscript=on range=r ange
set script rmscript=on name=n ame
set script rmscript=name
Options name=name
The name of the script.
newname=new name
A new name for the script, identified either by its old name (on the name
option) or by an index number in the script table (on the range option).
s {1-24}=stanza content
The number of a script stanza (1 through 24) and the contents of the
stanza. The contents of the stanza content value must be enclosed in
quotation marks. The contents can include any of the commands listed in
the following table:
Fn Pauses for n seconds and flushes input data. The default is 0. s1=”F10”
Nb Changes the baud rate. The range is 50 to 115,200. Rates under s4=”N19200”
110 bps should be used only on expansion ports.
Pn Pauses for n seconds. If you do not specify a value for n, the default s5=”P2”
is 1 second.
Sn Defines the time to wait (timeout), in seconds, for a modem signal s2=”S5”
or input data.
[string]s Defines the string and the stanza to jump to when the string is s7=”[abort]s22”
received on a communications line.
This string can include any of the escape commands listed in
"Script Escape Sequences" on page 198.
Escape
Description
Sequence
^c This is the character transmitted by an ASCII keyboard when the
CTRL key is held down and the c key is pressed.
\b Backspace
\f Form feed
\t Tab
\n New line
\r Return
\\ Backslash
range=range
An index number in the script table (for display).
rmscript={on|name}
Specifies that script removal is enabled, or removes the specified script.
See Also • "Filters for PPP Connections" on page 22 for information on using filters
for PPP connections.
• "revert" on page 83. The revert script command reverts the set script
configuration.
• "set user" on page 238 for information on assigning a login script to a
user.
• "set chat" on page 98 for information on telephone number string
translation.
set secureaccess
Purpose Sets secure access for Digi devices by disabling them for users of inbound
connections.
Required The root user can configure and display secure access.
Permissions
Options level={secure|high|normal}
Determines which group of services are on, or available, for inbound
users. Specify one of the following:
secure
SSH is the only service available to inbound users.
high
SSH, HTTP, HTTPS, SNMP, RealPort, Secure RealPort, and SSL
services are available to inbound users.
normal
All services are available.
The default is normal, which means that all services are available.
https HTTPS
realport RealPort
snmp SNMP
ssh SSH
telnet Telnet
See Also • "revert" on page 83. The revert secureaccess command reverts the
set secureaccess configuration.
• "set service" on page 203.
set service
Purpose Use the set service command to
• Configure, or associate, names with TCP and UDP service ports for use
in filters.
• Display entries in the service table.
• Remove entries from the service table.
Required The root user can configure or remove service table entries. Normal users
Permissions can display service table entries.
Options name=name
The name to assign the service.
port={udp:port|tcp:port}
The TCP or UDP port number for the service.
range=range
A range of entries in the service table, which is used to identify entries to
display or delete.
{rmservice=name|rmservice=on}
Removes a service from the service table.
name
The name of a service to be removed from the service table.
on
Remove the service or services from the service table identified on the
range option.
NNTP 119
RIP 520
Login 513
Shell 514
SMTP 25
Telnet 23
TFTP 69
See Also • "remove" on page 81 to remove entries from the service table.
• "revert" on page 83. The revert service command reverts the
set service configuration.
• "set filter" on page 115 for information on configuring filters.
set sharing
Purpose Configures or displays the port sharing feature. A Digi device enabled for
port sharing allows more than one client to open a serial port through
RealPort, reverse Telnet, reverse SSH, or connect.
All clients that share a port will read the same data from the serial port; the
data is duplicated and sent to each client. All clients that share a port will
have the data they write merged and sent out the serial port.
The serial port parameters, such as baud rate and flow control, can either
be shared by all clients or be controlled exclusively from the Digi device
alone.
If there is only one client, then RealPort, reverse Telnet, reverse SSH, and
connect will work normally.
Required The root user can configure port sharing. Normal users can display port-
Permissions sharing settings.
current max
tty clients clients control timeout
1 2 2 shared 100
2 0 1 shared 0
3 0 1 shared 0
4 0 1 shared 0
The port-sharing parameters are displayed in four columns. The
current clients column shows how many clients are currently sharing the
port. The max clients, control, and timeout columns show the value set
with the clients, control, and timeout options.
Now, the set sharing command is issued to change port-sharing
parameters, as follows:
#> set sharing range=2,4 clients=4 control=exclusive timeout=600
#> show sharing
current max
tty clients clients control timeout
1 2 2 shared 100
2 0 4 exclusive 600
3 0 1 shared 0
4 0 4 exclusive 600
current max
tty clients clients control timeout
1 2 1 shared 100
2 0 4 exclusive 600
At this point, the two clients disconnect from port 1 and a new client
connects to port 2.
#> show sharing range=1-2
current max
tty clients clients control timeout
1 0 1 shared 100
See Also • "Configure Port Sharing" on page 25 for more details on port sharing,
including the caveats involved.
• "revert" on page 83. The revert sharing command reverts the
set sharing configuration.
• "set profiles" on page 185. For PortServer TS products, the
Console Management port profile can be used to enable the port
sharing feature (set profile profile=console).
• "show" on page 252. The show sharing command displays the current
port-sharing settings.
set snmp
Purpose Configures, enables, and disables a device server’s Simple Network
Management Protocol (SNMP) agent, and displays current SNMP settings.
Devices in the Digi One and PortServer TS Family support SNMP
Version 1.
Required The root user can configure SNMP. Normal users can display SNMP
Permissions settings.
Options auth_trap={on|off}
Determines whether an SNMP trap is sent when an authentication error
occurs.
on
The agent sends an authentication trap to the SNMP manager when
an authentication error occurs.
off
The agent silently ignores SNMP requests that fail authentication.
The default is off.
cold_start_trap={on|off}
Determines whether an SNMP trap is sent to the SNMP manager when
a reboot occurs.
on
The agent sends a trap when a reboot occurs.
off
A trap is not sent when a reboot occurs.
The default is off.
off
A trap is not sent when the threshold is exceeded.
The default is off.
get_request=community
The password required to read device server SNMP managed objects.
The default is public.
link_up_trap={on|off}
Determines whether an SNMP trap is sent to the SNMP manager when
a network link comes up.
on
The agent sends a trap when the link comes up.
off
A trap is not sent when the link comes up.
The default is off.
location=location string
A text string that describes device server’s location. If there are spaces
in the text, the string must be surrounded by quotation marks.
name=name string
A text string that identifies device server. If there are spaces in the text,
the string must be surrounded by quotation marks.
login_trap={on|off}
Determines whether the device server sends a trap each time someone
attempts to log into the system.
on
Send a trap at each attempt to log in.
off
Do not send a trap each time someone attempts to log in.
The default is off.
run={on|off}
Specifies whether the SNMP daemon is started.
on
Starts the SNMP daemon.
off
The SNMP daemon will not start.
The default is off.
set_request
Displays a prompt of a password required to write to device server SNMP
managed objects. The default is private.
trap_dest=ipaddress
The IP address of the system to which the agent should send traps.
temp_thresh_exc_trap={on|off}
Determines whether an SNMP trap is sent to the SNMP manager when
the temperature threshold on a power control device is exceeded.
on
The agent sends a trap when the threshold is exceeded.
off
A trap is not sent when the threshold is exceeded.
The default is off.
See Also • "revert" on page 83. The revert snmp command reverts the set snmp
configuration.
• "set powerunit" on page 182. This command configures a Digi RPM
power controller, including temperature and current thresholds
associated with the temperature and current threshold traps set by this
command.
• "set snmpauth" on page 212 for configuring or displaying access
permissions for SNMP sets and gets.
set snmpauth
Purpose Configures or displays access permissions for Simple Network
Management Protocol (SNMP) sets and gets.
To produce the intended configuration results, follow these principles:
• The default for SNMP is unlimited access (assuming a valid SNMP
community).
• You can configure a new default by removing the default entry in the
snmpauth table (the entry that specifies an IP address of 0.0.0.0 and
mask of 0.0.0.0). Then, the default becomes no access for any IP
address. You can then use the command to permit access for particular
IP addresses.
• To limit SNMP access to a single IP address, specify that IP address
with mask=255.255.255.255.
• To specify a range of IP addresses, specify an IP address that is in that
range, and a mask that has a binary 1 for every bit of the IP address
that must match perfectly with the address specified in the ip option.
The snmpauth table is limited to 20 entries.
Required Normal users can display information. Root privileges are required to
privileges change snmpauth table entries.
Options ip
The IP address of the device to which this set snmpauth command
applies.
mask
Specifies an IP mask used to extend the scope of this set snmpauth
command to a range of IP addresses.
See Also
• "set snmpauth" on page 212 for information on setting snmp
communities.
• "remove" on page 81. The remove snmpauth command removes an
snmpauth table entry.
• "revert" on page 83. The revert network command reverts the settings
configured by this command.
set sntp
Purpose Configures a Simple Network Time Protocol (SNTP) client. The purpose of
the SNTP client is to get the current time from a Network Time Protocol
(NTP) server and set the device’s clock with this time.
Required The root user can configure SNTP. Normal users can display SNTP
Permissions settings.
Options state={on|off}
Enables or disables the SNTP client.
mode={unicast|anycast|multicast}
Indicates how the SNTP client is expected to get the time from a NTP
server.
unicast
The SNTP client sends a request to a designated unicast server and
expects a reply.
anycast
The SNTP client sends a request to a broadcast address and expects
a reply from one or more servers. Upon receiving the first reply, the
client will establish unicast communication with the server that sent the
reply and ignore responses from all other servers.
multicast
The SNTP client sends no request and waits for a broadcast from a
server.
polltime={10-100000 seconds}
Specifies how often an SNTP client will query a server for a time update.
primary={ip address|server hostname}
The IP address or hostname of the primary NTP server.
secondary={ip address|server hostname}
The IP address or hostname of the secondary NTP server.
set socketid
Purpose Configures the serial port socket ID feature. Device servers support
reverse Telnet and raw reverse Telnet connections, which enable remote
users and applications to manage serial devices connected to device
server ports. A socket ID is a text string that is sent at the start of a
connection between a Digi device’s serial port and a remote host. This
feature enables easier identification of the managed device.
Required The root user can configure the serial port socket ID feature. Normal users
Permissions can display serial port socket ID settings.
Options range=range
The port or ports configured with this command.
state={on|off}
Turns the serial port socket ID feature on or off for the specified port. The
default is off.
string=”character string”
An identification string, where character string is made up of ASCII
characters, surrounded by quotation marks. This string can be 1 to 256
bytes long.
Characters can also be embedded in the string by using escape
sequences, as described in the following table:
Form feed \f
Tab \t
New line \n
Return \r
Backslash \\
verbose
Displays the entire identification string when the string exceeds twenty
characters. This option is not necessary for strings under twenty
characters.
See Also "revert" on page 83. The revert socketid command reverts the
set socketid configuration.
set switches
Purpose Configures Multiple Electrical Interface (MEI) settings on a per-port basis,
and displays current MEI settings.
Required The root user can configure MEI settings. Normal users can display MEI
Permissions settings.
Options range=range
The port or range of ports to which this command applies.
mode={232|485}
Selects the electrical interface of the serial port.
232
The serial port uses electrical interface EIA-232. This interface uses
independent wires to transmit and receive data, which allows data to
be sent and received between devices simultaneously.
485
The serial port uses electrical interface EIA-485. This mode can also
be used for EIA-422 connections. This interface uses two wires to both
transmit and receive data. This interface also allows for multiple
transmitters and receivers to be easily connected together.
Several other command options specifically apply to serial ports in
EIA-485 mode: txcontrol, wires, termination, and pinout.
The default is 232.
txcontrol={alwayson|auto}
Specifies how the 422/485 drivers should be connected to the lines. As
the drivers support Tri-state mode, this option can be set so that
transmitter is always on, or actively driving the line, or only on if data is to
be transmitted.
This option is only valid for four-wire configurations; that is, if the wires
option is set to four. In two-wire configurations, the PortServer TS MEI
always uses auto.
alwayson
The transmitter is always actively driving the line. Set this option to
alwayson if this device is the only one transmitting on a one-wire pair,
such as a single master in a master-slave configuration, or if only two
devices are attached.
auto
The transmitter is only active when data is sent; otherwise, it is
switched to high-impedance mode. Set this option to auto if multiple
devices need to share the bus in a dual master scenario or if the device
is acting as slave in a multidrop environment.
The default for four-wire settings is alwayson.
wires={two|four}
Applies when the serial port is running in 485 mode only. Specifies the
manner in which the transmit and receive wires are connected.
two
The serial port operates in two-wire mode. This value implies that the
txcontrol option is set to auto at all times.
four
The serial port operates in four-wire mode.
The default is four. For a detailed description of the pinouts for an
asynchronous port, see the alternate 8-pin settings for the pinout option.
termination={on|off}
Applies when the serial port is running in 485 mode only. Determines
whether termination resistance is enabled across the lines.
on
Termination resistance is enabled across the lines.
off
Termination resistance is disabled across the lines.
The default is off.
enable={on|off}
Enables or disables a serial port’s transmitter.
on
Enables a serial port’s transmitter.
off
Disables a serial port’s transmitter.
The default is on.
08 CTS CTS+
See Also • "display" on page 63. The display switches command displays the
current switch settings that were set by set switches.
• "revert" on page 83. The revert switches command reverts the
set switches configuration.
• "set mei" on page 165. The set mei allenables command performs
much the same action as set switches enable={on|off}.
set tcpip
Purpose Configures or displays operating characteristics of the Transmission
Control Protocol (TCP) for the Digi device, including the TCP port used by
RealPort, the interval TCP waits before retransmitting an unacknowledged
segment, how TCP handles idle connections, and socket service values for
reverse Telnet connections. The command options garp and rto_min can
be used to optimize for latency.
Required The root user can configure TCP/IP settings. Normal users can display
Permissions TCP/IP settings.
Options arp_ttl=30-1200
The initial value of the ARP time-to-live variable. When an ARP cache
entry first populated, the ARP time-to-live variable is set to this value.
When the entry has existed in the table for this long without being
updated, another ARP cache request is performed to make sure that
there is not a new a new device at that IP.
garp=30-3600
The frequency of Gratuitous ARP (GARP) announcements. A
Gratuitous ARP is a broadcast announcement to the network of a
device’s MAC address and the IP address being used for it. This
allows the network to update its ARP cache tables without performing
an ARP request on the network.
Gratuitous ARP announcements can affect latency in a limited way,
because some systems stall or dispose of data that is transmitted
during an ARP cache refresh. If this happens, setting the
Gratuitous ARP frequency to be more often than the problem system’s
time-to-live variable can cause it to refresh the cache without needing
to perform a request.
ip_ttl=hops
Sets the initial value of the IP time-to-live variable, which defines the
maximum number of hops that a packet can survive before being
discarded. The default is 64.
keepalive_active={on|off}
Enables or disables the keep-alive function.
on
Enables the keep-alive function.
off
Disables the keep-alive function.
The default is off. However, the keep-alive function can be turned on by
an application regardless of this setting. When you change this setting,
you must reboot the device server.
keepalive_byte={on|off}
Specifies whether the device server sends a “garbage” byte of data,
known as a keep-alive byte, to force the device at the other end of the
connection to respond to the keep-alive packet.
on
The device server sends a keep-alive byte of data.
off
The device server does not send a keep-alive byte of data.
The default is off. When you change this setting, you must reboot the
device server.
keepalive_idle=hours:minutes:seconds
Determines the period a TCP connection has to be idle before the
keep-alive option is activated. The range is 10 seconds to 24 hours. The
default is 2 hours.
probe_count=probe count#
The number of times TCP probes the other connection to determine if it
is alive after the keep-alive option has been activated. The valid range for
probe_count is 5-30. The default is 10.
Digi recommends that the probe_count default not be changed unless
there is a good reason to change it. Changing the value can adversely
affect Telnet connections.
probe_interval=probe interval#
The time in seconds between each keep-alive probe. The range is 10-75
seconds. The default is 75 seconds.
Digi recommends that the probe_interval default value not be changed
unless there is a good reason. Changing the value can adversely affect
Telnet connections.
See Also • "revert" on page 83. The revert tcpip command reverts the set tcpip
configuration.
• The Digi One and PortServer TS Family User Guide’s chapter on
latency tuning.
set telnetip
Purpose Creates and displays entries in the Telnet IP address table. set telnetip
creates configuration profiles for Telnet communication with particular
devices. That is, set telnetip links an IP address to particular Telnet
operating options. You can also use set telnetip to display current Telnet
IP address table entries.
Before removing Telnet table entries using the remove command, it may
be helpful to use set telnetip without any options to display the existing
Telnet table entries and their corresponding index numbers.
Required The root user can configure Telnet IP settings. Normal users can display
Permissions Telnet IP settings.
See Also • "remove" on page 81 to remove entries from the Telnet table.
• "revert" on page 83. The revert telnetip command reverts the
set telnetip configuration.
set terms
Purpose The set terms command configures a Digi device to handle terminals that
are not connected over a network. Use the set terms command to:
• Define terminal types and the escape sequence a terminal uses when
initiating and maintaining multiple sessions.
• Display entries in the term table.
Required The root user can configure terminal settings. Normal users can display
Permissions terminal settings.
See Also • "remove" on page 81 to remove entries from the terms table.
• "revert" on page 83. The revert terms command reverts the set terms
configuration.
set time
Purpose Configures or displays the time and date in a device.
Required The root user can configure the time and date. Normal users can display
Permissions the current time and date.
Options {am|pm}
The period of the day when hrmode=12.
date=mn.day.yr
The month (expressed numerically), day, and year (use only two digits for
the year), separated by periods.
hrmode={12|24}
Hour mode; specified as either 12 or 24.
time=hr:mn:sec
The hour (24-hour clock), minute, and second, separated by colons.
set timezone
Purpose Sets the time zone information for the device. It is necessary to set the time
zone information when daylight saving is desired or when the device is
using Simple Network Time Protocol (SNTP). Failure to set time zone when
using SNTP will result in time always being set to the UTC/GMT time and
not the local time.
You can set the time zone by either using the rules for a given region or
city, or by manually entering time-zone offsets and rules. Using the rules for
a given region or city is the simpler method.
Required The root user can configure time zone settings. Normal users can display
Permissions time zone settings.
Syntax Display a List of All of the Time-Zone Regions that Can Be Specified
set timezone name
Options name=region/city|name=city
The name option is provided as a way to automatically fill in the time zone
offsets and rules for a given region/city. For example, to set time zone for
North America central time zone, you would specify name=Chicago. To
display a list of all of the time-zone regions that can be specified, enter
the command set timezone name ?
std_offset=[-]hh:mm:ss
The offset relative to UTC or GMT time when standard time is in effect.
For example, for the North America Central time zone, enter
std_offset=-6
dst_offset=[-]hh:mm:ss
The offset relative to UTC or GMT time when day light saving time is in
effect. For example, for the North America Central time zone, use
dst_offset=-5
dst_rule=date[/time],date[/time]
The dates on which Daylight Saving Time (DST) occurs for a given time
zone. The time and date values are specified as follows:
time
The time at which DST occurs. The time is specified as hh:[mm[:ss]]
and defaults to 02:00.
date
The date at which DST occurs. The date can be specified using any of
the following forms:
Jn (1<=n <=365)
Where January 1=1 and December 31=365, and February 29 is not
included in the day count.
n (0<=n <=365)
Where January 1=0 and December 31=365, and February 29 is
included in the day count.
Mm .n .d (0[Sunday]<=d<=6[Saturday], 1<=n <=5,
1<=m <=12)
Specifies a particular day of the week, d, in week n of month m of
the year, where week 1 is the first week in which day d appears. 5
stands for the last week in which day d appears (which may be
either the 4th or 5th week).
Examples Configure Time Zone by Using Rules for a Given Region or City
#> set timezone name=Chicago
set trace
Purpose Configures a device server for tracing, or displays tracing information.
This command is intended to be used in cooperation with Digi Technical
Support.
Required The root user can configure trace settings. Normal users can display trace
Permissions settings.
Syntax The syntax and available options for set trace may vary by product
release. Enter the following command to view the current list of options:
set trace ?
Options See the results of the set trace ? command for available options. Consult
Digi Technical Support on recommendations for using the options.
See Also "revert" on page 83. The revert trace command reverts the set trace
configuration.
set udpdest
Purpose Configures destinations for serial over User Datagram Protocol (UDP)
communication. These destinations are stored in the UDP destination
table.
The Digi One and PortServer TS devices are devices capable of UDP
multicast. UDP multicast is used to send serial data over an Ethernet cable
to one or many hosts at the same time. UDP is a connectionless protocol,
meaning this type of communication is not controlled by a higher-layer
application, but sends data without any form of acknowledgement or error
correction.
The number of entries allowed in the UDP destination table varies by
product.
The number of devices that can receive a UDP multicast varies by product.
• PortServer TS 8/16 Family: up to 16 devices can receive a UDP
multicast at one time.
• All other products, including the Digi One Family and
PortServer TS 1/2/4: up to 64 devices can receive a UDP multicast at
one time.
Both the transmitting and receiving devices must be configured properly for
UDP multicast to work.
Configuring UDP multicast communications involves configuring the Digi
device for the following types of connections:
• Inbound connections: connections initiated by the device on the other
side of the network.
• Outbound connections: connections initiated by the device connected
to the serial port.
Required The root user can configure or remove UDP destinations. Normal users
Permissions can display UDP destinations.
range=index
The index number or numbers that identify entries in the UDP destination
table. Enter this information in any of the following ways:
range=1
range=1-2
range=1,2
range=1,3-4
rmudp=on
Removes the entries from the UDP destination table identified on the
port and range options.
See Also • "revert" on page 83. The revert udpdest command reverts the
set udpdest configuration.
• "set udpserial" on page 235.
set udpserial
Purpose Configures operating options for serial over User Datagram Protocol (UDP)
communication, and displays current serial over UDP communication
options.
Required The root user can configure serial over UDP options. Normal users can
Permissions display serial over UDP options.
Options range=ports
The serial port or serial ports to which this command applies. Enter this
information in any of the following ways:
port=1
port=1-2
port=1,2
port=1,2-4
closetime=0-66635 milliseconds
The time the serial port will remain in an idle state for use by serial over
UDP communication before the port can be closed and made available.
This option is helpful when a serial port is used for several purposes.
Unlike TCP serial, UDP serial does not automatically detect when the
other side has completed the session. Setting this closetime option
means that the serial port will not remain in an idle state waiting to
continue serial over UDP communications indefinitely.
See Also • "revert" on page 83. The revert udpserial command reverts the
set udpserial configuration.
• "set udpdest" on page 233.
set user
Purpose Configures and displays user options. The set user command configures a
range of options associated with users, such as whether the user
automatically connects to a host or is required to supply a password.
set user also displays configuration attributes stored in the user table,
such as whether a user must supply a password.
The number of entries that can be stored in the user table varies by device:
• The user table for PortServer TS 8/16 Family devices holds up to 64
entries. To accommodate additional users, PortServer TS 8/16 Family
devices can use a RADIUS server.
• The user table for Digi One Family and PortServer TS Family devices
holds up to 9 users.
The user option SSH version 2 encryption for secure communication
(SSH2) is supported on the server version only, and not on the client
version.
Required The root user can configure user options. Normal users can display user
Permissions options.
[mtu=bytes ]
[n1, n2=phone number ]
[name=name ]
[netrouting={off|send|rec|both}]
[netservice={on|off}]
[network]
[newname=string ]
[outgoing={on|off}]
[p1,p2...=script parm ]
[papid=id ]
[pappasswd=passwo rd ]
[passive={on|off}]
[passpacket=filter ]
[password={on|off}]
[ports=ports ]
[pppauth={none|pap|chap|both}]
[protocol=ppp]
[protocompress={on|off}]
[range=range ]
[rloginesc=char ]
[rmkey={on|off}]
[rmtbusydly=second s]
[sessiontimeout=seconds ]
[sshbreak=string ]
[telnetesc=charac ter ]
[vjslots=number ]
Period Keyword
Working week (Monday-Friday) wk
Sunday su
Monday mo
Tuesday tu
Wednesday we
Thursday th
Friday fr
Saturday sa
addrcompress={on|off}
Specifies whether the device server attempts to negotiate address
compression on PPP connections.
on
The device server attempts to negotiate address compression.
off
The device server does not attempt to negotiate address compression.
The default is on.
asyncmap=map
A mask for PPP connections that defines which of the 32 asynchronous
control characters to transpose. These characters, in the range 0x00
through 0x1f, are used by some devices to implement software flow
control. These devices may misinterpret PPP transmission of control
characters and close the link. This mask tells PPP which characters to
transpose.
The default is FFFF, which means transpose all 32 control characters.
Any combination is valid. The following are the masks most likely used:
FFFFFFFF
Transpose all control characters.
00000000
Transpose none.
000A0000
Transpose Ctrl-Q and Ctrl-S.
autoconnect={on|off}
Specifies whether the user is automatically connected to another system.
on
A Telnet or Rlogin user will be automatically connected to another
system without accessing the device server command line once the
user has satisfied login and password requirements. If you specify
autoconnect=on, you should also specify the autohost and autoport
or autoservice options.
off
The user will not be automatically connected to another system.
The default is off.
autohost=ip addr
The IP address of a host to which this Telnet or Rlogin user should be
automatically connected. Use this option only if you specify
autoconnect=on.
autoport=tcp port
The TCP port to use for the automatic connection. Use this option only if
you specify autoconnect=on.
If you specify autoconnect and do not specify a TCP port, the port will
be determined by the autoservice option, or, if there is no autoservice
option specified,the default, port 513, which is Rlogin.
off
A user cannot access the command line and cannot issue commands.
The default is on.
compression={vj|none}
Specifies whether compression is used on PPP connections.
vj
Van Jacobsen header compression is used on PPP connections.
none
Header compression is not used on PPP connections.
The default is vj.
connectesc={off|esc char}
The escape character for users using the connect command. The default
escape character is Ctrl [(Control key and left bracket).
defaultaccess=service
Restricts the service accessible to the user. The options for service are:
commandline
The device server command line is displayed to the user.
menu
A menu is displayed to the user. If you specify this option, you must
also specify a menu number on the menu option.
autoconnect
The device server automatically connects the user to the destination
specified on the autohost option.
netservice
Starts Peer to Peer Protocol (PPP) services. Use this value for PPP
users.
outgoing
This user is limited to outgoing connections.
The default is commandline.
device=device name
The name of a device or a device pool, defined with the set device
command, used for outbound PPP connections.
dialout={on|off}
Specifies whether an outbound PPP connection is started.
on
Starts an outbound PPP connection. A dialer script requires this option
to be on to initiate outbound connections.
off
Disconnects an outbound PPP connection.
The default is off.
killescchar=character
The kill character, which is used to close sessions. The default is ^u.
loadkey=host:key
Configures an SSH2 public key for use with this user. This option applies
to Digi One IAP and PortServer TS Family devices.
host
The IP address or DNS name of a host from which the SSH2 public
key will be downloaded (using TFTP) to the Digi device.
key
The name of a ECDSA file on the host, which contains the SSH2
ECDSA public key. If your host’s implementation requires a complete
path to this file, specify the path here as well.
localbusydly=seconds
The number of seconds that device server delays before retrying to
establish a PPP connection that could not be made because local ports
were unavailable. The range is 0 to an unlimited number of seconds. The
default is 0, which means there will be no delay.
localipaddr={0.0.0.0|ip addr|unnumbered}
The IP address of the local end of a PPP link, which can be:
0.0.0.0
For outbound PPP users, specifying 0.0.0.0 means the user will
request an IP address from the remote server. Inbound PPP users do
not use 0.0.0.0.
ip addr - A specific IP address
For outbound users, specifying a specific IP address means the Digi
device will attempt to use this IP address. The remote server must
agree to this request. For inbound PPP users, this IP address must be
unique. That is, no other user can use this IP address and it cannot be
the IP address of the Ethernet interface.
unnumbered
Specifying the keyword unnumbered allows for multiple incoming
PPP sessions into the Digi device, using the same login names. This
setting instructs the Digi device to assign the local IP address from the
range of IP addresses defined in the ippool table. The ippool table
address range must be defined so that it can provide adequate IP
addresses for the required logins.
loginscript=script
The name of a script, defined with the set script command, to use to log
in to a remote system.
Login scripts are seldom required. Use them when you are configuring
Digi-device-to-Digi Device connections and the Digi device that is to be
accessed requires the user to supply a password and does not use
RADIUS. To use the generic login script that comes with your Digi device,
specify loginscript=loginscript. Do not use this script to log into
Microsoft Windows systems.
receive
Accept RIP updates from this user, but do not send RIP updates to this
user.
both
RIP updates will be sent to and received from this user.
netservice={on|off}
Specifies whether PPP connections are allowed.
on
Allows PPP connections for the user.
off
Allows no PPP connections for the user.
To configure inbound PPP users, you must specify netservice=on.
network
Displays network-related options associated with the user specified on
the name option.
newname=string
A new name for a previously defined user.
outgoing={on|off}
Specifies whether the user can initiate outgoing serial connections.
on
The user can initiate outgoing serial connections. For outbound users,
outgoing=on is required.
off
The user cannot initiate outgoing connections
p1, p2 ...=script parm
Letters and numbers that can be used in the variable options of login or
dialer scripts. p1 is typically used to supply user names and p2
passwords.
papid=id
A character string that identifies the outbound PPP user using PAP
authentication. This option is equivalent to a user name or login name.
The string must be 16 or fewer characters and must be recognized by the
peer.
pappasswd=password
A character string that authenticates the outbound PPP user using PAP
authentication. This is equivalent to a password. The string must be 16
or fewer characters and must be recognized by the peer.
passive={on|off}
Specifies whether the device server waits for the remote system to begin
PPP negotiations, or can initiate PPP negotiations on its own.
on
The device server waits for the remote system to begin PPP
negotiations.
off
The device server may initiate PPP negotiations.
off
A password is not required of this user.
The default is on.
ports=ports
A port or range of ports that this user can access.
pppauth={none|pap|chap|both}
Determines whether authentication is required for inbound PPP
connections and, if so, what kind.
none
The remote user does not require PPP authentication.
chap
CHAP authentication is required.
pap
PAP authentication is required.
both
Both CHAP and PAP authentication are required.
The default is none.
CHAP authentication works between two Digi devices. CHAP will be
negotiated to PAP for all other connections.
protocompress={on|off}
Specifies whether the device server attempts to negotiate protocol
compression on PPP connections.
on
The device server attempts to negotiate protocol compression on PPP
connections.
off
The device server will not negotiate protocol compression.
The default is on.
protocol=ppp
Specifies that this is a PPP user. This setting is required for all PPP
users.
range=range
Identifies an entry or range of entries in the user table to display or
remove.
rloginesc=char
A different escape character than the ~ (tilde) character. This character
is used for disconnecting from the remote host.
rmkey={on|off}
Enables or disables the SSH2 public key defined on the loadkey option.
on
Enables the SSH2 public key defined on the loadkey option.
off
Disables the SSH2 public key defined on the loadkey option.
The default is on.
rmtbusydly=seconds
The number of seconds that device server delays before reattempting a
connection to a remote system that was previously inaccessible. The
range is 0 to an unlimited number of seconds. The default is 0, which
means no delay.
sessiontimeout=seconds
The maximum time in seconds that a user may be connected. The range
is 0 to an unlimited number of seconds. The default is 0, which means
that there is no limit.
sshbreak=string
The Secure Shell (SSH) escape character or string for this user.
telnetesc=character
The Telnet escape character for this user. Use this option to define a
character to escape (shell-out) of a Telnet session without killing the
session. The default is ^] (Ctrl and right bracket).
vjslots=number
The number of slots used for Van Jacobsen header compression. The
number of slots you configure should correspond to the expected
maximum number of simultaneous connections using Van Jacobson
header compression on this WAN interface. To avoid excessive
processor usage, configure only the number you will need.
The default is 16 and the range is 4 through 255.
See Also • "remove" on page 81 to remove entries from the user table.
• "revert" on page 83. The revert users command reverts the set user
configuration.
• "Commands for Managing Connections and Sessions" on page 53.
set web
Purpose Controls the timeout period for Web UI connections, or resets an active
Web UI connection.
The timeout period refers to an inactivity timeout, a configurable period
after which a user will be logged out of the Web UI. The timeout is reset
every time the user views a page. Inactivity timeouts are useful for security
purposes, to ensure that a connection is not left open if a user forgets to log
out. Connections can also be manually closed by using the
command=reset option to cause the current connection to be
automatically logged out. This is useful if the current connection was not
properly logged out.
Syntax The set web options must be used individually and not combined in a
single command.
Options timeout=0–65534
The timeout period for Web UI connections. Setting the timeout to 0
means that no timeout should be used. In this instance, a Web UI
connection will never time out. That means that the only way to close a
connection is to either manually log out, or use the
set web command=reset option. Setting the time to anything over 0
means that after the connection has been idle for the specified seconds,
the connection is closed and the user will be forced to log in again. The
default value is 600 seconds (5 minutes).
command=reset
Used to force the active connection to be closed and require the user, or
any other user, to log in. This is a useful function when a user forgets to
log out.
See Also "revert" on page 83. The revert web command reverts the set web
settings to their default values.
show
Purpose Displays current configuration settings, and current versions of the Boot,
POST, and OS components for a device.
Options option
One of the following options:
Works with
Option Displays events associated with... "range"
Option
altip set altip setting. yes
Works with
Option Displays events associated with... "range"
Option
modem set modem settings. yes
Works with
Option Displays events associated with... "range"
Option
versions The version of POST, Boot, and EOS running no
on the device server.
range=range
A configuration table entry or range of entries.
See Also "revert" on page 83. The revert command reverts the settings of various
set commands.
status
Purpose Displays the current list of sessions. This includes any session that was
created by a connect, rlogin, or telnet command. Typically, the status
command is used to determine which sessions to close.
Syntax status
Example In this example, the status command provides information on the user’s
current Telnet session.
#> status
telnet
Purpose Establishes a Telnet session with a remote system.
To establish a character sequence to escape or shell-out of a Telnet
session without killing the session, use the set user command’s
telnetesc=character option. The default Telnet escape character
sequence is ^] (Ctrl and right bracket).
Options hostname
The name of the host to which you want a Telnet session. DNS must be
configured on the device server to use this option.
host ip addr
The IP address of the host to which you want a Telnet session.
tcp port
The TCP port assigned the Telnet application on the remote system. The
default is 23, the port typically used for Telnet.
traceroute
Purpose Displays a list of routers through which an IP packet passes on its way to a
particular destination.
uptime
Purpose Displays the amount of elapsed time since the last reboot.
Syntax uptime
wan
Purpose Initiates and controls wide-area network (WAN) connections, or displays
the status of current WAN connections.
Only incorrectly configured WAN interfaces produce a message in
response to this command. If WAN interfaces are configured correctly, no
message is returned.
Required Anyone can display the status of WAN connections. Root privileges are
Permissions required to initiate or control WAN connections.
who
Purpose Displays a list of current users of the Digi device. For each user,
information displayed includes from where the user is connected from
(Connected from), the services to which they are connected
(Connected to), and the number of connections open.
Options mode={name|numeric}
How to display the current users in the Connected from field. This
setting has no effect for users logged in via serial ports.
name
Displays the Connected from field as a host name, for example
fred.company.com.
numeric
Displays the Connected from field as a host IP address, for example,
192.168.4.17.
range=tty-tty
Either a TTY connection or a range of connections identified by TTY
connection number.
This chapter describes the commands that can be issued when Digi
devices are configured in modem emulation mode.
DSR and DTR on the serial device side are connected to the DSR signal of
the Digi device.
Modes of Operation
There are two modes of operation in modem emulation:
• Command mode: Issuing AT commands to a Digi device.
• Data mode: After a network connection is established, the device
switches to data mode.
Serial cable
NE
IO
DIG
Digi device
Ethernet
Server
192.168.25.5
UserUser
Scenario - Diagram
Scenario Diagram B B
Workstation
Serial cable
DIG
IO
NE
Ethernet Workstation
Digi device
Serial cable
NE
IO
DIG
Digi device
In Diagram B, two Digi devices will replace modems on both sides of the
connection. The initiation of the connection occurs with either of the Digi
devices. If both ends are Digi devices, the TCP listening port number is
50001 for port 1. An example of the connection command is:
ATDT 192.168.25.30:50001
Upon establishing a successful TCP connection, a CONNECT message is
sent to the serial port and only then does the Digi device switch from AT
command mode to data mode. After the CONNECT is received, the
transmission of data begins. Using the modem escape sequence or
dropping DTR on either side terminates the connection.
AT Result
Function
Command Code
When in data mode, this command causes the modem to switch to
command mode. The value of n corresponds to the required delay before
n+++n and after the escape sequence is entered. The delay can be changed by
modifying S-register 12. The escape character can be changed by
modifying S-register 2.
A/ Repeats the last command string.
AT? Prints the value of the last-accessed S-register.
Answer command: Answers an incoming TCP connection and switches to
ATA data mode.
Used to connect to a remote network device. This command directs the Digi
device to go on-line, dial according to the IP address entered as follows,
and attempt to establish a TCP connection.
Dial Modifiers. The valid dial string parameters are described below.
Punctuation characters may be used for clarity with parentheses, hyphen,
and spaces being ignored.
• 0-9: DTMF digits 0 through 9.
• . (period): Dot notation used for IP addresses. IP addresses are written
as four numbers separated by periods, where the first number is
ATD between 1 and 255, and the other three numbers are between 0 and
(ipaddress):
(ipport) 255. Enter the IP address in the format xxx.xxx.xxx.xxx
• : (colon): Colon notation used for the TCP port.
• L: Redial the last number. The modem will reconnect to the last IP
address accessed. The L must immediately follow the D, and any
following characters are ignored.
• P: This command is accepted but not acted on.
• T: This command is accepted but not acted on.
• R: This command is accepted but not acted on.
• , (comma): This command is accepted but not acted on.
Command echo. The Digi device enables or disables the echo of characters
to the DTE according to the parameter supplied. The parameter value, if OK n=0 or 1
ATEn valid, is written to S14 bit 1.
ERROR
• E0: Disables command echo. Otherwise
• E1: Enables command echo.
OK n=0 or 1
Disconnect (Hang up) command.
ATH ERROR
H0, H1: Hangs up the TCP connection if a connection is active. Otherwise
Identification command.
• I0, I1: Reports product name. OK n=0 or 9
ATIn • I3: Reports product name and firmware revision. ERROR
• I4: Reports product configuration. Otherwise
• I6: Reports network connection information.
AT Result
Function
Command Code
OKn = 0 or 1
Return to on-line data mode. If the modem is in the on-line command mode, and a
the modem enters the on-line data mode. If the modem is in the off-line connection
ATO command mode (no connection), ERROR is reported. exists.
• O0, O1: If there is an active connection, switches the modem to data ERROR
mode. Otherwise or if
not connected.
Quiet results codes control command. The command enables or disables
the sending of the result codes to the DTE according to the parameter
supplied. The parameter value, if valid, is written to S14 bit 2.
OK n=0 or 1
ATQn • Q0: Enables result code to the DTE (Default).
ERROR
• Q1: Disables result code to the DTE. Otherwise
• Q2: Disables “CONNECT” result codes.
• Q3: Disables “CONNECT” result codes on incoming connections.
Read/Write to the specified S-Register.
• n Establishes S-register n as the last register accessed. OK n=0 or 1
ATSn • n=v Sets S-Register n to the value v. ERROR
• n? Reports the value of S-Register n. Otherwise
See "S-Register Definitions" on page 271 for definitions of S-Registers.
The verbose setting for result codes. This command selects the sending of
short-form or long-form codes to the DTE. The parameter, if valid, is written
to S14 bit 3. OK n=0 or 1
ATVn • V0: Result codes are issued in numeric or short form. Line feeds are not ERROR
issued before a short-form result. Otherwise
• V1: Result codes are issued in text or long form. This is the default.
OK n=0 or 1
Load configuration. Reloads the S-register configuration from flash memory.
ATZ ERROR
See "S-Register Definitions" on page 271 for definitions of S registers.
Otherwise
DCD option. The Digi device controls the DCD output in accordance with
the parameter supplied. The parameter value, if valid is written to S21 bit 5. OK n=0 or 1
AT&Cn ERROR
• &C0: DCD remains ON at all times.
Otherwise
• &C1: DCD follows the state of the connection.
DTR option. This command interprets the ON to OFF transition of the DTR
signal from the DTE in accordance with the parameter supplied. The
parameter value, if valid, is written to S21 bits 3 and 4. Also see S25.
• &D0: DTR drop is ignored (assumed ON).
• &D1: DTR drop is interpreted by the modem as if the asynchronous OK n=0 to 3
AT&Dn escape sequence had been entered. The modem returns to command ERROR
mode without disconnecting. Otherwise
• &D2: DTR drop causes the modem to hang up. (Default.)
• &D3: DTR drop causes the modem to do a soft reset, as if the ATZ
command was executed.
Restore factory configuration. The device reloads the factory default S- OK n=0 or 1
register configuration from flash memory. The factory defaults are identified
AT&F ERROR
for each command and in the S-Register descriptions. A configuration
consists of a subset of S-Registers. Otherwise
Displays current values and settings.
OK n=0 to 5
• AT&V0- AT&V5: Displays S-Register/command values for the current
AT&V ERROR
and stored configuration.
Otherwise
• AT&V6: Displays current network settings.
AT Result
Function
Command Code
OK n=0 or 1
AT&Wn Store configuration. Stores the specified S-registers in flash memory. ERROR
Otherwise
S-Register Definitions
Following is a description of the S-registers that can be set.
Result Codes
Following is a description of the return codes returned by modem
emulation commands.
A description 55
AB/Client-Server Protocol 141 boot version
AB/DF1 Full Duplex 141 displaying current settings 251
abbreviating commands 51 break signal 89
abcsp 141 break signal handing 155
abethernet 141 bring up or reject connections 116
abort output signal 89 bringup filter 21, 241
access control buffers 65, 98
See security features
access permissions C
configuring 95 carriage-return character 52
displaying 95 CHAP authentication 37, 241, 247
access time 239 character size, configuring 155
add line feed characters 72 chat protocol 141
address compression 239 chat scripts, configuring 99
admin command chat table
description 54 configuring entries in 99
alert character 52 displaying entries in 99
Allen-Bradley Client-Server Protocol how to configure 100
(abethernet) 141 removing entries from 81, 99
Allen-Bradley/DF1 Full-Duplex Protocol renaming entries 99
(df1fullduplex) 141 circuit breaker 43, 63, 102
alternate IP addresses 91 clear errors 63
altip configuration clear statistics 68
reverting settings 84 clear the maximum current detected 78
altip table Client FQDN (Fully Qualified Domain Name) 111
configuring entries in 91 close command 13, 53, 58
displaying entries in 91 description 58
removing entries from 81 closing a connection 58
are you there signal 89 closing a WAN connection 260
arp configuration command line
reverting settings 84 accessing 12
arp table configuring access to 37, 241
adding ethernet address 93 restricting user access to 242
configuring entries in 93 command prompt 158
displaying entries in 93 commands
removing entries from 81 abbreviating 51
ASCII devices, protocol for 141 descriptions 54–261
ascii_import protocol 141 navigation and editing keys 50
async map 239 online help for 50
asynchronous control characters 240 syntax conventions 51
AT commands 267, 268 compression 242
auth table configuration
configuring entries in 94 displaying 62
displaying entries in 94 configuration management
removing entries from 81 copying configuration to and from remote
authentication 247 host 47
autoconnect copying to a remote host or terminal 62
configuring ports 175 displaying configuration 62
configuring users 240 displaying current Boot, POST, and OS compo-
nents for a device 251
B overview 47
backslash character 52 resetting configuration to defaults 47
backspace character 52 restoring defaults 55
backup and restore configurations 47 restoring from a remote host or terminal 62
backup/restore configurations 62 upgrading firmware 47
baud rate, configuring 155 configuration table
bidirectional modem connections 176 removing entries from 81
block or pass packets 116 configure a device 110
boot command configure access for two IP addresses 97
Index 275
configure buffers 98 disable device servers 200
configure mixed access 97 disabling inbound Telnet connections 201
configure no access for an IP Address 97 disabling services 42, 201
configuring outbound PPP user 19 display buffers command
connect command 13, 53, 242 description 65
description 60 display command
relationship to close command 58 description 63
connect session status 254 display configuration 62
connection management display errors 63
from command line 53 display operating options 72
connections 259 display outlet status 77
console menu 107 display power unit status 77
control a device with a device range 78 display statistics 68
control a device with an ID 78 displaying attributes ports 180
copying the configuration to a host or terminal 62 displaying Boot, POST, and OS components of a
cpconf command device 251
description 62 displaying current device server users 261
create a menu 167 displaying current secure-access settings 200
current time and date 228 displaying device configuration settings 251
Custom protocol displaying login information for ports 160
set ia command 130 displaying operating parameters of a port 175
custom protocol 141 displaying the current time and date 228
DNS
D See domain name system
date and time, setting 228 domain name system
Daylight Saving Time (DST) 230 configuring a host file 33
default gateway, configuring 102 Domain Name System (DNS)
default service for user 242 configuring a host file 33
destination tables dumb terminals 176
configuring 132 Dynamic Host Configuration Protocol (DHCP)
configuring route entries within 133 enabling/disabling 111
destinations for serial over UDP
communication 232 E
device table echo replies 74
configuring entries in 109 EIA-232 217
displaying contents 109 EIA-485 217
removing entries from 81 eip 141
device type embedded modem
bidirectional modem connections 176 configuration 113
default on set ports command 176 configuring 46
dumb terminals 176 set embmodem command 113
hdial 177 encryption 41
hio 177 erase character 89
host 177 erase line signal 89
ia 177 error handling on lines 156
incoming modem connections 176 errors
min 176, 177 displaying and clearing 63
mio 176, 177 escape character 89
modem emulation 176 escape sequences for special characters in
mout 176, 177 strings 52
outgoing modem connections 176 ethernet connection
parameter on set ports command 176 configuring 101
pm 176, 178 set ethernet command 114
power 176, 178 Ethernet interface
power units 176 communications parameters 114
printers 176 configuring 16
prn 176, 178 ethernetip 141
RealPort connections 176 event tracing 231
reverse Telnet connections 176 exit command
rp 176, 178 description 66
term 176, 178
df1fd 141 F
df1fullduplex 141 filter
DHCP bringup 21, 241
See Dynamic Host Configuration Protocol configuring 21, 116
dhcp command 13 criteria 21
dialer script 199 displaying the filter table 116
dip switches 63 for PPP connections 21
276 Index
keepup 21, 243 configuring protocol-specific behavior 133, 141
logpacket 21 device type for 177
passpacket 247 for destination tables 132, 138
using with TCP service ports 202 for network-based masters 132, 136
filter table for route entries within destination tables 133,
creating entries in 116 138
displaying entries in 116 for serial port-connected devices 132, 135
removing entries from 81 set ia command 130
filters info command
passpacket 21 description 68
flow control initialization script 168
configuring 121 initiate a connection on a port 60
displaying current parameters 121 initiating a WAN connection 260
form-feed character 52 input parity checking 156
forwarding 125 interrupt process signal 89
frame protocol 68 IP address
FTP service 203 configuring 16
displaying lease information for 111
G for a remote user 243
go ahead signal 89 renewing 111
IP routing
H configuring 28, 125
hdial device type 177 configuring or removing 191
help 50 displaying the routing table 125
help command static routes 191
description 67 IP routing table 128
hexadecimal numbers in strings 52 ippool table
high-order bit handling 156 configuring entries in 152
hio device type 177 removing entries from 81
horizontal tab character 52
host configuration K
reverting settings 84 keep-alive function 243
host connection, testing 74 keepup filter 21, 243
host device type 177 keeput filter 243
host table key mappings 153
configuring 129 kill character 244
displaying entries in 129 kill command 13, 53
removing entries from 81, 129 description 70
hostlink 141
Hostlink protocol 141 L
hunt group 91, 179 lease information for an IP address 111, 113
line options 155
I line speed 155
ia device type 176, 177 line, configuring 155
ICMP load key 244
configuring ICMP router discovery 126 load new boot code 55
mask server 126 load new firmware from a TFTP host 55
routing redirect messages 103 load new POST code 55
idle timeout 243 logging on to a remote system 87
inbound ports login
configuring access to 36 to a remote system 13, 53
incoming modem connections 176 login prompt 158
Industrial Automation (IA) login script 244
Adding a second serial port with more Modbus Login service 203
slaves attached 150 logins
clearing all IA settings 149 configuring 158
displaying current settings 135 displaying current settings 158
enabling RTS/CTS control for radio modems or over a network (netlogin) 170
converters 149 prompt for 158
setting baud rate and other serial-port scripts for 194
settings 149 to remote system 87
setting up a Modbus/TCP to RTU bridge 149 logpacket filter 21
Setting up a PLC with Pass-Thru for local HMI logport feature 161
display 151 loose source routing 75
Using the second serial port in Pass-Thru mode
for a serial Modbus Master 150 M
industrial automation (IA) match any character, escape sequence for 52
configuring ports for 176 mbasc 141
Index 277
mbrtu 141 no option signal 89
mbtcp 141
MEI See Multiple Electrical Interface O
menu table octal bytes in strings 52
configuring entries in 165 ODVA Ethernet/IP for PCCC encap
displaying entries in 165 (ethernetip) 141
removing entries from 81 older port 2222 protocol 141
menus online help 50, 67
configuring 165 operating system, updating 56
configuring for users 245 outbound ports
displaying 165 configuring access to 37
removing 165 restricting access to 94
min device type 176, 177 outgoing modem connections 176
mio device type 176, 177 output tab handling 157
Modbus 141
Modbus protocol P
displaying information for 69 PAP authentication 246, 247
set ia command 130 parity 157
Modbus/ASCII protocol 141 passpacket filter 21, 247
Modbus/RTU protocol 141 password
Modbus/TCP protocol 141 configuring for login prompt 159
modbusascii 141 creating 73
modbusrtu 141 issuing 40
modbustcp 141 prompt for 159
mode command 13 requiring of a user 247
description 71 ping command 13, 53
modem description 74
connections for 176 pm device type 176, 178
scripts for 194 Point-to-Point Protocol (PPP)
set modem command 168 configuring connections 17
test and initialization scripts for 168 configuring users 247
modem emulation poison reverse, configuring 126
AT commands for 267, 268 port sharing
commands 263 configuring 204
configuring 22 configuring the console menu 107
device type for 176 displaying current settings for 252
result codes for commands 273 set sharing command 204
scenarios for 266 port statistics displayed by info serial 69
S-Register definitions 271 ports
modem table buffering 98
displaying entries in 168 buffers 65
mout device type 176, 177 configuring 175
Multi-client Telnet 141 configuring device types 176
Multiple Electrical Interface (MEI) killing a session on 70
configuring global settings 164 operating parameters for 175
configuring per-port settings 217 reconnecting to 80
pinout details 219 power
set mei command 164 command 76
set switches command 217 device type 176, 178
over serial ports 43
N power-management configuration 181
network configuration units 176
reverting settings 84 power command
network configuration parameters description 76
displaying 101 powerunit table
network login (netlogin) 170 configuring entries in 181
network parameters displaying entries in 181
configuring 101 removing entries from 81
displaying 101, 246 PPP
network statistic tables 68 address compression 239
network statistics authentication 247
clearing and displaying 68 closing connections 259
network-based Masters, configuring 132 configuring 17
new-line character 52 configuring connections by set user
new-line character handling 156 command 237
newpass command 40 configuring inbound PPP user 249
description 73 configuring outbound PPP user 249
NNTP service 203 enabling and disabling connections for
278 Index
users 246 remove command
filters for connections 21 description 81
inbound connections for 17 reset network-related settings 85
initiating connections 259 reset the idle timeout timer 116
negotiations 246 reset the port configuration to defaults 85
outbound connections for 19 resetting the circuit breaker 43
protocol compression 247 restoring configuration
users 17, 247 from a host or terminal 62
printers 176 to defaults 55
prn device type 176, 178 restoring the configuration to defaults 83
protocol restricting access to the device 238
statistics for 68 reverse Telnet connections 176
protocol compression 247 revert command
protocols description 83
AB/Client-Server Protocol 141 revert entire configuration 83
AB/DF1 Full Duplex 141 RIP
Address Resolution Protocol (ARP) 93 See Routing Information Protocol
ascii_import 141 rlogin command 13, 53
chat (multi-client Telnet) 141 description 87
configuring behavior of specific in Industrial root session
Automation 133, 141 temporary 54
Dynamic Host Configuration Protocol terminating 79
(DHCP) 102, 111 route configuration
for ASCII devices 141 reverting settings 84
for industrial automation devices 130 route entries within destination tables 133
frame 68 route table
Hostlink 141 configuring entries in 191
Modbus 130 displaying contents of 191
Modbus/ASCII 141 removing entries from 81
Modbus/RTU 141 removing routes from 191
Modbus/TCP 141 routing
multi-client Telnet 141 configuring dynamic routes 125
ODVA Ethernet/IP for PCCC encap 141 configuring static routes 191
older port 2222 protocol 141 tracing of 257
Point-to-Point protocol (PPP) 17, 247 routing configuration
Routing Information Protocol (RIP) 125 reverting settings 84
Simple Network Management Protocol Routing Information Protocol (RIP)
(SNMP) 33, 208 configuring 125
Simple Network Time Protocol (SNTP) 213 configuring dynamic routes using 30
user-defined 130 service number for 203
user-defined (custom) updating 245
wlan 68 rp device type 176, 178
proxy ARP 31
configuring 127 S
services 125 script
assigning to ports 168
Q clearing association with ports 168
quit command 13, 53 creating 194
description 79 deleting 194
dialer script 199
R displaying 194
RADIUS login 198, 244
set radius command 38, 187 removing from the scripts table 194
using 38 script table
RADIUS configuration configuring entries in 194
reverting settings 84 deleting scripts from 194
RealPort displaying entries in 194
access to output ports 97 removing entries from 81
authentication options for 193 secure access 200
configuring 15 secure communication 41
connections 176 security configuration
RealPort connections 176 reverting settings 84
rebooting security features
device server 55 configuring 35
time since last 258 configuring SSH version 2 encryption 41
reconnect command 13, 53 controlling access to command line 37
description 80 controlling access to inbound ports 36
remote login (rlogin) 87 controlling access to outbound ports 37
Index 279
controlling access to services 42 displaying current settings 101, 251
controlling access to the configuration 35 reverting settings 83, 84
issuing user passwords 40 set consmenu
restricting access to inbound ports 37 displaying current settings 107
using CHAP authentication for PPP users 37 set consmenu command
using RADIUS to authenticate users 38 description 107
send command 13, 53 reverting settings 83
description 89 set device command
send information to the log file 116 description 109
separator between characters in escape displaying current settings 109, 251
sequences 52 reverting settings 83, 85
serial configuration set dhcp command
reverting settings 84 description 111
serial line options 155 displaying current settings 111, 251
serial over UDP communication reverting settings 83
configuring 234 set embmodem command
displaying statistics for 69 description 113
operating parameters for 234 displaying current settings 113
serial port reverting settings 83
configuring 155 set ethernet command
local IP address 244 description 114
socket ID feature 215 displaying current settings 114, 251
serial port settings 17 reverting settings 83, 84
serial port-connected devices, configuring 132 set filter command
service table description 116
configuring entries in 202 displaying current settings 118
displaying entries in 202 reverting settings 83, 85
removing entries from 81 set flow command 121
services description 121
FTP 203 displaying current settings 121, 251
Login 203 reverting settings 83, 84
NNTP 203 set forwarding command
RIP 203 description 125
set service command 202 displaying current settings 125, 251
Shell 203 reverting settings 83
SMTP 203 set host command
Telnet 203 description 129
TFTP 203 displaying current settings 129, 251
session reverting settings 83
clearing 70 set ia command
resetting 70 description 130
terminating 66, 79 displaying current settings 135, 251
session control reverting settings 83
from command line 53 set ippool command 152
session information (status command) 13, 53 description 152
session timeout 248 displaying current settings 152, 251
set altip command reverting settings 83, 85
description 91 set keys command
displaying current settings 91, 251 description 153
reverting settings 83 displaying current settings 153, 251
set arp command 93 reverting settings 83, 84
description 93 set line command
displaying current settings 93, 251 description 155
reverting settings 83 displaying current settings 155, 251
set auth command reverting settings 84
description 94 set login command
displaying current settings 95, 251 reverting settings 84
reverting settings 83, 84 set logins command
set buffer command description 158
description 98 displaying current settings 158, 251
displaying current settings 98, 251 reverting settings 84
reverting settings 83 set logport command
set chat command description 161
description 99 displaying current settings 162
displaying current settings 99, 251 reverting settings 84
reverting settings 83, 85 set mei command
set config command 106 description 164
description 101 displaying current settings 164
280 Index
reverting settings 84 description 211
set menu command 165 reverting settings 84
description 165 set sntp command
displaying current settings 165, 168, 251 description 213
reverting settings 84 display current settings 213
set modem command 168 displaying current settings 252
description 168 reverting settings 84
displaying current settings 252 set socketid command
reverting settings 84, 85 description 215
set netlogins command displaying current settings 215, 252
description 170 set switches command
displaying current settings 170, 252 description 217
reverting settings 84 displaying current settings 217, 252
set netport command reverting settings 84
description 173 set tcpip command
displaying current settings 173, 252 description 221
reverting settings 84 displaying current settings 221, 252
set pmodem command reverting settings 84
description 174 set telnetip command
displaying current settings 174, 252 description 224
reverting settings 84 displaying current settings 224, 252
set ports command reverting settings 85
description 175 set terms command
displaying current settings 175, 252 description 226
reverting settings 84 displaying current settings 226, 252
set powerunit command reverting settings 84, 85
description 181 set time command
displaying current settings 181, 252 description 228
reverting settings 84 displaying current settings 228, 252
set profiles command set timezone
description 184 reverting settings 85
displaying current settings 252 set timezone command
reverting settings 84 description 229
set radius command display current settings 229
description 187 displaying current settings 252
displaying current settings 187, 252 set trace command
reverting settings 84 description 231
set rloginoption command displaying current settings 252
description 190 reverting settings 84
displaying current settings 252 set udpdest command
reverting settings 84 description 232
set route command displaying current settings 232, 252
description 191 reverting settings 85
displaying current settings 191, 252 set udpserial command
set rpauth description 234
displaying current settings 193 displaying current settings 234, 252
set rpauth command reverting settings 85
description 193 set user command
set script command description 237
description 194 displaying current settings 238, 252
displaying current settings 194, 252 reverting settings 84, 85
reverting settings 84, 85 using filters with 21
set secureaccess command set web command
description 200 description 250
displaying current settings 200, 252 reverting settings 85
reverting settings 84 Shell service 203
set service command 202 show command 251
description 202 displaying Industrial Automation settings 135
displaying current settings 202, 252 show ia all command 251
reverting settings 84 Simple Network Management Protocol (SNMP)
set sharing command configuring 208
description 204 set snmp command 208
displaying current settings 204, 252 Simple Network Time Protocol (SNTP) 213
reverting settings 84 simple ping 75
set snmp command SMTP service 203
description 208 SNMP
displaying current settings 208, 252 See Simple Network Management Protocol
set snmpauth command SNMP configuration
Index 281
reverting access permission (snmpauth) TFTP host, configuring 102
settings 84 TFTP service 203
reverting settings 84 time
snmpauth table set sntp command 213
removing entries from 81 Simple Network Time Protocol (SNTP) 213
SNTP time and date, setting 228
See Simple Network Time Protocol trace settings
socket ID feature 215 reverting 85
split horizon, configuring 127 traceroute command
S-Register definitions 271 description 257
SSH version 2 encryption 41 tracing a route 257
start bits, configuring 155 tracing, configuring 231
statistics 68 turn on binary mode 72
status command
description 254 U
relationship to close command 58 UDP destination table 232
status information 13, 53 configuring entries in 232
stop bits, configuring 155, 157 displaying entries in 232
strict source routing 75 removing entries from 232
string field values 52 uptime command
strings description 258
length limitations in 52 user attributes
synchronize process signal 89 configuring 44, 237
syntax conventions 51 user table
system configuration configuring entries in 237
reverting settings 84 displaying entries in 237
removing entries from 81, 237
T users
TCP options 221 configuring 237
TCP service ports 202 displaying 238
TCP socket service 105 displaying current users 261
TCPIP configuration removing 238
reverting settings 84
Telnet V
binary connections 176 Van Jacobsen header compression 242, 248
changing options for a session 71 version information
command 13, 53, 255 displaying current settings 253
connection status 255 vertical tab character 52
displaying options for a session 71 vpn command 13, 53
displaying status of current session 254
escape character for 248 W
establishing a connection 255 wan command
IP address table 224 description 259
sending control command to Telnet peer 89 WAN connections
service number for 203 closing 259
telnet command configuring routes over 192
description 255 initiating and controlling 259
Telnet IP configuration who command 13, 53
reverting settings 84 description 261
telnetip table wide-area network (WAN) connections 259
configuring entries in 224
displaying entries in 224
removing entries from 81
temporary root session 54
temporary root session, initiating 54
term device type 176, 178
term table
configuring entries in 226
displaying 226
displaying entries in 226
removing entries 226
removing entries from 81
terminal types 226
terminals
configuring 226
configuring screen memory 226
escape sequences 226
test script 168
282 Index