All MIBs › HMPRIV-MGMT-SNMP-MIB › hmSysStpBPDUGuardEnable
hmSysStpBPDUGuardEnable
Module: HMPRIV-MGMT-SNMP-MIB
OID (symbolic): HMPRIV-MGMT-SNMP-MIB::hmSysStpBPDUGuardEnable
OID (numeric): 1.3.6.1.4.1.248.14.1.1.32
Node type: OBJECT-TYPE
Type: INTEGER
Access: read-write
Description:
This variable controls the BPDU Guard operation of the entire switch (globally). To control the BPDU Guard function of each port use hmIfaceStpBpduGuardEnable. If BPDU guard functionality are global enabled (hmSysStpBPDUGuardEnable=enable(1)), and BPDU guard are enabled per port (hmIfaceStpBpduGuardEnable=enable(1)) and (R)STP are globally enabled and an BPDU are received on the port, then hmIfaceStpBpduGuardStatus is set to true(1) for this port and IfAdminStatus is set to down(2) for this port. Variable hmIfaceStpBpduGuardStatus can be reset (to their original values (=false)) with switching BPDU guard functionality globally off (hmSysStpBPDUGuardEnable=disable(2)). IfAdminStatus can be again reset to to their original values up() only manually. The default value of hmSysStpBPDUGuardEnable is disable(2).
What is hmSysStpBPDUGuardEnable?
This global switch configuration enables or disables BPDU Guard protection across the entire device. When enabled globally and per-port, BPDU Guard detects and disables ports that unexpectedly receive Spanning Tree PDUs, protecting against accidental topology loops caused by misconfigurations. Network administrators activate this on edge ports to prevent user workstations from accidentally bridging the network.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.248.14.1.1.32 snmpwalk -v2c -c public <target> HMPRIV-MGMT-SNMP-MIB::hmSysStpBPDUGuardEnable
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.248.14.1.1.32.1 snmpget -v2c -c public <target> HMPRIV-MGMT-SNMP-MIB::hmSysStpBPDUGuardEnable.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.248.14.1.1.32.1 i <value>
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.1 | hmSystemTable | HMPRIV-MGMT-SNMP-MIB |
| 1.3.6.1.4.1.248.14.1.1.32 | hmSysStpBPDUGuardEnable | HMPRIV-MGMT-SNMP-MIB |