snIfStpOperState
FOUNDRY-SN-SWITCH-GROUP-MIB ·
.1.3.6.1.4.1.1991.1.1.3.5.2.1.5
Object
column Enumeration
By default, this mode is set to notActivated(0). notActivated(0)...the Port STP or RSTP entry is not configured and not in running mode. activated(1)......the Port STP or RSTP entry is enabled
Context
- MIB
- FOUNDRY-SN-SWITCH-GROUP-MIB
- OID
.1.3.6.1.4.1.1991.1.1.3.5.2.1.5- Type
- column
- Access
- readonly
- Status
- current
- Parent
- snIfStpEntry
Net-SNMP examples
How SNMP and these commands workWalk the column to discover its indexed instances, or supply every index to read one instance.
Walk the column
/usr/bin/snmpbulkwalk -v2c -c '<community>' -Pud -Ir -OQUs -m 'FOUNDRY-SN-SWITCH-GROUP-MIB' -M '/opt/observium/mibs/brocade:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'FOUNDRY-SN-SWITCH-GROUP-MIB::snIfStpOperState'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'FOUNDRY-SN-SWITCH-GROUP-MIB' -M '/opt/observium/mibs/brocade:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'FOUNDRY-SN-SWITCH-GROUP-MIB::snIfStpOperState.<snIfStpVLanId>.<snIfStpPortNum>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'FOUNDRY-SN-SWITCH-GROUP-MIB' -M '/opt/observium/mibs/brocade:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'FOUNDRY-SN-SWITCH-GROUP-MIB::snIfStpOperState'
Syntax
Enumeration
Values & Constraints
Enumerated Values
0 | notActivated |
1 | activated |