swMSTPPortAdminEdgePort
MSTP-MIB ·
d-link variant
·
.1.3.6.1.4.1.171.12.15.2.4.1.7
Object
column r/w
Enumeration
The value of the Edge Port parameter. A value of TRUE indicates that this port should be assumed as an edge-port and a value of FALSE indicates that this port should be assumed as a non-edge-port
Context
- MIB
- MSTP-MIB
- OID
.1.3.6.1.4.1.171.12.15.2.4.1.7- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- swMSTPPortEntry
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 'MSTP-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'MSTP-MIB::swMSTPPortAdminEdgePort'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'MSTP-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'MSTP-MIB::swMSTPPortAdminEdgePort.<swMSTPPort>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'MSTP-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'MSTP-MIB::swMSTPPortAdminEdgePort'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | true |
2 | false |
3 | auto |