# config -s config.system.smtp.encryption2=SSL (can also be TLS or None )
# config -s config.system.smtp.sender2=John@Black Box.com
# config -s config.system.smtp.username2=john
# config -s config.system.smtp.password2=secret
# config -s config.system.smtp.subject2=SMTP alerts
The following command will synchronize the live system with the new configuration:
# config -a
14.16 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' (default is 162)
# config -s config.system.snmp.address='NMS IP network address'
# config -s config.system.snmp.commnity='community name' (v1 and v2c only)
# config -s config.system.snmp.engineid='ID' (v3 only)
# config -s config.system.snmp.username='username' (v3 only)
# config -s config.system.snmp.password='password' (v3 only)
# config -s config.system.snmp.version=[ 1 | 2c | 3 ]
The following command will synchronize the live system with the new configuration:
# config -a
14.17 Administration
To change the administration settings to:
System Name og.mydomain.com
System Password (root account) secret
Description Device in office 2
# config -s config.system.name=og.mydomain.com
# config -P config.system.password (will prompt user for a password)
# config -s "config.system.location=Device in office 2"
NOTE: The -P parameter will prompt the user for a password, and encrypt it. You can encrypt the value
of any config element using the -P parameter, but only encrypted user passwords and system passwords
are supported. If any other element value were to be encrypted, the value will become inaccessible and
will have to be reset.
The following command will synchronize the live system with the new configuration:
# config -a
14.18 IP settings
To configure the primary network interface with static settings:
IP address 192.168.0.23
Netmask 255.255.255.0
Default gateway 192.168.0.1
DNS server 1 192.168.0.1
DNS server 2 192.168.0.2
_____________________________________________________________________
724-746-5500 | blackbox.com Page 231