swL2DevAlarmNewRoot
SWL2MGMT-MIB ·
d-link variant
·
.0.2.1.3.1
Object
scalar r/w
Enumeration
When the device has become the new root of the Spanning Tree, this object decide whether to send a new root trap.
Context
- MIB
- SWL2MGMT-MIB
- OID
.0.2.1.3.1- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- swL2DevAlarm
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 'SWL2MGMT-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SWL2MGMT-MIB::swL2DevAlarmNewRoot.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'SWL2MGMT-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'SWL2MGMT-MIB::swL2DevAlarmNewRoot'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | other |
2 | disabled |
3 | enabled |