Installation guide
set serial
116 Chapter 2 Command Descriptions
set serial
Devices
supported
This command is supported in all Digi Connect Family devices.
Purpose Used to:
• Set general serial configuration options, such as baud rate, character
size, parity, stop bits, and flow control.
• Display current serial configuration options.
Required
permissions
To use this command, permissions must be set to one of the following:
• For a user to display the serial settings for the line on which they are
logged in: “set permissions s-serial=r-self”
• For a user to display the serial settings for any line:
“set permissions s-serial=read”
• For a user to display and set the serial settings for the line on which
they are logged in: “set permissions s-serial=rw-self”
• For a user to display the serial settings for any line, and set serial
settings for the line on which the user is logged in:
“set permissions s-serial=w-self-r”
• For a user to display and set the serial settings on any line:
“set permissions s-serial=rw”
See "set permissions" on page 86 for details on setting user permissions
for commands.
Syntax Set general serial configuration options
set serial port=range [altpin={on|off}] [baudrate=bps]
[csize={5|6|7|8}] [parity={none|even|odd|mark|space}]
[stopb={1|2}] [flowcontrol={hardware|software|none}]
Display current serial configuration options
set serial [port=range]
Options port=range
Used to specify the serial port. Optional on a single-port device.
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.”
baudrate=bps
The baud rate in bits per second. The default is 9600.