Black Box LES1248A-R2, LES1332A, LES1408A, LES144BA, LES1416A, LES1348A Serial Port configuration

Models: LES1116A LES110BA LES1308A LES1348A LES144BA Value-Line and Advanced Console Servers LES114BA LES1432A LES1332A LES1316A LES1416A LES1208A-R2 LES1132A LES1216A-R2 LES1232A LES1248A-R2 LES1408A

1 286
Download 286 pages 6.23 Kb
Page 216
Image 216

Note: The config command does not verify whether the nodes edited/added by the user are valid. This means that any node may be added to the tree. If a user runs the following command:

# /bin/config -s config.fruit.apple=sweet

The configurator will not complain, but this command is useless. When the configurators are run (to turn the config.xml file into live config) they will simply ignore this <fruit> node. Administrators must make sure of the spelling when typing config commands. Incorrect spelling for a node will not be flagged.

Most configurations made to the XML file will be immediately active. To make sure that all configuration changes are active, especially when editing user passwords, run all the configurators:

# /bin/config -a

For information on backing up and restoring the configuration file, refer to Chapter 15, Advanced

Configuration.

14.2 Serial Port configuration

The first set of configurations you need to make to any serial port are the RS-232 common settings. For example, setup serial port 5 to use the following properties:

Baud Rate

9600

Parity

None

Data Bits

8

Stop Bits

1

label

Myport

log level

0

protocol

RS232

flow control

None

To do this, use the following commands:

#config -s config.ports.port5.speed=9600

#config -s config.ports.port5.parity=None

#config -s config.ports.port5.charsize=8

#config -s config.ports.port5.stop=1

#config -s config.ports.port5.label=myport

#config -s config.ports.port5.loglevel=0

#config -s config.ports.port5.protocol=RS232

#config -s config.ports.port5.flowcontrol=None

The following command will synchronize the live system with the new configuration:

# config -r serialconfig

Note: Supported serial port baud-rates are ‘50’, ‘75’, ‘110’, ‘134’, ‘150’, ‘200’, ‘300’, ‘600’, ‘1200’, ‘1800’, ‘2400’, ‘4800’, ‘9600’, '19200', '38400', '57600', '115200', and '230400'. Supported parity values are 'None', 'Odd', 'Even', 'Mark' and 'Space'.

Supported data-bits values are '8', '7', '6' and '5'. Supported stop-bits values are '1', '1.5' and '2'.

Supported flow-control values are 'Hardware', 'Software' and 'None'.

Additionally, before any port can function properly, you need to set the port mode. Set any port to run in one of the five possible modes (refer Chapter 4 for details): [Console server modeDevice modeSDT modeTerminal server modeSerial bridge mode]. All these modes are mutually exclusive.

_____________________________________________________________________

724-746-5500 blackbox.com

Page 216

Page 216
Image 216
Black Box LES1248A-R2, LES1332A, LES1408A, LES144BA, LES1416A, LES1348A, LES1432A, LES1316A, LES1308A Serial Port configuration