Console Server & Router User Manual
253
# config -s config.devices.total=2
The following command will synchronize the live system with the new configuration:
# config -hosts
14.1.6 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
say) 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.1.7 Cascaded Ports
To add a new slave device with the following settings:
IP address/DNS name
192.168.0.153
Description
CM in office 42
Label
cm4116-5
Number of ports
16
The following commands must be issued:
# config -s config.cascade.slaves.slave1.address=192.168.0.153
# config -s "config.cascade.slaves.slave1.description=CM in office 42"
# config -s config.cascade.slaves.slave1.label=cm4116-5
# config -s config.cascade.slaves.slave1.ports=16
The total number of slaves must also be incremented. If this is the first slave being added, type:
# config -s config.cascade.slaves.total=1
Increment this value when adding more slaves.
NOTE: If a slave is added using the CLI, then the master SSH public key will need to be manually copied to every slave
device before cascaded ports will work (refer
Chapter 4
)
The following command will synchronize the live system with the new configuration:
# config -r cascade
Содержание ACM5000
Страница 3: ......
Страница 10: ...Table of Contents 10 Console Server RIM Gateway User Manual...
Страница 11: ......
Страница 94: ...Chapter 5 Firewall Failover and Out of Band 94 Console Server RIM Gateway User Manual...
Страница 119: ......
Страница 149: ......
Страница 191: ......
Страница 205: ......
Страница 225: ......
Страница 303: ......
Страница 313: ......
Страница 323: ......