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
Net-SNMP examples
How SNMP and these commands workWalk 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
0 | other |
1 | reserve |
2 | enabled |
3 | blockedByStp |
4 | blockedByDot1X |
5 | blockedByLacp |
6 | blockedByAh |
7 | blockedByErp |
Conformance
Member of