stpPortOptfRootLoopGuard

FS-NMS-STP · .1.3.6.1.4.1.52642.9.253.7.1.5

Object

column r/w Enumeration
Root Guard prevents a port that is receiving superior BPDUs from becoming root port.
              
In SSTP and PVST modes, if a Root Guard-enabled port is receiving superior BPDUs, it is always blocked.
              
In RSTP and MSTP modes, if a Root Guard-enabled port originally didn't receive superior BPDUs, but now
it is receiving superior BPUDs, it is blocked. 
              
              
Loop guard prevents alternate and root ports from becoming designated ports.
              
In SSTP and PVST modes, if a Loop guard-enabled port is designated port, it is always blocked.
              
In RSTP and MSTP modes, if a Loop guard-enabled port becomes designated port because of a failure
that can't receive BPDUs, it is blocked.

Context

MIB
FS-NMS-STP
OID
.1.3.6.1.4.1.52642.9.253.7.1.5
Type
column
Access
readwrite
Status
current
Parent
stpPortOptfTableEntry

Walk 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::stpPortOptfRootLoopGuard'
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::stpPortOptfRootLoopGuard.<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::stpPortOptfRootLoopGuard'

Syntax

Enumeration

Values & Constraints

Enumerated Values
0no
1rootGuard
2loopGuard
3disabled