mstpMode
QTECH-ALT-MIB ·
.1.3.6.1.4.1.2751.100.2.2.1.7
Object
scalar r/w
Enumeration
setting global mode of mstp,stp or rstp
Context
- MIB
- QTECH-ALT-MIB
- OID
.1.3.6.1.4.1.2751.100.2.2.1.7- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- mstpSystemGroup
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 'QTECH-ALT-MIB' -M '/opt/observium/mibs/qtech:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'QTECH-ALT-MIB::mstpMode.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'QTECH-ALT-MIB' -M '/opt/observium/mibs/qtech:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'QTECH-ALT-MIB::mstpMode'
Syntax
Enumeration
Values & Constraints
Enumerated Values
0 | stp |
2 | rstp |
3 | mstp |