This is an old revision of the document!


SNMP Overview of OIDs and Access to Them

Goal

An overview of the SNMP function with which OID ranges can be queried by the router. Command steps are shown on how to perform this.

Prerequisites

  • NetModule Router is required
  • NetModule Software 4.6.0.x or
  • NetModule Software 4.9.0.x or
  • NetModule Software 5.0.0.x or newer

The wiki was tested with router software version 4.9.0.102.


1. Store an SNMP user in the router

I set up the user “snmp” on the router for the queries.

For these, we store new users under the SNMP function.

If you need more information about setting up SNMP, you can find it under the link “set-up-snmp”.


2. Execute SNMP commands

For an initial overview, you can run snmp-walk. This will give you a rough overview of the possibilities.

USER
:~$ snmpwalk -v2c -On -c snmp -On 192.168.1.1 1.3.6.1.4.1.3149-On -c snmp 192.168.1.1 1.3.6.1.4.1.31496 .1.3.6.1.4.1.31496 .10.40.1.0 = STRING: 4.9.0.102 .1.3.6.1.4.1.31496.10.40.2.0 = STRING: 5.15.147 .1.3.6.1.4.1.31496.10.40.3.0 = STRING: 00112B01682D .1.3.6.1.4.1.31496.10.40.4.0 = STRING: user-config .1.3.6.1.4.1.31496.10.40.5.0 = STRING: 1fadf4227e827ac2abc7efdc59b959d5 .1.3.6.1.4.1.31496.10.40.6.0 = STRING: b2f791fcceff9da61ae4116e13f5c015 .1.3.6.1.4.1.31496.10.40.7.0 = INTEGER: ok(1) .1.3.6.1.4.1.31496.10.40.8.0 = STRING: .1.3.6.1.4.1.31496.10.40.9.0 = STRING: 2025-8-6,18:48:56.0,+2:0 .1.3.6.1.4.1.31496.10.40.11.0 = INTEGER: update(0) .1.3.6.1.4.1.31496.10.40.13.0 = STRING: 0-0-0,0:0:0.0,+0:0 .1.3.6.1.4.1.31496.10.40.14.0 = STRING: 0-0-0,0:0:0.0,+0:0 .1.3.6.1.4.1.31496.10.40.15.0 = STRING: 2024-6-6,2:3:50.0,+2:0 .1.3.6.1.4.1.31496.10.40.21.0 = INTEGER: notstarted(4) .1.3.6.1.4.1.31496.10.40.22.0 = INTEGER: -3 .1.3.6.1.4.1.31496.10.40.23.0 = STRING: 1970-1-1,0:0:0.0,+1:0 .1.3.6.1.4.1.31496.10.40.24.0 = INTEGER: full(0) .1.3.6.1.4.1.31496.10.40.26.0 = INTEGER: notstarted(4) .1.3.6.1.4.1.31496.10.40.27.0 = INTEGER: -3 .1.3.6.1.4.1.31496.10.40.28.0 = STRING: 2024-6-6,2:3:35.0,+2:0 .1.3.6.1.4.1.31496.10.40.30.0 = STRING: .1.3.6.1.4.1.31496.10.40.31.0 = STRING: …

If you want to query entire areas, this can be done using an “SNMP table”. Information on the key commands is also provided in the router manual.

If you want to query entire areas, this can be done using an “SNMP table.” Information on the key commands is also provided in the router manual.

USER
:~$ snmptable -v2c -c snmp 192.168.1.1 -CB -Ci -OX -Cb -Cc 16 -Cw 64 NBWwanTable SNMP table: NB-MIB::nbWwanTable

     ModemName       ModemType     ServiceType RegistrationSta
SignalStrength     NetworkName LocalAreaIdenti   LocalAreaCode
        CellId     Temperature           Iccid            RSRP
          RSRQ            SINR            RSCP            ECIO
   SignalLevel   SignalQuality

index: [0]

         wwan0          mc7455                                
          -999                                                
                            39                             dBm
            dB              dB             dBm              dB
             0                

index: [1]

         wwan1          mc7455                                
          -999                                                
                            38                             dBm
            dB              dB             dBm              dB
             0                


3. Additional information