staPortRootGuardStatus
ECS4810-12M-MIB ·
.1.3.6.1.4.1.259.10.1.11.1.5.2.1.18
Object
Specifies the desired status of the root guard. This variable configures the root guard feature to enforce the root bridge placement in the network.
Context
- MIB
- ECS4810-12M-MIB
- OID
.1.3.6.1.4.1.259.10.1.11.1.5.2.1.18- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- staPortEntry
Net-SNMP examples
How SNMP and these commands workWalk 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 'ECS4810-12M-MIB' -M '/opt/observium/mibs/edgecore:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ECS4810-12M-MIB::staPortRootGuardStatus'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'ECS4810-12M-MIB' -M '/opt/observium/mibs/edgecore:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ECS4810-12M-MIB::staPortRootGuardStatus.<index>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'ECS4810-12M-MIB' -M '/opt/observium/mibs/edgecore:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ECS4810-12M-MIB::staPortRootGuardStatus'
Syntax
- Source
- P-BRIDGE-MIBEnabledStatus
- Base type
Enumeration
Values & Constraints
Type Values
1 | enabled |
2 | disabled |