cie1000MacConfigPortLearnLearnMode
CIE1000-MAC-MIB ·
.1.3.6.1.4.1.9.9.832.1.12.1.2.4.1.2
Object
The learn mode of the port. Auto(0) means auto learning. Disable(1) means that learning is disabled. Secure(2) means that learning frames are discarded.
Context
- MIB
- CIE1000-MAC-MIB
- OID
.1.3.6.1.4.1.9.9.832.1.12.1.2.4.1.2- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- cie1000MacConfigPortLearnEntry
- Groups
- 1
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 'CIE1000-MAC-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CIE1000-MAC-MIB::cie1000MacConfigPortLearnLearnMode'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'CIE1000-MAC-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CIE1000-MAC-MIB::cie1000MacConfigPortLearnLearnMode.<cie1000MacConfigPortLearnIfIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CIE1000-MAC-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CIE1000-MAC-MIB::cie1000MacConfigPortLearnLearnMode'
Syntax
- Source
- CIE1000MACPortLearnMode
- Base type
Enumeration
Values & Constraints
Type Values
0 | auto |
1 | disable |
2 | secure |
Conformance
Member of