![Black Box LES1516A User Manual Download Page 256](http://html1.mh-extra.com/html/black-box/les1516a/les1516a_user-manual_2762893256.webp)
256
1.877.877.2269
BLACKBOX.COM
NEED HELP?
LEAVE THE TECH TO US
LIVE 24/7
TECHNICAL
SUPPORT
1.877.877.2269
There are three ways to delete a config element value. The simplest way is use the delete-node script detailed later in Chapter 16. You
can also assign the config element to "" (null), or delete the entire config node using -d:
# /bin/config -d 'element name'
Passwords are saved as plaintext, except the user passwords and the system passwords, which are encrypted. As of firmware
3.16.6u1, however, password obfuscation is supported.
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 were to run the following command:
# /bin/config -s config.fruit.apple=sweet
the configurator will not complain, but this command is clearly 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 see Chapter 16.
15.1.1 SERIAL PORT CONFIGURATION
The first set of configurations that needs to be made to any serial port are the RS-232 common settings. For example, you can set up
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
CHAPTER 15: CONFIGURATION FROM THE COMMAND LINE