User guide
set switches
210 Chapter 2 Command Descriptions
set switches
Device support This command is supported in PortServer TS 8/16 MEI Family devices
only.
Purpose Configures Multiple Electrical Interface (MEI) settings on a per-port basis,
and displays current MEI settings.
Required
permissions
The root user can configure MEI settings. Normal users can display MEI
settings.
Syntax Configure MEI settings
set switches [range=range]
[mode={232|485}]
[txcontrol={alwayson|auto}]
[wires={two|four}]
[termination={on|off}]
[enable={on|off}]
[pinout={standard|alternate}]
Display current MEI settings
set switches
Options range=range
The port or range of ports to which this command applies.
mode={232|485}
Specifies 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."