hpSwitchStpTrapCntl

CONFIG-MIB · .1.3.6.1.4.1.11.2.14.11.5.1.7.1.14.3

Object

scalar optional r/w Bits
Controls generation of SNMP traps by STP-enabled switch
for events defined in this MIB.
The set bit means 'enabled'.
          
 - errantBpdu(0)
   The state of this bit specifies whether the 
   notification trap allowed to be send when 
   unexpected (errant) BPDU is received on a port.
          
  - newRoot(1):
   The state of this bit specifies whether the 
   trap is allowed to be send when 
   sending agent has become the new root. 
   Currently, it is only supported in RPVST mode.
          
 - rootGuard(2): 
   The state of this bit specifies whether  the 
   trap is allowed to be send when Root-Guard
   enabled port receives superior BPDUs 
   on its interface.
   Currently, it is only supported in RPVST mode.
          
 - loopGuard(3):
   The state of this bit specifies whether the trap 
   is allowed to be send when a Loop Guard 
   enabled port stops receiving BPDUs from its 
   designated port.
   Currently, it is only supported in RPVST mode.

Context

MIB
CONFIG-MIB
OID
.1.3.6.1.4.1.11.2.14.11.5.1.7.1.14.3
Type
scalar
Access
readwrite
Status
optional
Parent
hpSwitchStpConfig

Scalars have one instance, identified by the .0 suffix.

Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'CONFIG-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CONFIG-MIB::hpSwitchStpTrapCntl.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CONFIG-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CONFIG-MIB::hpSwitchStpTrapCntl'

Syntax

Bits

Values & Constraints

Enumerated Values
0errantBpdu
1newRoot
2rootGuard
3loopGuard