BRIDGE-MIB :: dot1dBasePortIfIndex

MIB Reference — IPNetwork Monitor

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

OID Breakdown

Numeric OIDNameModule
1isoLANART-AGENT
1.3orgBIANCA-BRICK-PPP-MIB
1.3.6dodBIANCA-BRICK-PPP-MIB
1.3.6.1internetBIANCA-BRICK-PPP-MIB
1.3.6.1.2mgmtBKTEL-HFC862-BASE-MIB
1.3.6.1.2.1mib_2CHECKPOINT-MIB-2
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.