agentStpCstPortLoopGuard
SWITCHING-MIB ·
.1.3.6.1.4.1.7244.2.1.2.15.9.1.19
Object
column r/w
Enumeration
This command enables loop guard on this port. This setting applies
to all Spanning Tree instances of which this port is a member.
enable(1) - enables the loop guard mode for the port.
disable(2) - disables the loop guard mode for the port.
The default loop-guard mode is disabled.
Context
- MIB
- SWITCHING-MIB
- OID
.1.3.6.1.4.1.7244.2.1.2.15.9.1.19- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- agentStpCstPortEntry
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 'SWITCHING-MIB' -M '/opt/observium/mibs/quanta:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SWITCHING-MIB::agentStpCstPortLoopGuard'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'SWITCHING-MIB' -M '/opt/observium/mibs/quanta:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SWITCHING-MIB::agentStpCstPortLoopGuard.<ifIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'SWITCHING-MIB' -M '/opt/observium/mibs/quanta:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'SWITCHING-MIB::agentStpCstPortLoopGuard'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | enable |
2 | disable |