If you want to add the new host as a managed device, make sure you use the current total number of
managed devices + 1, for the new device number.
To get the current number of managed devices:
# config -g config.devices.total
Assuming we already have one managed device, our new device will be device 2. Issue the following
commands:
# config -s config. devices.device2.connections.connection1.name=192.168.3.10
# config -s config. devices.device2.connections.connection1.type=Host
# config -s config. devices.device2.name=OfficePC
# config -s config. devices.device2.description=MyPC
# config -s config.devices.total=2
The following command will synchronize the live system with the new configuration:
# config -hosts

14.7 Trusted Networks

You can further restrict remote access to serial ports based on the source IP address. To configure this
via the command line, you need to do the following:
Determine the total number of existing trusted network rules. If you have no existing rules, you can
assume this is 0.
# config -g config.portaccess.total
This command should display config.portaccess.total 1
Note that if you see config.portaccess.total this means you have 0 rules configured.
Your new rule will be the existing total plus 1. So if the previous command gave you 0, then you start
with rule number 1. If you already have 1 rule your new rule will be number 2, etc.
If you want to restrict access to serial port 5 to computers from a single class C network (192.168.5.0 for
example), you need to issue the following commands (assuming you have a previous rule in place).
Add a trusted network:
# config -s config.portaccess.rule2.address=192.168.5.0
# config -s "config.portaccess.rule2.description=foo bar"
# config -s config.portaccess.rule2.netmask=255.255.255.0
# config -s config.portaccess.rule2.port5=on
# config -s config.portaccess.total=2
The following command will synchronize the live system with the new configuration:
# config -r serialconfig

14.8 Cascaded Ports

To add a new slave device with the following settings:
IP address/DNS name 192.168.0.153
Description Console in office 42
Label les1116-5
Number of ports 16
The following commands must be issued:

_____________________________________________________________________

724-746-5500 | blackbox.com Page 223