Black Box LES114BA At /etc/config/config.xml, Run=configurator, Listed below, Set=id=value

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 215
Image 215

-v –verbose

Log extra debug information.

-d –del=id

Remove the given configuration element specified by a '.' separated

 

identifier.

-g –get=id

Display the value of a configuration element.

-p –path=file

Specify an alternate configuration file to use. The default file is located

 

at /etc/config/config.xml.

-r –run=configurator

Run the specified registered configurator. Registered configurators are

 

listed below.

-s --set=id=value

Change the value of configuration element specified by a '.' separated

 

identifier.

-e --export=file

Save active configuration to file.

-i --import=file

Load configuration from file.

-t --test-import=file

Pretend to load configuration from file.

-S --separator=char

The pattern to separate fields with, default is '.'

-P --password=id

Prompt user for a value. Hash the value, then save it in id.

The registered configurators are:

alerts

ipconfig

auth

nagios

cascade

power

console

serialconfig

dhcp

services

dialin

slave

eventlog

systemsettings

hosts

time

ipaccess

ups

 

users

There are three ways to delete a config element value. The simplest way is use the delete-nodescript detailed later in Chapter 15. You can also assign the config element to "", or delete the entire config node using -d:

# /bin/config -d 'element name'

All passwords are saved in plaintext except the user passwords and the system passwords, which are encrypted.

_____________________________________________________________________

724-746-5500 blackbox.com

Page 215

Page 215
Image 215
Black Box LES114BA At /etc/config/config.xml, Run=configurator, Listed below, Set=id=value, # /bin/config -d element name