BRIDGE-MIB :: dot1dBasePortIfIndex

MIB Reference — IPNetwork Monitor · Updated September 14, 2026

All MIBsBRIDGE-MIBdot1dBasePortIfIndex

dot1dBasePortIfIndex

Module: BRIDGE-MIB

OID (symbolic): BRIDGE-MIB::dot1dBasePortIfIndex

OID (numeric): 1.3.6.1.2.1.17.1.4.1.2

Node type: OBJECT-TYPE

Type: InterfaceIndex

Access: read-only

Description: Interface index for this port.

What is dot1dBasePortIfIndex?

This read-only object maps a bridge port to its corresponding interface index in the standard IF-MIB, allowing operators to correlate bridge-level forwarding behavior with physical interface statistics. This linkage is essential for correlating bridging errors and performance metrics with specific network ports. It enables a unified view of both switching and interface-level diagnostics.

Examples

Walk all instances (SNMPv2c):

snmpwalk -v2c -c public <target> 1.3.6.1.2.1.17.1.4.1.2
snmpwalk -v2c -c public <target> BRIDGE-MIB::dot1dBasePortIfIndex

Get a specific instance (index 1):

snmpget -v2c -c public <target> 1.3.6.1.2.1.17.1.4.1.2.1
snmpget -v2c -c public <target> BRIDGE-MIB::dot1dBasePortIfIndex.1

Start monitoring IEEE 802.1D-compliant Ethernet switches/bridges with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the BRIDGE-MIB::dot1dBasePortIfIndex OID value, configure state conditions and alerts, and monitor any IEEE 802.1D-compliant Ethernet switches/bridges from a single console.

OID Breakdown

Upper-level ancestors (6 from the standard OID tree / other modules)
Numeric OIDNameModule
1isoLANART-AGENT
1.3orgAirPair-MIB
1.3.6dodAirPair-MIB
1.3.6.1internetAirPair-MIB
1.3.6.1.2mgmtAXON-MIB
1.3.6.1.2.1mib_2AXON-MIB
Numeric OIDNameModule
1.3.6.1.2.1.17dot1dBridgeBRIDGE-MIB
1.3.6.1.2.1.17.1dot1dBaseBRIDGE-MIB
1.3.6.1.2.1.17.1.4dot1dBasePortTableBRIDGE-MIB
1.3.6.1.2.1.17.1.4.1dot1dBasePortEntryBRIDGE-MIB
1.3.6.1.2.1.17.1.4.1.2dot1dBasePortIfIndexBRIDGE-MIB

FAQ

Why do I need dot1dBasePortIfIndex if I already have the bridge port number?
The bridge port number is only meaningful within the bridging tables — STP state, forwarding, and so on. dot1dBasePortIfIndex bridges that number to the ifIndex used everywhere else in SNMP: interface counters, link status, descriptions — so you can tell a NOC engineer 'port 4 in Spanning Tree is physically interface Gi1/0/4', not just an abstract bridge port ID.

A port shows as blocking in Spanning Tree — how do I find out which physical interface that is?
Look up the bridge port number in dot1dStpPortState, then use dot1dBasePortIfIndex for that same port row to get the ifIndex, and finally check ifDescr or ifName for that ifIndex in IF-MIB to get the human-readable interface name.