![Black Box LES1516A User Manual Download Page 268](http://html1.mh-extra.com/html/black-box/les1516a/les1516a_user-manual_2762893268.webp)
268
1.877.877.2269
BLACKBOX.COM
NEED HELP?
LEAVE THE TECH TO US
LIVE 24/7
TECHNICAL
SUPPORT
1.877.877.2269
15.1.9 RPC CONNECTIONS
You can add an RPC connection from the command line but it is not recommended because of dependency issues.
Before adding an RPC, the Management Console GUI code makes sure that at least 1 port has been configured to run in device
mode, and that the device is set to rpc. The CLI-based approach does not do this.
To add an RPC with the following values:
TABLE 15-9. RPC CONNECTIONS
SETTING
VALUE
RPC type
APC 7900
Connected via
Port 2
UPS name
MyRPC
Description
Room 5 RPC
Login name for device
rpclogin
Login password for device
A-secret-for-2.
SNMP community
v1 or v2c
Logging
option
Driver argument
argument
Logging
enabled
Log interval
600 seconds
Number of power outlets
4
Run the following commands:
# config -s config.ports.port2.power.type=APC 7900
# config -s config.ports.port2.power.name=MyRPC
# config -s "config.ports.port2.power.description=Room 5 RPC"
# config -s config.ports.port2.power.username=rpclogin
# config -s config.ports.port2.power.password=A-secret-for-2.
# config -s config.ports.port2.power.snmp.community=v1
# config -s config.ports.port2.power.log.enabled=on
# config -s config.ports.port2.power.log.interval=600
# config -s config.ports.port2.power.outlets=4
The following five commands are used by the Management Console to add the RPC to Managed Devices:
# config -s \
config.devices.device3.connections.connection1.name=myRPC
# config -s \
"config.devices.device3.connections.connection1.type=RPC Unit"
# config -s config.devices.device3.name=myRPC
CHAPTER 15: CONFIGURATION FROM THE COMMAND LINE