All MIBs › HH3C-MAC-INFORMATION-MIB › hh3cMACLearntEnable
hh3cMACLearntEnable
Module: HH3C-MAC-INFORMATION-MIB
OID (symbolic): HH3C-MAC-INFORMATION-MIB::hh3cMACLearntEnable
OID (numeric): 1.3.6.1.4.1.25506.2.87.1.2.1.1.1
Node type: OBJECT-TYPE
Type: INTEGER
Access: read-write
Description: If the object is set to enabled(1) on interface, the device will cache the MAC address information that learnt on the interface.
What is hh3cMACLearntEnable?
This per-interface setting, indexed by ifIndex, enables or disables caching of MAC-learned events specifically on that interface. It must be turned on for each interface where an admin wants learned-MAC notifications, on top of the global hh3cMACInformationEnabled switch, giving fine-grained control over which ports are monitored. For example, an admin could enable hh3cMACLearntEnable only on uplink ports to track new devices entering the network while leaving noisy access ports unmonitored.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.25506.2.87.1.2.1.1.1 snmpwalk -v2c -c public <target> HH3C-MAC-INFORMATION-MIB::hh3cMACLearntEnable
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.25506.2.87.1.2.1.1.1.1 snmpget -v2c -c public <target> HH3C-MAC-INFORMATION-MIB::hh3cMACLearntEnable.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.25506.2.87.1.2.1.1.1.1 i <value>
Start monitoring H3C access-layer switch (MAC learn/remove notifications) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the HH3C-MAC-INFORMATION-MIB::hh3cMACLearntEnable OID value, configure state conditions and alerts, and monitor any H3C access-layer switch (MAC learn/remove notifications) from a single console.
OID Breakdown
Upper-level ancestors (8 from the standard OID tree / other modules)
| Numeric OID | Name | Module |
|---|---|---|
| 1 | iso | LANART-AGENT |
| 1.3 | org | AirPair-MIB |
| 1.3.6 | dod | AirPair-MIB |
| 1.3.6.1 | internet | AirPair-MIB |
| 1.3.6.1.4 | private | AirPair-MIB |
| 1.3.6.1.4.1 | enterprises | AirPair-MIB |
| 1.3.6.1.4.1.25506 | hh3c | HH3C-OID-MIB |
| 1.3.6.1.4.1.25506.2 | hh3cCommon | HH3C-OID-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.25506.2.87 | hh3cMACInformation | HH3C-MAC-INFORMATION-MIB |
| 1.3.6.1.4.1.25506.2.87.1 | hh3cMACInformationObjects | HH3C-MAC-INFORMATION-MIB |
| 1.3.6.1.4.1.25506.2.87.1.2 | hh3cMACInformationMIBTableTroop | HH3C-MAC-INFORMATION-MIB |
| 1.3.6.1.4.1.25506.2.87.1.2.1 | hh3cMACInfomationIfTable | HH3C-MAC-INFORMATION-MIB |
| 1.3.6.1.4.1.25506.2.87.1.2.1.1 | hh3cMACInfomationIfEntry | HH3C-MAC-INFORMATION-MIB |
| 1.3.6.1.4.1.25506.2.87.1.2.1.1.1 | hh3cMACLearntEnable | HH3C-MAC-INFORMATION-MIB |