Pcornel
Browse topics
Options
Recent
Favorites
Networking · Technical reference

MIB

Direct answer

A Management Information Base (MIB) is a structured, module-based definition of the objects an SNMP agent exposes, such as interface counters in IF-MIB.

When to use this

Use it when looking for which object holds a counter or status value.

First 30 seconds

1. A MIB defines the objects an agent exposes.

2. Standard (IF-MIB) and vendor MIBs.

3. Managers need MIB files to name OIDs.

4. Choose MIBs for monitoring needs.

5. Check support per platform.

Operational verification

MIB definitions → agent objects → manager polls

Context & applicabilityCommon mistakes · platform/version boundaries
Platform / version applicability
Protocol standard + deployed implementation
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformProtocol standard · Cisco IOS / IOS XE
Scope / prerequisiteUse it when looking for which object holds a counter or status value.
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

4 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Verification and what it shows Verify boundary

Resolve the symbolic object to its numeric OID, query a known implemented instance with the intended credentials and confirm the returned value/type matches MIB semantics. MIB availability on the manager shows only local interpretation metadata, but it does not show the agent implements, authorizes or currently reports that object.

Step 2 Verification & troubleshooting Narrow the fault

1. Verify manager-to-agent routing and UDP 161.

2. Verify version, credentials/user, view and ACL.

3. Poll one known OID.

4. Verify notification destination and UDP 162.

5. Correlate device and manager logs.

Step 3 Observation → implication → next check Narrow the fault

Observation → implication → next check: an unresolved symbolic name in the manager points to local MIB loading, not agent failure. Numeric OID returning noSuchObject moves to agent implementation/object context. Authorization errors move to SNMPv3 view/security policy. Valid values with wrong meaning require checking object instance/index and MIB semantics.

Step 4 Common mistakes Narrow the fault
  • Polling without vendor MIBs loaded.
  • Using deprecated MIB objects.
Evidence references

Evidence · 1 on this Topic

Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.

observation · 1
Command lookup Jump straight to Cisco syntax
Key points
  • Polling and traps/informs are independent paths
  • An OID identifies an object; the MIB describes structure and semantics
  • SNMPv2c community strings are not equivalent to SNMPv3 authentication/privacy
  • Restrict management sources and grant the minimum required view/access.
Key checks
  • snmpwalk -v3 ... <host> <mib-subtree> — MIB data
  • Vendor MIB files loaded on the manager — name resolution
ReferenceWhy it matters2 sections · depth on demand

When to use it

Use it for inventory, counters, state monitoring and event notification with a defined MIB/OID and security model.

How it works in operation

A MIB describes managed-object structure and semantics; the running SNMP agent exposes only objects implemented and permitted by its version/view. Loading a MIB in a manager changes name-to-OID interpretation, not what the device supports. Object availability, access control and returned instance values are distinct facts.

ReferenceImportant terms & boundaries2 sections · depth on demand

In depth

The MIB is the structured set of objects an agent exposes

A Management Information Base (MIB) defines which values a device makes available through SNMP, how they are named, and their data types. The Catalyst 9300 SNMP guide describes the manager polling the agent's MIB to read device information.

Common MIBs on Cisco IOS XE

MIBContains
SNMPv2-MIB (system)sysDescr, sysUpTime, sysName, sysLocation
IF-MIBInterface names, status, 64-bit counters (ifHCInOctets)
ENTITY-MIBHardware inventory: chassis, modules, transceivers, serial numbers
CISCO-PROCESS-MIBCPU utilisation
CISCO-MEMORY-POOL-MIB / CISCO-ENHANCED-MEMPOOL-MIBMemory
CISCO-ENVMON-MIB / CISCO-ENTITY-SENSOR-MIBTemperatures, fans, power supplies
BRIDGE-MIB, Q-BRIDGE-MIBMAC tables and VLANs
$ snmpwalk -v3 -l authPriv -u nms01 -a SHA -A '<a>' -x AES -X '<p>' 10.0.0.11 IF-MIB::ifName
IF-MIB::ifName.8 = STRING: Gi1/0/1
IF-MIB::ifName.9 = STRING: Gi1/0/2
$ snmpget ... 10.0.0.11 IF-MIB::ifHCInOctets.8
IF-MIB::ifHCInOctets.8 = Counter64: 918273645512

Restricting what is visible with views

snmp-server group ties a group to read, write and notify views, so you can limit which parts of the MIB a manager sees:

C9300(config)# snmp-server view MON-VIEW iso included
C9300(config)# snmp-server view MON-VIEW 1.3.6.1.6.3 excluded
C9300(config)# snmp-server group MON v3 priv read MON-VIEW access SNMP-MANAGERS

Practical points

  • Use 64-bit HC counters for 1 Gb/s and faster interfaces. 32-bit counters wrap within seconds at 10 Gb/s.
  • Load vendor MIB files into the NMS so OIDs are shown by name.
  • Interface indexes (ifIndex) can change after reloads unless they are persistent. Check the snmp ifmib ifindex persist behaviour for your platform and release.

Documented example, not captured output.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.

Quick reference

A MIB is the dictionary that describes what information a device exposes through SNMP — interface counters, CPU load, temperatures, inventory. Each object in a MIB has a name, a data type and a numeric identifier (OID). Monitoring tools need the relevant MIB files to translate numbers into meaningful names and to interpret vendor-specific traps.

A MIB (Management Information Base) defines the structure of managed objects: names, types, OIDs and access. Standard MIBs (IF-MIB, IP-MIB, ENTITY-MIB, HOST-RESOURCES-MIB) plus vendor MIBs (CISCO-PROCESS-MIB, CISCO-ENVMON-MIB).

snmptranslate -On IF-MIB::ifHCInOctets          # name → OID
snmptranslate -Td IF-MIB::ifOperStatus

Load vendor MIBs into the NMS so traps and values have names instead of raw numbers.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docProtocol standard + deployed implementation RFC 3411

Authoritative/upstream documentation reviewed for bounded claims in IP Services → SNMP → MIB. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://www.rfc-editor.org/rfc/rfc3411.html · confidence 94%
Confirmation

Confirm action

Continue?