Black Box 1102 Marine Safety Devices User Manual


 
Chapter 14: Configuration from the Command Line
724-746-5500 | blackbox.com
125
To configure TACACS authentication:
# config -s config.auth.tacacs.auth_server='comma separated list' (list of remote authentiction and authorization servers.)
# config -s config.auth.tacacs.acct_server='comma separated list' (list of remote accounting servers. If unset, Authentication and
Authorization Server Address will be used.)
# config -s config.auth.tacacs.password='password'
To configure RADIUS authentication:
# config -s config.auth.radius.auth_server='comma separated list' (list of remote authentiction and authorization servers.)
# config -s config.auth.radius.acct_server='comma separated list' (list of remote accounting servers. If unset, Authentication and
Authorization Server Address will be used.)
# config -s config.auth.radius.password='password'
To configure LDAP authentication:
# config -s config.auth.ldap.server='comma separated list' (list of remote servers.)
# 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)