mstpPortPortFast
ZELAX-MIB ·
.1.3.6.1.4.1.7840.2.1.100.2.2.4.1.5
Object
column r/w
Enumeration
default:the port mode is portfast mode bpdufilter:the port mode is portfast mode with bpdufilter bpduguard:the port mode is portfast mode with bpduguard noportfast:the port mode is not portfast mode
Context
- MIB
- ZELAX-MIB
- OID
.1.3.6.1.4.1.7840.2.1.100.2.2.4.1.5- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- mstpPortInfoEntry
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 'ZELAX-MIB' -M '/opt/observium/mibs/zelax:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZELAX-MIB::mstpPortPortFast'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'ZELAX-MIB' -M '/opt/observium/mibs/zelax:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZELAX-MIB::mstpPortPortFast.<mstpPortInfoPortIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'ZELAX-MIB' -M '/opt/observium/mibs/zelax:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ZELAX-MIB::mstpPortPortFast'
Syntax
Enumeration
Values & Constraints
Enumerated Values
0 | default |
1 | bpdufilter |
2 | bpduguard |
3 | noportfast |