All MIBs › HMPRIV-MGMT-SNMP-MIB › hmIfaceStpBpduGuardEnable
hmIfaceStpBpduGuardEnable
Module: HMPRIV-MGMT-SNMP-MIB
OID (symbolic): HMPRIV-MGMT-SNMP-MIB::hmIfaceStpBpduGuardEnable
OID (numeric): 1.3.6.1.4.1.248.14.1.1.11.1.15
Node type: OBJECT-TYPE
Type: INTEGER
Access: read-write
Description:
Enabled or disabled the BPDU guard functionality per port. 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 for this port is set to down(2). Variable hmIfaceStpBpduGuardStatus can be reset to their original value (=false) with switching BPDU guard functionality globally off. IfAdminStatus can be reset to to their original values up() only manually.
What is hmIfaceStpBpduGuardEnable?
This read-write flag enables or disables BPDU Guard on a port, which immediately disables the port if a BPDU (Bridge Protocol Data Unit) is received. BPDU Guard protects against rogue or misconfigured switches being connected to access ports in a Spanning Tree network. An operator enables this on access ports to prevent topology changes caused by accidental or malicious switch connections.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.248.14.1.1.11.1.15 snmpwalk -v2c -c public <target> HMPRIV-MGMT-SNMP-MIB::hmIfaceStpBpduGuardEnable
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.248.14.1.1.11.1.15.1 snmpget -v2c -c public <target> HMPRIV-MGMT-SNMP-MIB::hmIfaceStpBpduGuardEnable.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.248.14.1.1.11.1.15.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.11 | hmInterfaceTable | HMPRIV-MGMT-SNMP-MIB |
| 1.3.6.1.4.1.248.14.1.1.11.1 | hmInterfaceEntry | HMPRIV-MGMT-SNMP-MIB |
| 1.3.6.1.4.1.248.14.1.1.11.1.15 | hmIfaceStpBpduGuardEnable | HMPRIV-MGMT-SNMP-MIB |