Typical SNMP Commands
Setting MIB values and triggering extensions is generally limited to the SNMPv3 admin
user. It is possible to specify an administrative host for SNMP v1/2c.
The SNMP extensions can be read and triggered as follows:
Getting the software version of the system:
snmpget -v 3 -u admin -n "" -l authNoPriv -a MD5 -x DES -A admin01admin01
192.168.1.1
1.3.6.1.4.1.31496.10.40.1.0
Getting the kernel version:
snmpget -v 3 -u admin -n "" -l authNoPriv -a MD5 -x DES -A admin01admin01
192.168.1.1
1.3.6.1.4.1.31496.10.40.2.0
Getting the serial number:
snmpget -v 3 -u admin -n "" -l authNoPriv -a MD5 -x DES -A admin01admin01
192.168.1.1
1.3.6.1.4.1.31496.10.40.3.0
Getting the current config description:
snmpget -v 3 -u admin -n "" -l authNoPriv -a MD5 -x DES -A admin01admin01
192.168.1.1
1.3.6.1.4.1.31496.10.40.4.0
Getting the current config hash:
snmpget -v 3 -u admin -n "" -l authNoPriv -a MD5 -x DES -A admin01admin01
192.168.1.1
1.3.6.1.4.1.31496.10.40.5.0
Restarting the device:
snmpset -v 3 -u admin -n "" -l authNoPriv -a MD5 -x DES -A admin01admin01
192.168.1.1
1.3.6.1.4.1.31496.10.40.10.0 i 1
Running a configuration update:
snmpset -v 3 -u admin -n "" -l authNoPriv -a MD5 -x DES -A admin01admin01
192.168.1.1
1.3.6.1.4.1.31496.10.40.11.0 s "http://server/directory"
You can use TFTP, HTTP, HTTPS and FTP URLs (specifying a username/password
or a port is not yet supported). Please note that config updates expect a zip-file named
<serial-number>.zip in the specified directory.
Getting the configuration update status:
snmpget -v 3 -u admin -n "" -l authNoPriv -a MD5 -x DES -A admin01admin01
192.168.1.1
1.3.6.1.4.1.31496.10.40.12.0
The return value can be one of: succeeded (1), failed (2), inprogress (3), notstarted
(4).
NB3711 User Manual 4.0
138
Need help?
Do you have a question about the NB3711 and is the answer not in the manual?