agentStpPortState

NETAPP-SWITCHING-MIB · .1.3.6.1.4.1.789.4413.1.1.1.2.15.7.1.1

Object

column r/w Enumeration
The administrative STP state for the port.
              
enable(1)  - enables STP on the port.
disable(2) - disables STP on the port.
              
The default port STP state is enabled for the first 4095
ports and disabled for any ports beyond.

Context

MIB
NETAPP-SWITCHING-MIB
OID
.1.3.6.1.4.1.789.4413.1.1.1.2.15.7.1.1
Type
column
Access
readwrite
Status
current
Parent
agentStpPortEntry

Walk 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 'NETAPP-SWITCHING-MIB' -M '/opt/observium/mibs/netapp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'NETAPP-SWITCHING-MIB::agentStpPortState'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'NETAPP-SWITCHING-MIB' -M '/opt/observium/mibs/netapp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'NETAPP-SWITCHING-MIB::agentStpPortState.<ifIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'NETAPP-SWITCHING-MIB' -M '/opt/observium/mibs/netapp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'NETAPP-SWITCHING-MIB::agentStpPortState'

Syntax

Enumeration

Values & Constraints

Enumerated Values
1enable
2disable