273
1.877.877.2269
BLACKBOX.COM
NEED HELP?
LEAVE THE TECH TO US
LIVE 24/7
TECHNICAL
SUPPORT
1.877.877.2269
CHAPTER 15: CONFIGURATION FROM THE COMMAND LINE
Run the following commands:
# config -s config.system.smtp.server=mail.Black Box.com
# config -s config.system.smtp.encryption=SSL
# config -s config.system.smtp.sender=John@Black Box.com
# config -s config.system.smtp.username=john
# config -s config.system.smtp.password=A-little-secret-for-2.
# config -s config.system.smtp.subject=SMTP alerts
To set-up an SMTP SMS server with the same details as above:
# config -s config.system.smtp.server2=mail.Black Box.com
# config -s config.system.smtp.encryption2=SSL
# config -s config.system.smtp.sender2=john@Black Box.com
# config -s config.system.smtp.username2=john
# config -s config.system.smtp.password2=A-little-secret-for-2.
# config -s config.system.smtp.subject2=SMTP alerts
In both setups, the value for encryption can be SSL, TLS or None.
The following command will synchronize the live system with the new configuration:
# config -a
15.1.14 SNMP
To set up the SNMP agent on the device:
# config -s config.system.snmp.protocol=[UDP | TCP]
# config -s config.system.snmp.trapport=port-number
# config -s config.system.snmp.address=NMS-IP-network-address
# config -s config.system.snmp.community=community-name
# config -s config.system.snmp.engineid=ID
# config -s config.system.snmp.username=username
# config -s config.system.snmp.password=password
# config -s config.system.snmp.version=[1 | 2c | 3]
The default port number is 162.
The community value can only be set on v1 and v2c.
The engineid, username, and password values can only be set on v3.
The following command will synchronize the live system with the new configuration:
# config -r auth