User guide
Configuring Ports for Terminals: Command Line
Chapter 6 Configuring Ports for Terminals and Computers 27
Configuring Ports for Terminals: Command Line
This section describes how to configure Digi One/PortServer TS 2/4 ports for terminal connections.
Port Defaults
Here is the default configuration for Digi One/PortServer TS 2/4 ports:
• VT-100 emulation
• 9600 baud
• 8-bit characters
• 1 stop bit
• No parity
• Software flow control
Related Information
• For information on the set line, set ports, and set flow commands, see the Digi One/PortServer TS Command
Reference.
• For information on configuring terminal ports for autoconnections, see, "Configuring Autoconnection" .
Procedure
This procedure assumes the following:
• That you are logged in as root
• That you know the attributes, such as baud rate and parity, of the terminal that will be connected to this port
1. Supply a set ports command that specifies the following:
set ports range=range dev=term sess=num-of-sess
where range is a port or range of ports and num-of-sess is the number of simultaneous sessions the port user
can maintain
2. Supply a set line command that specifies the following:
set line range=range baud=bps csize=characters parity=parity stopb=num-
bits
Note: The set line settings must match the settings of the attached terminal or device.
where
• range is a port or range of ports
• bps is the line speed
• characters is the character size
• parity is the parity scheme to use on this line
• num-bits is the number of stop bits to use
3. If your terminal is configured for hardware flow control, supply a set flow command that specifies the follow-
ing (software flow control is the default, so a set flow command is not required in that case):
set flow range=range ixoff=off ixon=off cts=on rts=on
to return the configuration to software flow control, use the command:
set flow range=range ixoff=on ixon=on cts=off rts=off
where range is a port or range of ports