me1200MacConfigPortLearnLearnMode
ME1200-MAC-MIB ·
.1.3.6.1.4.1.9.9.815.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
- ME1200-MAC-MIB
- OID
.1.3.6.1.4.1.9.9.815.1.12.1.2.4.1.2- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- me1200MacConfigPortLearnEntry
- 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 'ME1200-MAC-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ME1200-MAC-MIB::me1200MacConfigPortLearnLearnMode'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'ME1200-MAC-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ME1200-MAC-MIB::me1200MacConfigPortLearnLearnMode.<me1200MacConfigPortLearnIfIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'ME1200-MAC-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ME1200-MAC-MIB::me1200MacConfigPortLearnLearnMode'
Syntax
- Source
- ME1200MACPortLearnMode
- Base type
Enumeration
Values & Constraints
Type Values
0 | auto |
1 | disable |
2 | secure |
Conformance
Member of