cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
33234
Views
21
Helpful
4
Replies

What is MIB

Kuldeep singh
Level 1
Level 1

Hello,

1. What is MIB in networking devices and how it differ from SNMP.

2. Both (MIB and SNMP) are same or Different ? Plz explain with simple example

3. Where i can use MIB ?

KS

2 Accepted Solutions

Accepted Solutions

daniel.dib
Level 7
Level 7

From Wikipedia:

SNMP itself does not define which information (which variables) a managed system should offer. Rather, SNMP uses an extensible design, where the available information is defined by

management information bases

(MIBs). MIBs describe the structure of the management data of a device subsystem; they use a

hierarchical namespace

containing

object identifiers

(OID). Each OID identifies a variable that can be read or set via SNMP. MIBs use the notation defined by Structure of Management Information Version 2 (SMIv2,

RFC 2578

), a subset of

ASN.1

.

So the MIB is used to define what variables can be read from the device. There can be a MIB for a Cisco switch, a MIB for a HP switch and so on. With OID you can read a specific variable from the device, one example being to look at counters for an interface.

SNMP is the standard and MIBs are part of that.

I recommend that you read through the Wikipedia article on SNMP. It's a good start.

http://en.wikipedia.org/wiki/Simple_Network_Management_Protocol

Daniel Dib
CCIE #37149

Daniel Dib
CCIE #37149
CCDE #20160011

Please rate helpful posts.

View solution in original post

Joseph W. Doherty
Hall of Fame
Hall of Fame

Disclaimer

The Author of this posting offers the information contained within this posting without consideration and with the reader's understanding that there's no implied or expressed suitability or fitness for any purpose. Information provided is for informational purposes only and should not be construed as rendering professional advice of any kind. Usage of this posting's information is solely at reader's own risk.

Liability Disclaimer

In no event shall Author be liable for any damages whatsoever (including, without limitation, damages for loss of use, data or profit) arising out of the use or inability to use the posting's information even if Author has been advised of the possibility of such damage.

Posting

A MIB (management information base) is a database structure of device stats, the device keeps on (or about) itself.  Parts of the MIB are defined by RFC standards, other parts are vendor (optional) extensions (the structure for the latter, but not the content, is still part of the RFC standards).

SNMP (simplified network management protocol) is a network protocol that is used for device management between a management station and the managed device.

Think SNMP is (somewhat conceptionally) like HTTP (a network protocol) and a MIB is (somewhat conceptionally) like HTML (a web page data structure).

A MIB is often accessed, remotely, via SNMP.  For example, SNMP might be used to query the MIB stats for the number of frames/packets that a particular interface has transmitted and/or received.  If a management station routinely "polls" for such data, it might then provide a utilization history (often graphic) of an interface's utilization.

View solution in original post

4 Replies 4

Kuldeep singh
Level 1
Level 1

Please Help

daniel.dib
Level 7
Level 7

From Wikipedia:

SNMP itself does not define which information (which variables) a managed system should offer. Rather, SNMP uses an extensible design, where the available information is defined by

management information bases

(MIBs). MIBs describe the structure of the management data of a device subsystem; they use a

hierarchical namespace

containing

object identifiers

(OID). Each OID identifies a variable that can be read or set via SNMP. MIBs use the notation defined by Structure of Management Information Version 2 (SMIv2,

RFC 2578

), a subset of

ASN.1

.

So the MIB is used to define what variables can be read from the device. There can be a MIB for a Cisco switch, a MIB for a HP switch and so on. With OID you can read a specific variable from the device, one example being to look at counters for an interface.

SNMP is the standard and MIBs are part of that.

I recommend that you read through the Wikipedia article on SNMP. It's a good start.

http://en.wikipedia.org/wiki/Simple_Network_Management_Protocol

Daniel Dib
CCIE #37149

Daniel Dib
CCIE #37149
CCDE #20160011

Please rate helpful posts.

Joseph W. Doherty
Hall of Fame
Hall of Fame

Disclaimer

The Author of this posting offers the information contained within this posting without consideration and with the reader's understanding that there's no implied or expressed suitability or fitness for any purpose. Information provided is for informational purposes only and should not be construed as rendering professional advice of any kind. Usage of this posting's information is solely at reader's own risk.

Liability Disclaimer

In no event shall Author be liable for any damages whatsoever (including, without limitation, damages for loss of use, data or profit) arising out of the use or inability to use the posting's information even if Author has been advised of the possibility of such damage.

Posting

A MIB (management information base) is a database structure of device stats, the device keeps on (or about) itself.  Parts of the MIB are defined by RFC standards, other parts are vendor (optional) extensions (the structure for the latter, but not the content, is still part of the RFC standards).

SNMP (simplified network management protocol) is a network protocol that is used for device management between a management station and the managed device.

Think SNMP is (somewhat conceptionally) like HTTP (a network protocol) and a MIB is (somewhat conceptionally) like HTML (a web page data structure).

A MIB is often accessed, remotely, via SNMP.  For example, SNMP might be used to query the MIB stats for the number of frames/packets that a particular interface has transmitted and/or received.  If a management station routinely "polls" for such data, it might then provide a utilization history (often graphic) of an interface's utilization.

thanks, the analogy really helped me with my confusion.

Review Cisco Networking products for a $25 gift card