Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Last revision Both sides next revision
configuration:mib [2014/11/27 11:09]
127.0.0.1 external edit
configuration:mib [2017/09/15 14:20]
fachet
Line 1: Line 1:
-====== Management Information Base ======+====== Management Information Base (MIB) ======
 <code c mib.txt> <code c mib.txt>
 +
 -- **************************************************************************** -- ****************************************************************************
 -- NetModule AG VENDOR MIB -- NetModule AG VENDOR MIB
 -- --
 -- --
--- (c) COPYRIGHT ​2014 by NetModule AG, Switzerland+-- (c) COPYRIGHT ​2017 by NetModule AG, Switzerland
 -- All rights reserved. -- All rights reserved.
 -- --
Line 22: Line 23:
        ​Counter64,​ TimeTicks ​                    FROM SNMPv2-SMI        ​Counter64,​ TimeTicks ​                    FROM SNMPv2-SMI
        ​TEXTUAL-CONVENTION,​ DisplayString,​        ​TEXTUAL-CONVENTION,​ DisplayString,​
-       ​PhysAddress,​ TruthValue, RowStatus,+       ​PhysAddress,​ TruthValue, RowStatus, DateAndTime,
        ​TimeStamp,​ AutonomousType,​ TestAndIncr ​  FROM SNMPv2-TC        ​TimeStamp,​ AutonomousType,​ TestAndIncr ​  FROM SNMPv2-TC
        ​MODULE-COMPLIANCE,​ OBJECT-GROUP ​         FROM SNMPv2-CONF        ​MODULE-COMPLIANCE,​ OBJECT-GROUP ​         FROM SNMPv2-CONF
Line 34: Line 35:
  
 nb MODULE-IDENTITY nb MODULE-IDENTITY
-        LAST-UPDATED "201405091000Z"+        LAST-UPDATED "201701131200Z"
         ORGANIZATION "​NetModule AG"         ORGANIZATION "​NetModule AG"
         CONTACT-INFO         CONTACT-INFO
Line 40: Line 41:
         DESCRIPTION         DESCRIPTION
             "MIB module which defines the NB router specific entities"​             "MIB module which defines the NB router specific entities"​
 +
 +        REVISION "​201701131200Z"​
 +        DESCRIPTION
 +             "​MIB for software release 4.0"
 +
 +        REVISION "​201610181200Z"​
 +        DESCRIPTION
 +             "​MIB for software release 4.0"
 +
 +        REVISION "​201607121200Z"​
 +        DESCRIPTION
 +             "​MIB for software release 4.0"
 +
 +        REVISION "​201603021200Z"​
 +        DESCRIPTION
 +             "​MIB for software release 3.9"
 +
 +        REVISION "​201411241000Z"​
 +        DESCRIPTION
 +             "​MIB for software release 3.8"
  
         REVISION "​201405091000Z"​         REVISION "​201405091000Z"​
Line 47: Line 68:
         REVISION "​201212191000Z"​         REVISION "​201212191000Z"​
         DESCRIPTION         DESCRIPTION
-            ​"MIB for software release 3.6"+             "MIB for software release 3.6"
         ::= { netmodule 10 }         ::= { netmodule 10 }
  
Line 66: Line 87:
 admin         ​OBJECT IDENTIFIER ::= { nb  40 } admin         ​OBJECT IDENTIFIER ::= { nb  40 }
 dio           ​OBJECT IDENTIFIER ::= { nb  53 } dio           ​OBJECT IDENTIFIER ::= { nb  53 }
 +sdk           ​OBJECT IDENTIFIER ::= { nb  90 }
 traps         ​OBJECT IDENTIFIER ::= { nb 100 } traps         ​OBJECT IDENTIFIER ::= { nb 100 }
  
Line 76: Line 98:
 nb3710 ​       OBJECT IDENTIFIER ::= { products 52 } nb3710 ​       OBJECT IDENTIFIER ::= { products 52 }
 nb3720 ​       OBJECT IDENTIFIER ::= { products 53 } nb3720 ​       OBJECT IDENTIFIER ::= { products 53 }
 +nb2800 ​       OBJECT IDENTIFIER ::= { products 54 }
 +nb3701 ​       OBJECT IDENTIFIER ::= { products 55 }
 +nb3711 ​       OBJECT IDENTIFIER ::= { products 56 }
 +nb3800 ​       OBJECT IDENTIFIER ::= { products 57 }
  
 -- **************************************************************************** -- ****************************************************************************
Line 104: Line 130:
         "The serial number of the device"​         "The serial number of the device"​
     ::= { admin 3 }     ::= { admin 3 }
 +
 +configDesc OBJECT-TYPE
 +    SYNTAX ​     DisplayString
 +    MAX-ACCESS ​ read-only
 +    STATUS ​     current
 +    DESCRIPTION
 +        "The description of the current configuration"​
 +    ::= { admin 4 }
 +
 +configHash OBJECT-TYPE
 +    SYNTAX ​     DisplayString
 +    MAX-ACCESS ​ read-only
 +    STATUS ​     current
 +    DESCRIPTION
 +        "The hash of the current configuration"​
 +    ::= { admin 5 }
 +
 +softwareHash OBJECT-TYPE
 +    SYNTAX ​     DisplayString
 +    MAX-ACCESS ​ read-only
 +    STATUS ​     current
 +    DESCRIPTION
 +        "The hash of the current software"​
 +    ::= { admin 6 }
 +
 +systemStatus OBJECT-TYPE
 +    SYNTAX ​ INTEGER {
 +                ok (1),
 +                degraded (2),
 +                outoforder (3)
 +            }
 +    MAX-ACCESS ​ read-only
 +    STATUS ​     current
 +    DESCRIPTION
 +        "The global system status"​
 +    ::= { admin 7 }
 +
 +systemError OBJECT-TYPE
 +    SYNTAX ​ DisplayString
 +    MAX-ACCESS ​ read-only
 +    STATUS ​     current
 +    DESCRIPTION
 +        "A comma-separated list of services which are in error state"
 +    ::= { admin 8 }
 +
 +systemDate OBJECT-TYPE
 +    SYNTAX ​     DateAndTime
 +    MAX-ACCESS ​ read-only
 +    STATUS ​     current
 +    DESCRIPTION
 +        "The current local date and time of day."
 +    ::= { admin 9 }
  
 deviceRestart OBJECT-TYPE deviceRestart OBJECT-TYPE
Line 114: Line 192:
         "Force a device restart"​         "Force a device restart"​
     ::= { admin 10 }     ::= { admin 10 }
 +
 +-- Update --
 +
 +updateOperation OBJECT-TYPE
 +    SYNTAX ​ INTEGER {
 +                update (0),
 +                store (1)
 +            }
 +    MAX-ACCESS ​ read-write
 +    STATUS ​ current
 +    DESCRIPTION
 +        "The desired operation for configuration or software updates"​
 +    ::= { admin 11 }
 +
 +switchOperation OBJECT-TYPE
 +    SYNTAX ​ INTEGER {
 +                software (0),
 +                config (1)
 +            }
 +    MAX-ACCESS ​ read-write
 +    STATUS ​ current
 +    DESCRIPTION
 +        "The operation trigger to switch to alternative software or configuration"​
 +    ::= { admin 12 }
 +
 +softwareActivationDate OBJECT-TYPE
 +    SYNTAX ​     DateAndTime
 +    MAX-ACCESS ​ read-write
 +    STATUS ​ current
 +    DESCRIPTION
 +        "The date and time when the alternative software shall be activated"​
 +    ::= { admin 13 }
 +
 +configActivationDate OBJECT-TYPE
 +    SYNTAX ​     DateAndTime
 +    MAX-ACCESS ​ read-write
 +    STATUS ​ current
 +    DESCRIPTION
 +        "The date and time when the alternative configuration shall be activated"​
 +    ::= { admin 14 }
 +
 +-- Configuration Update --
  
 configUpdate OBJECT-TYPE configUpdate OBJECT-TYPE
Line 120: Line 240:
     STATUS ​ current     STATUS ​ current
     DESCRIPTION     DESCRIPTION
-        "​Update the system configuration from the specified URL +        "​Update the system configuration from the specified URL 
-          ​The URL must be preceded by one of the prefixes ​tftp://, ftp://, http://+          ​the URL must be preceded by a valid prefix (e.g. tftp://, sftp://, ftp://, ​https:// or http://)
           and either point to the update package or to a server directory which            and either point to the update package or to a server directory which 
           contains a file named <​serial-number>​.zip"​           contains a file named <​serial-number>​.zip"​
-    ::= { admin 11 }+    ::= { admin 20 }
  
 configUpdateStatus OBJECT-TYPE configUpdateStatus OBJECT-TYPE
     SYNTAX ​ INTEGER {     SYNTAX ​ INTEGER {
 +                stored (0),
                 succeeded (1),                 succeeded (1),
                 failed (2),                 failed (2),
Line 137: Line 258:
     DESCRIPTION     DESCRIPTION
         "The status of the last configuration update cycle"         "The status of the last configuration update cycle"
-    ::= { admin 12 }+    ::= { admin 21 } 
 + 
 +configUpdateError OBJECT-TYPE 
 +    SYNTAX ​     Integer32 
 +    MAX-ACCESS ​ read-only 
 +    STATUS ​ current 
 +    DESCRIPTION 
 +        "The error code of the last configuration update"​ 
 +    ::= { admin 22 } 
 + 
 +configUpdated OBJECT-TYPE 
 +    SYNTAX ​     DateAndTime 
 +    MAX-ACCESS ​ read-only 
 +    STATUS ​ current 
 +    DESCRIPTION 
 +        "The date of the last configuration update"​ 
 +    ::= { admin 23 } 
 + 
 +configUpdateMode OBJECT-TYPE 
 +    SYNTAX ​ INTEGER { 
 +                full (0), 
 +                partial (1) 
 +            } 
 +    MAX-ACCESS ​ read-write 
 +    STATUS ​ current 
 +    DESCRIPTION 
 +        "The desired system configuration update mode (full or partial)"​ 
 +    ::= { admin 24 } 
 + 
 +-- Software Update --
  
 softwareUpdate OBJECT-TYPE softwareUpdate OBJECT-TYPE
Line 145: Line 295:
     DESCRIPTION     DESCRIPTION
         "​Update the system software from the specified URL,          "​Update the system software from the specified URL, 
-          the URL must be preceded by one of the prefixes ​tftp://, ftp://, http:// +          the URL must be preceded by a valid prefix (e.g. tftp://, sftp://, ftp://, ​https:// or http://) 
-          and point to the to be installed image.+          and point to the to be installed image"​ 
-    ::= { admin 13 }+    ::= { admin 25 }
  
 softwareUpdateStatus OBJECT-TYPE softwareUpdateStatus OBJECT-TYPE
     SYNTAX ​ INTEGER {     SYNTAX ​ INTEGER {
 +                stored (0),
                 succeeded (1),                 succeeded (1),
                 failed (2),                 failed (2),
Line 160: Line 311:
     DESCRIPTION     DESCRIPTION
         "The status of the last software update cycle"         "The status of the last software update cycle"
-    ::= { admin 14 }+    ::= { admin 26 }
  
 +softwareUpdateError OBJECT-TYPE
 +    SYNTAX ​     Integer32
 +    MAX-ACCESS ​ read-only
 +    STATUS ​ current
 +    DESCRIPTION
 +        "The error code of the last software update"​
 +    ::= { admin 27 }
 +
 +softwareUpdated OBJECT-TYPE
 +    SYNTAX ​     DateAndTime
 +    MAX-ACCESS ​ read-only
 +    STATUS ​ current
 +    DESCRIPTION
 +        "The date of the last software update"​
 +    ::= { admin 28 }
 +
 +-- Alternative Configuration --
 +
 +altConfigDesc OBJECT-TYPE
 +    SYNTAX ​     DisplayString
 +    MAX-ACCESS ​ read-only
 +    STATUS ​ current
 +    DESCRIPTION
 +        "The description of the alternative configuration"​
 +    ::= { admin 30 }
 +
 +altConfigHash OBJECT-TYPE
 +    SYNTAX ​     DisplayString
 +    MAX-ACCESS ​ read-only
 +    STATUS ​ current
 +    DESCRIPTION
 +        "The hash of the alternative configuration"​
 +    ::= { admin 31 }
 +
 +altConfigUpdated OBJECT-TYPE
 +    SYNTAX ​     DateAndTime
 +    MAX-ACCESS ​ read-only
 +    STATUS ​ current
 +    DESCRIPTION
 +        "The date of the last alternative configuration update"​
 +    ::= { admin 32 }
 +
 +-- Alternative Software --
 +
 +altSoftwareVersion OBJECT-TYPE
 +    SYNTAX ​     DisplayString
 +    MAX-ACCESS ​ read-only
 +    STATUS ​ current
 +    DESCRIPTION
 +        "The version of the alternative software"​
 +    ::= { admin 35 }
 +
 +altSoftwareHash OBJECT-TYPE
 +    SYNTAX ​     DisplayString
 +    MAX-ACCESS ​ read-only
 +    STATUS ​ current
 +    DESCRIPTION
 +        "The hash of the alternative software"​
 +    ::= { admin 36 }
 +
 +altSoftwareUpdated OBJECT-TYPE
 +    SYNTAX ​     DateAndTime
 +    MAX-ACCESS ​ read-only
 +    STATUS ​ current
 +    DESCRIPTION
 +        "The date of the last alternative software update"​
 +    ::= { admin 37 }
 +
 +-- Upload Syslog --
 +
 +syslogUpload OBJECT-TYPE
 +    SYNTAX ​ URLString
 +    MAX-ACCESS ​ read-write
 +    STATUS ​ current
 +    DESCRIPTION
 +        "​Upload the current system logs to the specified URL, 
 +          the URL must be preceded by a valid prefix (e.g. tftp://, sftp://, ftp://, https:// or http://)
 +          and point to the path where the system log shall be stored."​
 +    ::= { admin 40 }
 +
 +syslogUploadStatus OBJECT-TYPE
 +    SYNTAX ​ INTEGER {
 +                succeeded (1),
 +                failed (2),
 +                inprogress (3),
 +                notstarted (4)
 +            }
 +    MAX-ACCESS ​ read-only
 +    STATUS ​ current
 +    DESCRIPTION
 +        "The status of the last syslog upload cycle"
 +    ::= { admin 41 }
 +
 +-- Upload Config --
 +
 +configUpload OBJECT-TYPE
 +    SYNTAX ​ URLString
 +    MAX-ACCESS ​ read-write
 +    STATUS ​ current
 +    DESCRIPTION
 +        "​Upload the current configuration to the specified URL, 
 +          the URL must be preceded by a valid prefix (e.g. tftp://, sftp://, ftp://, https:// or http://)
 +          and point to the path where the config shall be stored."​
 +    ::= { admin 42 }
 +
 +configUploadStatus OBJECT-TYPE
 +    SYNTAX ​ INTEGER {
 +                succeeded (1),
 +                failed (2),
 +                inprogress (3),
 +                notstarted (4)
 +            }
 +    MAX-ACCESS ​ read-only
 +    STATUS ​ current
 +    DESCRIPTION
 +        "The status of the last config upload cycle"
 +    ::= { admin 43 }
  
 -- **************************************************************************** -- ****************************************************************************
Line 192: Line 460:
     wwanLocalAreaIdentification DisplayString,​     wwanLocalAreaIdentification DisplayString,​
     wwanLocalAreaCode DisplayString,​     wwanLocalAreaCode DisplayString,​
-    wwanCellId DisplayString ​   ​+    wwanCellId DisplayString
 +    wwanTemperature DisplayString,​ 
 +    wwanIccid DisplayString
 } }
  
Line 275: Line 545:
     ::= { nbWwanEntry 10 }     ::= { nbWwanEntry 10 }
     ​     ​
 +wwanTemperature OBJECT-TYPE
 +    SYNTAX ​     DisplayString
 +    MAX-ACCESS ​ read-only
 +    STATUS ​     current
 +    DESCRIPTION
 +        "The current temperature of the WWAN modem"
 +    ::= { nbWwanEntry 11 }
 +
 +wwanIccid OBJECT-TYPE
 +    SYNTAX ​     DisplayString
 +    MAX-ACCESS ​ read-only
 +    STATUS ​     current
 +    DESCRIPTION
 +        "The Integrated Circuit Card Identifier (ICCID) of the SIM connected to the WWAN modem"
 +    ::= { nbWwanEntry 12 }
  
 -- **************************************************************************** -- ****************************************************************************
Line 304: Line 589:
     gnssLon DisplayString,​     gnssLon DisplayString,​
     gnssAlt DisplayString,​     gnssAlt DisplayString,​
-    gnssNumSat Integer32+    gnssNumSat Integer32
 +    gnssNumSatUsed Integer32,​ 
 +    gnssHorizontalSpeed DisplayString,​ 
 +    gnssVerticalSpeed DisplayString,​ 
 +    gnssTrackAngle DisplayString
 } }
  
Line 360: Line 649:
     STATUS ​     current     STATUS ​     current
     DESCRIPTION     DESCRIPTION
-        "The current number of available ​satellites for the GNSS device"​+        "The current number of satellites ​in view for the GNSS device"​
     ::= { nbGnssEntry 7 }     ::= { nbGnssEntry 7 }
 +
 +gnssNumSatUsed OBJECT-TYPE
 +    SYNTAX ​     Integer32
 +    MAX-ACCESS ​ read-only
 +    STATUS ​     current
 +    DESCRIPTION
 +        "The current number of used satellites for the GNSS device"​
 +    ::= { nbGnssEntry 8 }
 +
 +gnssHorizontalSpeed OBJECT-TYPE
 +    SYNTAX ​     DisplayString
 +    MAX-ACCESS ​ read-only
 +    STATUS ​     current
 +    DESCRIPTION
 +        "The current horizontal speed over the ground value in meter per second received by the GNSS device"​
 +    ::= { nbGnssEntry 9 }
 +
 +gnssVerticalSpeed OBJECT-TYPE
 +    SYNTAX ​     DisplayString
 +    MAX-ACCESS ​ read-only
 +    STATUS ​     current
 +    DESCRIPTION
 +        "The current vertical speed value in meter per second received by the GNSS device"​
 +    ::= { nbGnssEntry 10 }
 +
 +gnssTrackAngle OBJECT-TYPE
 +    SYNTAX ​     DisplayString
 +    MAX-ACCESS ​ read-only
 +    STATUS ​     current
 +    DESCRIPTION
 +        "The current track angle value in degrees received by the GNSS device"​
 +    ::= { nbGnssEntry 11 }
  
  
Line 389: Line 710:
     wlanModuleName DisplayString,​     wlanModuleName DisplayString,​
     wlanModuleType DisplayString,​     wlanModuleType DisplayString,​
-    wlanNumClients Integer32 +    wlanNumClients Integer32, 
-    ​+    ​wlanModuleChannel Integer32,​ 
 +    wlanModuleFrequency Integer32,​ 
 +    wlanSignalStrength Integer32
 } }
  
Line 422: Line 745:
     STATUS ​     current     STATUS ​     current
     DESCRIPTION     DESCRIPTION
-        "​Current number of clients connected to the WLAN module ​(if operated as access point)"+        "​Current number of clients connected to the WLAN module ​in access-point mode"
     ::= { nbWlanEntry 4 }     ::= { nbWlanEntry 4 }
  
 +wlanModuleChannel OBJECT-TYPE
 +    SYNTAX ​     Integer32
 +    MAX-ACCESS ​ read-only
 +    STATUS ​     current
 +    DESCRIPTION
 +        "​Current channel of the WLAN module"​
 +    ::= { nbWlanEntry 5 }
 +
 +wlanModuleFrequency OBJECT-TYPE
 +    SYNTAX ​     Integer32
 +    UNITS       "​MHz"​
 +    MAX-ACCESS ​ read-only
 +    STATUS ​     current
 +    DESCRIPTION
 +        "​Current frequency of the WLAN module"​
 +    ::= { nbWlanEntry 6 }
 +
 +wlanSignalStrength OBJECT-TYPE
 +    SYNTAX ​     Integer32
 +    UNITS       "​dBm"​
 +    MAX-ACCESS ​ read-only
 +    STATUS ​     current
 +    DESCRIPTION
 +        "​Current signal strength of the WLAN module in client mode"
 +    ::= { nbWlanEntry 7 }
 +
 +-- ****************************************************************************
 +-- NBWlanStationTable
 +-- ****************************************************************************
 +
 +nbWlanStationTable OBJECT-TYPE
 +    SYNTAX ​     SEQUENCE OF NBWlanStationEntry
 +    MAX-ACCESS ​ not-accessible
 +    STATUS ​     current
 +    DESCRIPTION
 +        "A table shows current connected clients "
 +    ::= { nb 61 }
 +
 +nbWlanStationEntry OBJECT-TYPE
 +    SYNTAX ​     NBWlanStationEntry
 +    MAX-ACCESS ​ not-accessible
 +    STATUS ​     current
 +    DESCRIPTION
 +        "An entry descibes one connected client"​
 +    INDEX       { wlanStationIndex }
 +    ::= { nbWlanStationTable 1 }
 +
 +NBWlanStationEntry ::= SEQUENCE {
 +    wlanStationIndex Integer32,
 +    wlanStationInterface DisplayString,​
 +    wlanStationMac DisplayString,​
 +    wlanStationSignalStrength Integer32,
 +    wlanStationBitrate Integer32,
 +    wlanStationRxBytes Counter64,
 +    wlanStationTxBytes Counter64,
 +    wlanStationInactive Integer32
 +}
 +
 +wlanStationIndex OBJECT-TYPE
 +    SYNTAX ​     Integer32(0..254)
 +    MAX-ACCESS ​ not-accessible
 +    STATUS ​     current
 +    DESCRIPTION
 +        "WLAN station index"
 +    ::= { nbWlanStationEntry 1 }
 +
 +wlanStationInterface OBJECT-TYPE
 +    SYNTAX ​     DisplayString
 +    MAX-ACCESS ​ read-only
 +    STATUS ​     current
 +    DESCRIPTION
 +        "The WLAN interface name"
 +    ::= { nbWlanStationEntry 2 }
 +
 +wlanStationMac OBJECT-TYPE
 +    SYNTAX ​     DisplayString
 +    MAX-ACCESS ​ read-only
 +    STATUS ​     current
 +    DESCRIPTION
 +        "The MAC address of a connected station"​
 +    ::= { nbWlanStationEntry 3 }
 +
 +wlanStationSignalStrength OBJECT-TYPE
 +    SYNTAX ​     Integer32
 +    UNITS       "​dBm"​
 +    MAX-ACCESS ​ read-only
 +    STATUS ​     current
 +    DESCRIPTION
 +        "The signal strength of a connected station"​
 +    ::= { nbWlanStationEntry 4 }
 +
 +wlanStationBitrate OBJECT-TYPE
 +    SYNTAX ​     Integer32
 +    UNITS       "​Mbit/​s"​
 +    MAX-ACCESS ​ read-only
 +    STATUS ​     current
 +    DESCRIPTION
 +        "The bitrate of a connected station"​
 +    ::= { nbWlanStationEntry 5 }
 +
 +wlanStationRxBytes OBJECT-TYPE
 +    SYNTAX ​     Counter64
 +    UNITS       "​bytes"​
 +    MAX-ACCESS ​ read-only
 +    STATUS ​     current
 +    DESCRIPTION
 +        "The number of received bytes of a connected station"​
 +    ::= { nbWlanStationEntry 6 }
 +
 +wlanStationTxBytes OBJECT-TYPE
 +    SYNTAX ​     Counter64
 +    UNITS       "​bytes"​
 +    MAX-ACCESS ​ read-only
 +    STATUS ​     current
 +    DESCRIPTION
 +        "The number of transmitted bytes of a connected station"​
 +    ::= { nbWlanStationEntry 7 }
 +
 +wlanStationInactive OBJECT-TYPE
 +    SYNTAX ​     Integer32
 +    UNITS       "​ms"​
 +    MAX-ACCESS ​ read-only
 +    STATUS ​     current
 +    DESCRIPTION
 +        "The inactivity time of a connected station"​
 +    ::= { nbWlanStationEntry 8 }
 +
 +
 +-- ****************************************************************************
 +-- NBWanTable
 +-- ****************************************************************************
 +
 +nbHotLink OBJECT-TYPE
 +    SYNTAX ​     DisplayString
 +    MAX-ACCESS ​ read-only
 +    STATUS ​ current
 +    DESCRIPTION
 +        "The active WAN link"
 +    ::= { nb 70 }
 +
 +nbWanTable OBJECT-TYPE
 +    SYNTAX ​     SEQUENCE OF NBWanEntry
 +    MAX-ACCESS ​ not-accessible
 +    STATUS ​     current
 +    DESCRIPTION "The table describing any WAN link and their current status"​
 +    ::= { nb 71 }
 +
 +nbWanEntry OBJECT-TYPE
 +    SYNTAX ​     NBWanEntry
 +    MAX-ACCESS ​ not-accessible
 +    STATUS ​     current
 +    DESCRIPTION "An entry describing a WAN link and its current status"​
 +    INDEX       { wanLinkIndex }
 +    ::= { nbWanTable 1 }
 +
 +NBWanEntry ::= SEQUENCE {
 +    wanLinkIndex Integer32,
 +    wanLinkName DisplayString,​
 +    wanLinkState DisplayString,​
 +    wanLinkSince DisplayString,​
 +    wanLinkType DisplayString,​
 +    wanLinkInterface DisplayString,​
 +    wanLinkAddress DisplayString,​
 +    wanLinkGateway DisplayString,​
 +    wanLinkNetmask DisplayString,​
 +    wanDialAttempts Integer32,
 +    wanDialSuccess Integer32,
 +    wanDialFailures Integer32,
 +    wanDataDownloaded Integer32,
 +    wanDataUploaded Integer32,
 +    wanDownloadRate Integer32,
 +    wanUploadRate Integer32,
 +    wanDataDownloadedRoaming Integer32,
 +    wanDataUploadedRoaming Integer32
 +}
 +
 +wanLinkIndex OBJECT-TYPE
 +    SYNTAX ​     Integer32(0..254)
 +    MAX-ACCESS ​ not-accessible
 +    STATUS ​     current
 +    DESCRIPTION
 +   "WAN link index"
 +    ::= { nbWanEntry 1 }
 +
 +wanLinkName OBJECT-TYPE
 +    SYNTAX ​     DisplayString
 +    MAX-ACCESS ​ read-only
 +    STATUS ​     current
 +    DESCRIPTION
 +        "WAN link name"
 +    ::= { nbWanEntry 2 }
 +
 +wanLinkState OBJECT-TYPE
 +    SYNTAX ​     DisplayString
 +    MAX-ACCESS ​ read-only
 +    STATUS ​     current
 +    DESCRIPTION
 +        "WAN link state"
 +    ::= { nbWanEntry 3 }
 +
 +wanLinkSince OBJECT-TYPE
 +    SYNTAX ​     DisplayString
 +    MAX-ACCESS ​ read-only
 +    STATUS ​     current
 +    DESCRIPTION
 +        "WAN link since up"
 +    ::= { nbWanEntry 4 }
 +
 +wanLinkType OBJECT-TYPE
 +    SYNTAX ​     DisplayString
 +    MAX-ACCESS ​ read-only
 +    STATUS ​     current
 +    DESCRIPTION
 +        "WAN link type"
 +    ::= { nbWanEntry 5 }
 +
 +wanLinkInterface OBJECT-TYPE
 +    SYNTAX ​     DisplayString
 +    MAX-ACCESS ​ read-only
 +    STATUS ​     current
 +    DESCRIPTION
 +        "WAN link interface"​
 +    ::= { nbWanEntry 6 }
 +
 +wanLinkAddress OBJECT-TYPE
 +    SYNTAX ​     DisplayString
 +    MAX-ACCESS ​ read-only
 +    STATUS ​     current
 +    DESCRIPTION
 +        "WAN link address"​
 +    ::= { nbWanEntry 7 }
 +
 +wanLinkGateway OBJECT-TYPE
 +    SYNTAX ​     DisplayString
 +    MAX-ACCESS ​ read-only
 +    STATUS ​     current
 +    DESCRIPTION
 +        "WAN link gateway"​
 +    ::= { nbWanEntry 8 }
 +
 +wanLinkNetmask OBJECT-TYPE
 +    SYNTAX ​     DisplayString
 +    MAX-ACCESS ​ read-only
 +    STATUS ​     current
 +    DESCRIPTION
 +        "WAN link netmask"​
 +    ::= { nbWanEntry 9 }
 +
 +wanDialAttempts OBJECT-TYPE
 +    SYNTAX ​     Integer32
 +    MAX-ACCESS ​ read-only
 +    STATUS ​     current
 +    DESCRIPTION
 +        "WAN link dial attempts"​
 +    ::= { nbWanEntry 10 }
 +
 +wanDialSuccess OBJECT-TYPE
 +    SYNTAX ​     Integer32
 +    MAX-ACCESS ​ read-only
 +    STATUS ​     current
 +    DESCRIPTION
 +        "WAN link dial success"​
 +    ::= { nbWanEntry 11 }
 +
 +
 +wanDialFailures OBJECT-TYPE
 +    SYNTAX ​     Integer32
 +    MAX-ACCESS ​ read-only
 +    STATUS ​     current
 +    DESCRIPTION
 +        "WAN link dial failures"​
 +    ::= { nbWanEntry 12 }
 +
 +
 +wanDataDownloaded OBJECT-TYPE
 +    SYNTAX ​     Integer32
 +    MAX-ACCESS ​ read-only
 +    STATUS ​     current
 +    DESCRIPTION
 +        "WAN link data downloaded"​
 +    ::= { nbWanEntry 13 }
 +
 +
 +wanDataUploaded OBJECT-TYPE
 +    SYNTAX ​     Integer32
 +    MAX-ACCESS ​ read-only
 +    STATUS ​     current
 +    DESCRIPTION
 +        "WAN link data uploaded"​
 +    ::= { nbWanEntry 14 }
 +
 +
 +wanDownloadRate OBJECT-TYPE
 +    SYNTAX ​     Integer32
 +    MAX-ACCESS ​ read-only
 +    STATUS ​     current
 +    DESCRIPTION
 +        "WAN link download rate"
 +    ::= { nbWanEntry 15 }
 +
 +
 +wanUploadRate OBJECT-TYPE
 +    SYNTAX ​     Integer32
 +    MAX-ACCESS ​ read-only
 +    STATUS ​     current
 +    DESCRIPTION
 +        "WAN link upload rate"
 +    ::= { nbWanEntry 16 }
 +
 +wanDataDownloadedRoaming OBJECT-TYPE
 +    SYNTAX ​     Integer32
 +    MAX-ACCESS ​ read-only
 +    STATUS ​     current
 +    DESCRIPTION
 +        "WAN link data downloaded during roaming"​
 +    ::= { nbWanEntry 17 }
 +
 +wanDataUploadedRoaming OBJECT-TYPE
 +    SYNTAX ​     Integer32
 +    MAX-ACCESS ​ read-only
 +    STATUS ​     current
 +    DESCRIPTION
 +        "WAN link data uploaded during roaming"​
 +    ::= { nbWanEntry 18 }
  
 -- **************************************************************************** -- ****************************************************************************
Line 502: Line 1149:
  
 events ​         OBJECT IDENTIFIER ::= { traps 0 } events ​         OBJECT IDENTIFIER ::= { traps 0 }
 +
 +sdk-trap NOTIFICATION-TYPE
 +    STATUS current
 +    DESCRIPTION "SDK trap"
 +    ::= { events 1 }
  
 wan-up NOTIFICATION-TYPE wan-up NOTIFICATION-TYPE
Line 662: Line 1314:
     DESCRIPTION "​System time has been updated"​     DESCRIPTION "​System time has been updated"​
     ::= { events 508 }     ::= { events 508 }
 +
 +system-poweroff NOTIFICATION-TYPE
 +    STATUS current
 +    DESCRIPTION "​System poweroff has been triggered"​
 +    ::= { events 509 }
 +
 +system-error NOTIFICATION-TYPE
 +    STATUS current
 +    DESCRIPTION "​System is in error state"
 +    ::= { events 510 }
 +
 +system-no-error NOTIFICATION-TYPE
 +    STATUS current
 +    DESCRIPTION "​System left error state"
 +    ::= { events 511 }
  
 sms-sent NOTIFICATION-TYPE sms-sent NOTIFICATION-TYPE
Line 732: Line 1399:
     DESCRIPTION "USB serial device has been removed"​     DESCRIPTION "USB serial device has been removed"​
     ::= { events 906 }     ::= { events 906 }
 +
 +redundancy-master NOTIFICATION-TYPE
 +    STATUS current
 +    DESCRIPTION "​System is now master router"​
 +    ::= { events 1001 }
 +
 +redundancy-backup NOTIFICATION-TYPE
 +    STATUS current
 +    DESCRIPTION "​System is now backup router"​
 +    ::= { events 1002 }
  
 END END
 +
 +
 </​code>​ </​code>​