You are on page 1of 11

SNMP Benefits

◼ Control: The benefits of SNMP-compliant application


include the abilities to prevent, detect, and correct network
related issues

◼ Popularity: SNMP is virtually supported by every enterprise


network equipment manufacturer in the world

◼ Efficiency: SNMP also utilize the User Datagram Protocol


(UDP) to deliver packets called protocol data units (PDUs)
SNMP Limitations

◼ Simplicity: Because SNMP uses UDP as its transmission


protocol, it lacks many reliability and security issues.

◼ Security: security has been a big concern with SNMPv1 and


SNMPv2. Neither provides adequate security features such as
management message authentication and encryption.

◼ Alternative: the Common Management Information Protocol


(CMIP) is another alternative to SNMP.
MIB – Brain Teaser ?
Use the below MIB tree to retrieve the OID for sysObjectID:
SNMP-MIB
internet
{1 3 6 1}

◼ MIB-II (RFC 1213) is superset of


MIB-I.
directory mgmt experimental private
(1) (2) (3) (4)
◼ Objects that are related grouped
mib-2
into object groups.
(1)
◼ MIB module comprises module
system (1) snmp (11)
name, imports from
interfaces (2) transmission (10) other modules, and definitions of
at (3) cmot (9)
ip (4) egp (8) current module.
icmp (5) udp (7)
tcp (6) ◼ RFC 1213 defines eleven groups.

Figure 4.26 Internet MIB-II Group

Network Management: Principles and Practice


© Mani Subramanian 2010
SNMP-MIB-System Group
system
(mib-2 1)

sysDescr (1) sysServices (7)


sysObjectId
sysLocation (6)
(2)
sysUpTime (3) sysName (5)

sysContact (4)

Figure 4.27 System Group


Entity OID Description (brief)
sysDescr system 1 Textual description
sysObjectID system 2 OBJECT IDENTIFIER of the entity
sysUpTime system 3 Time (in hundredths of a second since last reset)
sysContact system 4 Contact person for the node
sysName system 5 Administrative name of the system
sysLocation system 6 Physical location of the node
sysServices system 7 Value designating the layer services provided by the
entity

Network Management: Principles and Practice


© Mani Subramanian 2010
SNMP-MIB – IFTABLE
Open the link http://www.net-snmp.org/docs/mibs/interfaces.html to view
IF-MIB objects in a table format
interfaces
(mib-2 2)

ifNumber ifTable
(1) (2)

ifEntry
(1)

ifIndex (1) ifSpecific (22)


ifDescr (2) ifOutQLen (21)
ifType (3) ifOutErrors (20)
ifMtu (4) ifOutDiscards (19)
ifSpeed (5) ifOutNUcastPkts (18)
ifPhysAddress (6) ifOutUcastPkts (17)
ifAdminstatus (7) ifOutOctets (16)
ifOperStatus (8) ifUnknownProtos (15)
ifLastChange (9) ifInErrors (14)
ifInOctets (10) ifInDiscards (13)
ifInUcastPkts (11) ifInNUcastPkts (12)

Legend: INDEX in bold

Network Management: Principles and Practice


Figure 4.28 Interfaces Group

© Mani Subramanian 2010


SNMP-MIB-IFMIBObjects
mib-2

◼ Interface MIB is limited by maximum


number of physical ports. However, a
interfaces ifMIB
(2) (31) physical port may have several logical ports.
ifMIBObjects
(1)
◼ IFMIB specifies extension in generic
manner
ifXTable(1) ifStackTable (2) ifRcvAddressTable (4)

Network Management: Principles and Practice


© Mani Subramanian 2010
SNMP-MIB-IP Group
ip
(mib-2 4)

ipForwarding (1) ipRoutingDiscards (23)


ipDefaultTTL (2) ipNetToMediaTable (22)
ipInReceives (3) ipRouteTable (21)
ipInHdrErrors (4) ipAddrTable (20)
ipInAddrErrors (5) ipFragCreates (19)
ipForw Datagrams (6) ipFragFails (18)
ipInUnknownProtos (7) ipFragOKs (17)
ipInDiscards (8) ipReasmFails (16)
ipInDelivers (9) ipReasmOKs (15)
ipOutRequests(10) ipReasmReqds (14)
ipOutDiscards (11) ipReasmTimeout (13)

ipOutNoRoutes (12)

Figure 4.29 IP Group


Network Management: Principles and Practice
© Mani Subramanian 2010
SNMP-MIB-TCP Group
tcp
(mib-2 6)

tcpOutRsts (15)
tcpRtoAlgorithm (1)
tcpInErrors (14)
tcpRtoMin (2)
tcpConnTable 13)
tcpRtoMax (3)
tcpRetranSegs (12)
tcpMaxConn (4)
tcpActiveOpens (5) tcpOutSegs (11)
tcpPassiveOpens (6) tcpInSegs (10)
tcpAttemptFails (7) tcpCurrEstab (9)
tcpEstabResets (8)

Figure 4.35 TCP Group

Network Management: Principles and Practice


© Mani Subramanian 2010
SNMP-MIB-ICMP Group
icmp
(mib-2 5)

icmpInMsgs (1) icmpOutAddrMaskReps (26)


icmpInErrors (2) icmpOutAddrMasks (25)
icmpInDestUnreachs (3) icmpOutTimestampReps (24)
icmpInTimeExcds (4) icmpOutTimestamps (23)
icmpInParmProbe (5) icmpOutEchoReps (22)
icmpInSrcQuenchs (6) icmpOutEchos (21)
icmpInRedirects (7) icmpOutRedirects (20)
icmpInEchos (8) icmpOutSrcQuenchs (19)
icmpInEchoReps (9) icmpOutParmProbe (18)
icmpInTimestamps (10) icmpOutTimeExcds (17)
icmpInTimestampReps (11) icmpOutDestUnreachs (16)
icmpInAddrMasks (12) icmpOutErrors (15)
icmpInAddrMaskReps (13) icmpInMsgs (14)

Figure 4.34 ICMP Group

Network Management: Principles and Practice


© Mani Subramanian 2010
SNMP-MIB-UDP Group
udp
(mib-2 7)

udpInDatagrams udpNoPorts udpInErrors udpOutDatagrams udpTable


(1) (2) (3) (4) (5)

udpEntry
(1)

udpLocAddress udpLocalPort
(1) (2)

Figure 4.37 UDP Group

You might also like