ManageEngine recognized in the 2024 Gartner® Magic Quadrant™ for Digital Experience Monitoring. Get the full report

What are the MIBs/OIDs used to discover Layer2 map ?

OpManager's Layer2 Maps help you automatically map out your network's topology, giving you a clear understanding about your network layout, in a parent-child hierarchy. The network layout will be mapped based on the l2 router or l3 switch, the details of which must be configured, along with the device range. The layer2 maps will be discovered via SNMP.

To start with, OpManager checks whether the given seed device is a Router or L3 Switch based on the criteria mentioned below:

Criteria for Router :

..1.3.6.1.2.1.4.1.0 (RFC1213.MIB) - IpForwarding should be 1

.1.3.6.1.2.1.4.20.1.1 (RFC1213.MIB) - Should return more than two interfaces.

Criteria for Switch :

.1.3.6.1.2.1.17.1.4.1.1 - Bridge mib should be implemented.

If the device does not respond to the Bridge mib, it will not be considered as a switch, and hence the child devices will not be fetched.

The above validation will be skipped if CDP and/or LLDP alone is enabled, since these mechanisms will only contain Layer2 devices, and the neighboring devices will be updated periodically, unlike other mechanisms. Kindly ensure that if CDP or LLDP is enabled, it is enabled in the end-device as well.

List of OIDs used for Layer2 Discovery : BRIDGE-MIB :

  • .1.3.6.1.2.1.17.4.3.1.1 
  • .1.3.6.1.2.1.17.4.3.1.2 
  • .1.3.6.1.2.1.17.4.3.1.3 
  • .1.3.6.1.2.1.17.1.4.1.1
  • .1.3.6.1.2.1.17.1.4.1.2 

RFC1213.MIB (NetToMediaTable) 

  • .1.3.6.1.2.1.4.22.1.1
  • .1.3.6.1.2.1.4.22.1.2
  • .1.3.6.1.2.1.4.22.1.3
  • .1.3.6.1.2.1.4.22.1.4

RFC1213 (IPRouteTable) 

  • .1.3.6.1.2.1.4.21.1.1 
  • .1.3.6.1.2.1.4.21.1.2 
  • .1.3.6.1.2.1.4.21.1.7 
  • .1.3.6.1.2.1.4.21.1.8 
  • .1.3.6.1.2.1.4.21.1.11

CISCO-CDP.MIB 

  • .1.3.6.1.4.1.9.9.23.1.2.1.1.4 
  • .1.3.6.1.4.1.9.9.23.1.2.1.1.7 
  • .1.3.6.1.4.1.9.9.23.1.2.1.1.9 

LLDP.MIB

  • .1.0.8802.1.1.2.1.4.1.1.4
  • .1.0.8802.1.1.2.1.4.1.1.5
  • .1.0.8802.1.1.2.1.4.1.1.8
  • .1.0.8802.1.1.2.1.4.1.1.9
  • .1.0.8802.1.1.2.1.4.1.1.12
  • .1.0.8802.1.1.2.1.4.2.1.2
  • .1.0.8802.1.1.2.1.4.2.1.3

IF-MIB :

  • ifIndex - .1.3.6.1.2.1.2.2.1.1
  • ifName - .1.3.6.1.2.1.31.1.1.1.1
 
 Pricing  Get Quote