All MIBs › MAC-NOTIFICATION-MIB › mnMacAddrLearntEnable
mnMacAddrLearntEnable
Module: MAC-NOTIFICATION-MIB
OID (symbolic): MAC-NOTIFICATION-MIB::mnMacAddrLearntEnable
OID (numeric): 1.3.6.1.4.1.13464.1.2.3.3.1.1.2.1.1.1
Node type: OBJECT-TYPE
Type: TruthValue
Access: read-write
Description: Indicates whether this interface is enabled to send mnMacChangedNotification when it learns a new MAC address. This variable has no effect when the value of mnGlobalFeatureEnabled object is false(2).
Setting this object to true(1) enables the sending of mnMacChangedNotification when this interface learns a new MAC address.
Setting this object to false(2) disables the sending of mnMacChangedNotification when this interface learns a new MAC address.
What is mnMacAddrLearntEnable?
This read-write, per-interface flag controls whether mnMacChangedNotification is sent when that specific interface learns a new MAC address, and has no effect if mnGlobalFeatureEnabled is false. An admin enables this selectively on interfaces of interest, such as access ports facing untrusted devices, rather than generating notifications from every port on the switch. For example, setting mnMacAddrLearntEnable to true(1) on a guest-network access port lets the admin get alerted whenever a new device connects there, while leaving trunk ports silent.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.13464.1.2.3.3.1.1.2.1.1.1 snmpwalk -v2c -c public <target> MAC-NOTIFICATION-MIB::mnMacAddrLearntEnable
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.13464.1.2.3.3.1.1.2.1.1.1.1 snmpget -v2c -c public <target> MAC-NOTIFICATION-MIB::mnMacAddrLearntEnable.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.13464.1.2.3.3.1.1.2.1.1.1.1 s <value>
Start monitoring Managed Ethernet switch, Layer 2 access switch (MAC address notification) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the MAC-NOTIFICATION-MIB::mnMacAddrLearntEnable OID value, configure state conditions and alerts, and monitor any Managed Ethernet switch, Layer 2 access switch (MAC address notification) from a single console.
OID Breakdown
Upper-level ancestors (11 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.13464 | admin | ADMIN-MASTER-MIB |
| 1.3.6.1.4.1.13464.1 | dataCom | ADMIN-MASTER-MIB |
| 1.3.6.1.4.1.13464.1.2 | gbn | ADMIN-MASTER-MIB |
| 1.3.6.1.4.1.13464.1.2.3 | gbnService | ADMIN-MASTER-MIB |
| 1.3.6.1.4.1.13464.1.2.3.3 | gbnServiceMACNotification | ADMIN-MASTER-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.13464.1.2.3.3.1 | macNotificationMIB | MAC-NOTIFICATION-MIB |
| 1.3.6.1.4.1.13464.1.2.3.3.1.1 | macNotificationMIBObjects | MAC-NOTIFICATION-MIB |
| 1.3.6.1.4.1.13464.1.2.3.3.1.1.2 | mnInterfaceObjects | MAC-NOTIFICATION-MIB |
| 1.3.6.1.4.1.13464.1.2.3.3.1.1.2.1 | mnIfConfigTable | MAC-NOTIFICATION-MIB |
| 1.3.6.1.4.1.13464.1.2.3.3.1.1.2.1.1 | mnIfConfigEntry | MAC-NOTIFICATION-MIB |
| 1.3.6.1.4.1.13464.1.2.3.3.1.1.2.1.1.1 | mnMacAddrLearntEnable | MAC-NOTIFICATION-MIB |