cpqn52nnIfLearningStatus
CPQN5226A-MIB ·
.1.3.6.1.4.1.232.101.2.2.5.1.1.5
Object
column mandatory
r/w
Enumeration
When enabled(1), this interface can enter the learning state. When disabled(2), this interface is not allowed to enter the learning state. When disabled(2), Spanning Tree must be set to disabled. Default is enabled(1). DURABLE.
Context
- MIB
- CPQN5226A-MIB
- OID
.1.3.6.1.4.1.232.101.2.2.5.1.1.5- Type
- column
- Access
- readwrite
- Status
- mandatory
- Parent
- cpqn52nnIfStatusEntry
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 'CPQN5226A-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CPQN5226A-MIB::cpqn52nnIfLearningStatus'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'CPQN5226A-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CPQN5226A-MIB::cpqn52nnIfLearningStatus.<cpqn52nnIfStatusIfIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CPQN5226A-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CPQN5226A-MIB::cpqn52nnIfLearningStatus'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | enabled |
2 | disabled |