agentStpPortState
NG700-SWITCHING-MIB ·
.1.3.6.1.4.1.4526.11.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
- NG700-SWITCHING-MIB
- OID
.1.3.6.1.4.1.4526.11.1.2.15.7.1.1- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- agentStpPortEntry
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 'NG700-SWITCHING-MIB' -M '/opt/observium/mibs/netgear:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'NG700-SWITCHING-MIB::agentStpPortState'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'NG700-SWITCHING-MIB' -M '/opt/observium/mibs/netgear:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'NG700-SWITCHING-MIB::agentStpPortState.<index>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'NG700-SWITCHING-MIB' -M '/opt/observium/mibs/netgear:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'NG700-SWITCHING-MIB::agentStpPortState'
Syntax
Enumeration
Values & Constraints
No enumerated values or constraints recorded.