swDevCtrlStpState

DES3225G-MIB · .1.3.6.1.4.1.171.11.24.1.2.1

Object

scalar mandatory r/w Enumeration
This object can be enabled or disabled spanning tree algorithm
during runtime of the system. When the device is in 802.1Q Vlan
mode, this object will be enabled and cannot be disabled.

Context

MIB
DES3225G-MIB
OID
.1.3.6.1.4.1.171.11.24.1.2.1
Type
scalar
Access
readwrite
Status
mandatory
Parent
swDevCtrl

Scalars have one instance, identified by the .0 suffix.

Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'DES3225G-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DES3225G-MIB::swDevCtrlStpState.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'DES3225G-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'DES3225G-MIB::swDevCtrlStpState'

Syntax

Enumeration

Values & Constraints

Enumerated Values
1other
2disabled
3enabled