stpPortStatus
DGS-1210-28XME-BX ·
.1.3.6.1.4.1.171.10.76.43.1.6.2.1.2
Object
column r/w
Enumeration
Current state of the Port which can be changed to either Disabled or Enabled for ALL spanning tree instances. Setting this object will override the port's status in any of the MSTI contexts
Context
- MIB
- DGS-1210-28XME-BX
- OID
.1.3.6.1.4.1.171.10.76.43.1.6.2.1.2- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- stpPortEntry
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 'DGS-1210-28XME-BX' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DGS-1210-28XME-BX::stpPortStatus'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'DGS-1210-28XME-BX' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DGS-1210-28XME-BX::stpPortStatus.<stpPort>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'DGS-1210-28XME-BX' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'DGS-1210-28XME-BX::stpPortStatus'
Syntax
Enumeration
Values & Constraints
Enumerated Values
0 | disabled |
1 | enabled |