bdInterfaceDefaultPortState
DC-BD-MIB ·
.1.2.826.0.1.1578918.5.3.29.1.3.1.7
Object
The default port state of this interface. This field is
used to enable an interface on a bridge in the absence of
a Layer 2 protocol that controls the port state
dynamically.
This must always be set to AMB_BD_IF_PORT_ST_BLOCKED if
the port state is being managed by a Layer 2 protocol
(such as DC-ERPS or DC-STP).
Context
- MIB
- DC-BD-MIB
- OID
.1.2.826.0.1.1578918.5.3.29.1.3.1.7- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- bdInterfaceEntry
- 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 'DC-BD-MIB' -M '/opt/observium/mibs/versa:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DC-BD-MIB::bdInterfaceDefaultPortState'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'DC-BD-MIB' -M '/opt/observium/mibs/versa:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DC-BD-MIB::bdInterfaceDefaultPortState.<bdInterfaceEntIndex>.<bdInterfaceIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'DC-BD-MIB' -M '/opt/observium/mibs/versa:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'DC-BD-MIB::bdInterfaceDefaultPortState'
Syntax
- Source
- BdIfPortState
- Base type
Enumeration
Values & Constraints
Type Values
0 | init |
1 | disabled |
2 | learning |
3 | forwarding |
4 | blocked |
5 | listening |
Conformance
Member of