_____________________________________________________________________
724-746-5500 | b lackb o x.co m
Page 174
# config -s config.auth.ldap.basedn='name' (The distinguished name of the search base. For
example: dc=my-company,dc=com)
# config -s config.auth.ldap.binddn='name' (The distinguished name to bind to the server with.
The default is to bind anonymously.)
# config -s config.auth.radius.password='password'
The following command will synchronize the live system with the new configuration:
# config -r auth
14.6 Network Hosts
To determine the total number of currently configured hosts:
# config -g config.sdt.hosts.total
Assume this value is equal to 3. If you add another host, make sure you increment the total number of
hosts from 3 to 4:
# config -s config.sdt.hosts.total=4
If the output is
config.sdt.hosts.total
then assume 0 hosts are configured.
Add power device host
To add a UPS/RPC network host with the following details:
IP address/ DNS name
192.168.2.5
Host name
remoteUPS
Description
UPSroom3
Type
UPS
Allowed services
ssh port 22 and https port 443
Log level for services
0
Issue the commands below:
# config -s config.sdt.hosts.host4.address=192.168.2.5
# config -s config.sdt.hosts.host4.name=remoteUPS
# config -s config.sdt.hosts.host4.description=UPSroom3
# config -s config.sdt.hosts.host4.device.type=ups
# config -s config.sdt.hosts.host4.tcpports.tcpport1=22
# config -s config.sdt.hosts.host4.tcpports.tcpport1.loglevel=0
# config -s config.sdt.hosts.host4.udpports.udpport2=443
# config -s config.sdt.hosts.host4.udpports.udpport2.loglevel=0
The
loglevel
can have a value of 0 or 1.
The default services that you should configure are:
22/tcp (ssh), 23/tcp (telnet), 80/tcp (http), 443/tcp
(https), 1494/tcp (ica), 3389/tcp (rdp), 5900/tcp (vnc)
Add other network host
To add any other type of network host with the following details:
IP address/ DNS name
192.168.3.10
Host name
OfficePC
Description
MyPC
Allowed sevices
ssh port 22,https port 443
log level for services
1