All MIBs › HMPRIV-MGMT-SNMP-MIB › hmBPDUGuardTrap
hmBPDUGuardTrap
Module: HMPRIV-MGMT-SNMP-MIB
OID (symbolic): HMPRIV-MGMT-SNMP-MIB::hmBPDUGuardTrap
OID (numeric): 1.3.6.1.4.1.248.14.1.0.8
Node type: NOTIFICATION-TYPE
Description:
This trap is sent if on this port an BPDU guard functionality is enabled (globally or only for this port) and an (R)STP BPDU are received on this port. That means when hmIfaceStpBpduGuardStatus is set to true(1) for this port. Then IfAdminStatus for this port is set to down(2). If needed, it must be changed by hand to up(1)
Examples
Send this trap to an SNMP manager — replace <manager> with the IP or hostname of your monitoring server (SNMPv2c):
snmptrap -v2c -c public <manager> '' HMPRIV-MGMT-SNMP-MIB::hmBPDUGuardTrap snmptrap -v2c -c public <manager> '' 1.3.6.1.4.1.248.14.1.0.8
Listen for incoming traps on the manager host (-f keeps it in the foreground, -Lo prints to stdout — useful for testing):
snmptrapd -f -Lo -c /dev/null authCommunity log public
Example snmptrapd log entry:
zoo11-linux.zoo [UDP: [192.168.30.111]:64767->[192.168.30.10]:162]: DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (451410175) 52 days, 5:55:01.75 SNMPv2-MIB::snmpTrapOID.0 = OID: HMPRIV-MGMT-SNMP-MIB::hmBPDUGuardTrap
OID Breakdown
| Numeric OID | Name | Module |
|---|---|---|
| 1 | iso | LANART-AGENT |
| 1.3 | org | BIANCA-BRICK-PPP-MIB |
| 1.3.6 | dod | BIANCA-BRICK-PPP-MIB |
| 1.3.6.1 | internet | BIANCA-BRICK-PPP-MIB |
| 1.3.6.1.4 | private | BIANCA-BRICK-PPP-MIB |
| 1.3.6.1.4.1 | enterprises | ANIROOT-MIB |
| 1.3.6.1.4.1.248 | hirschmann | HM2-TC-MIB |
| 1.3.6.1.4.1.248.14 | hmConfiguration | HMPRIV-MGMT-SNMP-MIB |
| 1.3.6.1.4.1.248.14.1 | hmChassis | HMPRIV-MGMT-SNMP-MIB |
| 1.3.6.1.4.1.248.14.1.0 | hmChassisEvent | HMPRIV-MGMT-SNMP-MIB |
| 1.3.6.1.4.1.248.14.1.0.8 | hmBPDUGuardTrap | HMPRIV-MGMT-SNMP-MIB |