snSwIfStpRootGuardMode
FOUNDRY-SN-SWITCH-GROUP-MIB ·
.1.3.6.1.4.1.1991.1.1.3.3.5.1.66
Object
The status of the spanning tree root guard on an ethernet port. Declare the port to be on root guard for all spanning trees. The default is false state.
Context
- MIB
- FOUNDRY-SN-SWITCH-GROUP-MIB
- OID
.1.3.6.1.4.1.1991.1.1.3.3.5.1.66- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- snSwIfInfoEntry
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 'FOUNDRY-SN-SWITCH-GROUP-MIB' -M '/opt/observium/mibs/brocade:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'FOUNDRY-SN-SWITCH-GROUP-MIB::snSwIfStpRootGuardMode'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'FOUNDRY-SN-SWITCH-GROUP-MIB' -M '/opt/observium/mibs/brocade:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'FOUNDRY-SN-SWITCH-GROUP-MIB::snSwIfStpRootGuardMode.<snSwIfInfoPortNum>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'FOUNDRY-SN-SWITCH-GROUP-MIB' -M '/opt/observium/mibs/brocade:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'FOUNDRY-SN-SWITCH-GROUP-MIB::snSwIfStpRootGuardMode'
Syntax
- Source
- SNMPv2-TCTruthValue
- Base type
Enumeration
Type Description
Represents a boolean value.
Values & Constraints
Type Values
1 | true |
2 | false |