nbsSysStpEnable
NBASE-G1-MIB ·
.1.3.6.1.4.1.629.1.2.10
Object
scalar mandatory
r/w
Enumeration
Writing one of the allowed values to this object will
modify the Administrative state of the Spanning Tree.
This value will take effect in the next session after a
system reset.
Writing the value StpDisable to this object will disable
the Spanning Tree Engine.
Writing the value StpEnable to this object will enable
the Spanning Tree Engine.
Context
- MIB
- NBASE-G1-MIB
- OID
.1.3.6.1.4.1.629.1.2.10- Type
- scalar
- Access
- readwrite
- Status
- mandatory
- Parent
- nbsSys
Net-SNMP examples
How SNMP and these commands workScalars have one instance, identified by the .0 suffix.
Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'NBASE-G1-MIB' -M '/opt/observium/mibs/mrv:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'NBASE-G1-MIB::nbsSysStpEnable.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'NBASE-G1-MIB' -M '/opt/observium/mibs/mrv:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'NBASE-G1-MIB::nbsSysStpEnable'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | stpDisable |
2 | stpEnable |