h3cMACLearntEnable
H3C-MAC-INFORMATION-MIB ·
.1.3.6.1.4.1.2011.10.2.87.1.2.1.1.1
Object
column r/w
Enumeration
If the object is set to enabled(1) on interface, the device will cache the MAC address information that learnt on the interface.
Context
- MIB
- H3C-MAC-INFORMATION-MIB
- OID
.1.3.6.1.4.1.2011.10.2.87.1.2.1.1.1- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- h3cMACInfomationIfEntry
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 'H3C-MAC-INFORMATION-MIB' -M '/opt/observium/mibs/h3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'H3C-MAC-INFORMATION-MIB::h3cMACLearntEnable'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'H3C-MAC-INFORMATION-MIB' -M '/opt/observium/mibs/h3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'H3C-MAC-INFORMATION-MIB::h3cMACLearntEnable.<ifIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'H3C-MAC-INFORMATION-MIB' -M '/opt/observium/mibs/h3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'H3C-MAC-INFORMATION-MIB::h3cMACLearntEnable'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | enabled |
2 | disabled |