portConfigBpduGuard

G6-STP-MIB · .1.3.6.1.4.1.3181.10.6.2.42.2.1.13

Object

column r/w Enumeration
When enabled STP attempts from a user port are blocked. This prevents a malicious user from influencing the overall network routing.

Context

MIB
G6-STP-MIB
OID
.1.3.6.1.4.1.3181.10.6.2.42.2.1.13
Type
column
Access
readwrite
Status
current
Parent
portConfigEntry

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 'G6-STP-MIB' -M '/opt/observium/mibs/microsens:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'G6-STP-MIB::portConfigBpduGuard'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'G6-STP-MIB' -M '/opt/observium/mibs/microsens:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'G6-STP-MIB::portConfigBpduGuard.<portConfigPortIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'G6-STP-MIB' -M '/opt/observium/mibs/microsens:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'G6-STP-MIB::portConfigBpduGuard'

Syntax

Enumeration

Values & Constraints

Enumerated Values
0disabled
1dropAndEvent
2blockPort