swMSTPStpVersion
MSTP-MIB ·
d-link variant
·
.1.3.6.1.4.1.171.12.15.1.2
Object
scalar r/w
Enumeration
The version of Spanning Tree Protocol the bridge is currently running.
Context
- MIB
- MSTP-MIB
- OID
.1.3.6.1.4.1.171.12.15.1.2- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- swMSTPGblMgmt
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 'MSTP-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'MSTP-MIB::swMSTPStpVersion.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'MSTP-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'MSTP-MIB::swMSTPStpVersion'
Syntax
Enumeration
Values & Constraints
Enumerated Values
0 | stp |
1 | rstp |
2 | mstp |