9
1.877.877.2269
BLACKBOX.COM
NEED HELP?
LEAVE THE TECH TO US
LIVE 24/7
TECHNICAL
SUPPORT
1.877.877.2269
TABLE OF CONTENTS
15. CONFIGURATION FROM THE COMMAND LINE ................................................................................................................... 254
15.1 Accessing Configuration from the Command Line ........................................................................................................................ 254
15.1.1 Serial Port Configuration ............................................................................................................................................................................ 256
15.1.2 Adding and Removing Users ..................................................................................................................................................................... 259
15.1.3 Adding and Removing User Groups ........................................................................................................................................................ 260
15.1.4 Authentication ...............................................................................................................................................................................................261
15.1.5 Network Hosts ..............................................................................................................................................................................................262
15.1.6 Trusted Networks ........................................................................................................................................................................................ 264
15.1.7 Cascaded Ports ........................................................................................................................................................................................... 265
15.1.8 UPS Connections......................................................................................................................................................................................... 265
15.1.9 RPC Connections ......................................................................................................................................................................................... 268
15.1.10 Managed Devices ...................................................................................................................................................................................... 269
15.1.11 Port Log ....................................................................................................................................................................................................... 269
15.1.12 Alerts .............................................................................................................................................................................................................270
15.1.13 SMTP and SMS .......................................................................................................................................................................................... 272
15.1.14 SNMP ........................................................................................................................................................................................................... 273
15.1.15 Administration .............................................................................................................................................................................................274
15.1.16 IP Settings ....................................................................................................................................................................................................274
15.1.17 Date and Time Settings .............................................................................................................................................................................275
15.1.18 Dial-in Settings ........................................................................................................................................................................................... 277
15.1.19 DHCP Server ............................................................................................................................................................................................... 278
15.1.20 Services ....................................................................................................................................................................................................... 279
15.1.21 Nagios .......................................................................................................................................................................................................... 281
16. ADVANCED CONFIGURATION ................................................................................................................................................ 283
16.1 Custom Scripting ............................................................................................................................................................................... 283
16.1.1 Custom Script to Run when Booting........................................................................................................................................................ 283
16.1.2 Running Custom Scripts when Alerts are Triggered ............................................................................................................................ 284
16.1.3 Example Script: Power Cycling on Pattern Match ................................................................................................................................ 285
16.1.4 Example Script: Mulitple email Notifications on Each Alert ............................................................................................................... 285
16.1.5 Deleting Configuration Values from the CLI .......................................................................................................................................... 286
16.1.6 Power Cycle Any Device Upon a Ping Request Failure ........................................................................................................................ 289
16.1.7 Running Custom Scripts When a Configurator is Invoked .................................................................................................................. 290
16.1.8 Backing Up the Configuration and Restoring Using a Local USB Stick ........................................................................................... 291
16.1.9 Backing Up the Configuration Off-Box .................................................................................................................................................... 292
16.2 Advanced PortManager .................................................................................................................................................................... 293
16.2.1 PortManager Commands ......................................................................................................................................................................... 293
16.2.2 External Scripts and Alerts ....................................................................................................................................................................... 297
16.3 Raw Access to Serial Ports .............................................................................................................................................................. 298
16.3.1 Access to Serial Ports ................................................................................................................................................................................ 298
16.3.2 Accessing the Console Modem Port ...................................................................................................................................................... 298
16.4 IP Filtering ......................................................................................................................................................................................... 299
16.5 SNMP Status Reporting .................................................................................................................................................................... 299
16.5.1 Retrieving Status Information Using SNMP .......................................................................................................................................... 299