efdmimBdgPortState
EFDMIM-MIB ·
.1.3.6.1.4.1.52.1.6.4.1.2.1.1
Object
column optional
OctetString
This object is returned only if spanning tree is enabled on the bridge. It returns a text string representing the current state of the port: 'Disabled', 'Listening', 'Learning', 'Forwarding', or 'Blocking'.
Context
- MIB
- EFDMIM-MIB
- OID
.1.3.6.1.4.1.52.1.6.4.1.2.1.1- Type
- column
- Access
- readonly
- Status
- optional
- Parent
- efdmimBdgPortEntry
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 'EFDMIM-MIB' -M '/opt/observium/mibs/cabletron:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'EFDMIM-MIB::efdmimBdgPortState'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'EFDMIM-MIB' -M '/opt/observium/mibs/cabletron:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'EFDMIM-MIB::efdmimBdgPortState.<index>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'EFDMIM-MIB' -M '/opt/observium/mibs/cabletron:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'EFDMIM-MIB::efdmimBdgPortState'
Syntax
OctetString
Values & Constraints
No enumerated values or constraints recorded.