SNMP

From TBwiki
(Difference between revisions)
Jump to: navigation, search
(IF-MIB SNMP Trap/Notification)
(IF-MIB SNMP Trap/Notification)
Line 159: Line 159:
 
       ::= { snmpTraps 4 }
 
       ::= { snmpTraps 4 }
  
Example of packet capture:
+
<br>Example of packet capture:
 
  tcpdump port 162 -i mgmt0 -s 0
 
  tcpdump port 162 -i mgmt0 -s 0
 
  tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
 
  tcpdump: verbose output suppressed, use -v or -vv for full protocol decode

Revision as of 03:32, 8 July 2014

The Simple Network Management Protocol (SNMP) is used in network management systems to monitor attached hardware for changes in operation activity. SNMP provides a standardized approach to monitoring and managing network systems.
For information on configuring your TMedia product to use the SNMP protocol, see the section labeled "Related Tasks".

Contents

TelcoBridges and SNMP

TelcoBridges offers basic support for SNMP versions 1, 2, and 3. Toolpack supports SNMP V2 and V3 since release 2.5.80 (see TMG-CONTROL version history). More specifically, this grants users the ability to remotely poll (or GET) system variables, known as Managed Objects, which are represented in files known as MIB modules. TelcoBridges currently offers polling on standard MIB modules (RTP, SONET, DS1, DS3, ISDN, etc...) and on the TelcoBridges privately defined module (TB-MIB).


The following procedures should be used to support SNMP v1 ONLY for Toolpack system previous to 2.5.80:



Supported SNMP MIB modules

  1. RFC 1213 MIB II (RFC1213-MIB)
    • All tables of the RFC1213-MIB are supported, with the exception of:
      • ipRouteTable
      • EGP group
      • atTable
  2. RFC 1573 Evolution of Interfaces Group of MIB-II (IF-MIB)
    • The following tables are supported:
      • ifTable
      • ifStackTable
  3. RFC 2495 DS1, J1, E1, DS2, and E2 Interfaces (DS1-MIB)
    • The following tables of the DS1-MIB are supported:
      • Dsx1ConfigTable
      • Dsx1CurrentTable
      • Dsx1IntervalTable
      • Dsx1TotalTable
  4. RFC 2496 - Definitions of Managed Object for the DS3/E3 Interface Type (DS3-MIB)
    • The following tables of the DS3-MIB are supported:
      • Dsx3ConfigTable
      • Dsx3CurrentTable
      • Dsx3IntervalTable
      • Dsx3TotalTable
  5. RFC 1595 - Definitions of Managed Object for the SONET/SDH Interface Type (SONET-MIB)
    • The following tables of the SONET-MIB are supported:
      • sonetMediumTable
      • sonetSectionCurrentTable
      • sonetSectionIntervalTable
      • sonetLineCurrentTable
      • sonetLineIntervalTable
      • sonetFarendLineCurrentTable
      • sonetFarendLineIntervalTable
      • sonetPathCurrentTable
      • sonetPathIntervalTable
      • sonetFarendPathCurrentTable
      • sonetFarendPathIntervalTable
      • sonetVtCurrentTable
      • sonetVtIntervalTable
      • sonetFarendVtCurrentTable
      • sonetFarendVtIntervalTable
  6. RFC 2127 - ISDN Management Information Base using SMIv2 (ISDN-MIB)
    • The following tables of the ISDN-MIB are supported:
      • isdnBearerGroup
      • isdnSignalingGroup
  7. Telcobridges Private MIB module (TB-MIB)
    • tbMtp2
    • tbM2pa
    • tbM2ua
    • tbM3ua
    • tbIua
    • CPU Usage
    • Memory Usage

SNMP IF-MIB ifTable interface type

The table below provides the interfaces type supported by TelcoBridges (ifTable) with their corresponding description. The ifType are described in Internet Assigned Number Authority (IANA) in IANAifType-MIB

IANA ifType TelcoBridges Interface description
ethernetCsmacd(6) Baseboard Ethernet interfaces
ds1(18) Trunks Line Interface
ds3(30) DS3 Line Interface
sonet(39) SONET/SDH Line Interface
sonetPath(50) SONET/SDH Line Service PATH (VC4/VC3/STS1/DS3)
sonetVT(51) SONET/SDH Line Service SECTION (VC11/VC12/VT15/VT2)
isdn(63) ISDN Stack
lapd(77) ISDN LAPD Link (Primary)
lapd(77) ISDN LAPD Link (Backup)
isdn(63) IUA Link
isdn(63) IUA Peer
lapd(77) LAPD Link
ss7SigLink (156) SS7 M2PA Link
ss7SigLink (156) SS7 M2UA Link
ss7SigLink (156) SS7 M2UA Peer
ss7SigLink (156) Ss7 M3ua Sap
ss7SigLink (156) Ss7 M3ua Psp
ss7SigLink (156) Ss7 M3ua Psrv
ss7SigLink (156) Ss7 Mtp2 Link

SNMP traps

The SNMP traps module of TelcoBridges products monitor the operation status of some MIBS OIDs and generates notifications when the states change. The default monitoring polling period is set to 1 minute. This value can be modified in the tbSnmpAgent configuration.

IF-MIB SNMP Trap/Notification

  • linkDown (1.3.6.1.6.3.1.1.5.3) OBJECTS { ifIndex, ifAdminStatus, ifOperStatus }


As in RFC1573.txt,

linkDown NOTIFICATION-TYPE
      OBJECTS { ifIndex, ifAdminStatus, ifOperStatus }
      STATUS  current
      DESCRIPTION
              "A linkDown trap signifies that the SNMPv2 entity,
              acting in an agent role, has detected that the
              ifOperStatus object for one of its communication links
              is about to transition into the down state."
      ::= { snmpTraps 3 }
  • linkUp (1.3.6.1.6.3.1.1.5.4) OBJECTS { ifIndex, ifAdminStatus, ifOperStatus }


As in RFC1573.txt,

linkUp NOTIFICATION-TYPE
      OBJECTS { ifIndex, ifAdminStatus, ifOperStatus }
      STATUS  current
      DESCRIPTION
              "A linkUp trap signifies that the SNMPv2 entity,
              acting in an agent role, has detected that the
              ifOperStatus object for one of its communication links
              has transitioned out of the down state."
      ::= { snmpTraps 4 }


Example of packet capture:

tcpdump port 162 -i mgmt0 -s 0
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on mgmt0, link-type EN10MB (Ethernet), capture size 65535 bytes
14:08:51.491789 IP 10.7.0.13.37452 > 10.7.0.221.snmptrap: V2Trap(144) system.sysUpTime.0=9546160 S:1.1.4.1.0=S:1.1.5.4
interfaces.ifTable.ifEntry.ifIndex.452160.26=26 interfaces.ifTable.ifEntry.ifAdminStatus.452160.26=1 
interfaces.ifTable.ifEntry.ifOperStatus.452160.26=1  S:1.1.4.3.0=E:8072.3.2.10

SNMP SET

The SNMP SET command is not supported by TelcoBridges products.



Related Tasks


External Sources



Personal tools