osPortBlockReason

OS-PORT-MIB · .1.3.6.1.4.1.6926.2.1.2.1.12

Object

column Bits
Port block reason (why port doesn't forward packets while link is up).
See also Bridge.MIB for STP state per VlanId.

Context

MIB
OS-PORT-MIB
OID
.1.3.6.1.4.1.6926.2.1.2.1.12
Type
column
Access
readonly
Status
current
Parent
osPortEntry
Groups
1

Walk the column to discover its indexed instances, or supply every index to read one instance.

Walk the column
/usr/bin/snmpbulkwalk -v2c -c '<community>' -Pud -Ir -OQUs -m 'OS-PORT-MIB' -M '/opt/observium/mibs/mrv:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'OS-PORT-MIB::osPortBlockReason'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'OS-PORT-MIB' -M '/opt/observium/mibs/mrv:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'OS-PORT-MIB::osPortBlockReason.<osPortIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'OS-PORT-MIB' -M '/opt/observium/mibs/mrv:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'OS-PORT-MIB::osPortBlockReason'

Syntax

Bits

Values & Constraints

Enumerated Values
0other
1reserve
2enabled
3blockedByStp
4blockedByDot1X
5blockedByLacp
6blockedByAh
7blockedByErp

Conformance