eSWSTP
ASANTE-SWITCH-MIB ·
.1.3.6.1.4.1.298.1.5.1.1.1.18
Object
scalar mandatory
r/w
Enumeration
Setting this value to enable(2) will cause the switch to perform the Spanning Tree Algorithm as described in IEEE 802.1d.Setting it to disable(3) will stop the Spanning Tree Algorithm for all ports on the switch. If STP is disabled, the state of all ports in this switch should be set to Forwarding. When STP is changed from Disabled(3) to Enabled(2), the state of all enabled ports will be changed from forwarding to blocking, and the switch will recalculate the spanning tree.
Context
- MIB
- ASANTE-SWITCH-MIB
- OID
.1.3.6.1.4.1.298.1.5.1.1.1.18- Type
- scalar
- Access
- readwrite
- Status
- mandatory
- Parent
- eSWAgentSW
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 'ASANTE-SWITCH-MIB' -M '/opt/observium/mibs/asante:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ASANTE-SWITCH-MIB::eSWSTP.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'ASANTE-SWITCH-MIB' -M '/opt/observium/mibs/asante:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ASANTE-SWITCH-MIB::eSWSTP'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | other |
2 | enable |
3 | disable |