stpPortOptfBpduGuard
FS-NMS-STP ·
.1.3.6.1.4.1.52642.9.253.7.1.2
Object
column r/w
Enumeration
BPDU guard can operate in all spanning tree modes, but the feature operates with some differences. In SSTP and PVST modes, if a Port Fast-enabled port receives a BPDU,it will be shutdown. In RSTP and MSTP modes, if a port receives a BPDU, it will be blocked for double forward time. In all spanning tree modes, a BPDU guard-enabled port will not send BPDUs.
Context
- MIB
- FS-NMS-STP
- OID
.1.3.6.1.4.1.52642.9.253.7.1.2- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- stpPortOptfTableEntry
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 'FS-NMS-STP' -M '/opt/observium/mibs/fscom-nms:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'FS-NMS-STP::stpPortOptfBpduGuard'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'FS-NMS-STP' -M '/opt/observium/mibs/fscom-nms:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'FS-NMS-STP::stpPortOptfBpduGuard.<ifIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'FS-NMS-STP' -M '/opt/observium/mibs/fscom-nms:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'FS-NMS-STP::stpPortOptfBpduGuard'
Syntax
Enumeration
Values & Constraints
Enumerated Values
0 | no |
1 | enabled |
2 | disabled |