stpPerPortCfgStpState
Jetnet5010G ·
.1.3.6.1.4.1.24062.2.2.1.4.5.7.1.2
Object
column mandatory
r/w
Enumeration
Enable/Disable STP/RSTP/MSTP at this port. Disable STP state when connecting a device in order to avoid STP waiting periods.
Context
- MIB
- Jetnet5010G
- OID
.1.3.6.1.4.1.24062.2.2.1.4.5.7.1.2- Type
- column
- Access
- readwrite
- Status
- mandatory
- Parent
- stpPerPortCfgEntry
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 'Jetnet5010G' -M '/opt/observium/mibs/korenix:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'Jetnet5010G::stpPerPortCfgStpState'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'Jetnet5010G' -M '/opt/observium/mibs/korenix:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'Jetnet5010G::stpPerPortCfgStpState.<stpPerPortCfgPortNum>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'Jetnet5010G' -M '/opt/observium/mibs/korenix:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'Jetnet5010G::stpPerPortCfgStpState'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | enable |
2 | disable |