User manual
set serial
Chapter 2 Command Descriptions 189
set serial
Devices
supported
This command is supported in all Digi Connect products.
Purpose Sets and displays general serial configuration options, such as baud rate,
character size, parity, stop bits, and flow control.
Required
permissions
For Digi Connect products with two or more users, 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 157 for details on setting user permissions
for commands. Permissions for "set serial" also apply to the "set switches"
command. See "set switches" on page 208.
Syntax Set general serial 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 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.”