NMS-MAC-MIB :: disableLearning

MIB Reference — IPNetwork Monitor · Updated October 06, 2026

All MIBs › NMS-MAC-MIB › disableLearning

disableLearning

Module: NMS-MAC-MIB

OID (symbolic): NMS-MAC-MIB::disableLearning

OID (numeric): 1.3.6.1.4.1.11606.10.152.3.1.2

Node type: OBJECT-TYPE

Type: INTEGER

Access: read-write

Description: Interface mac address learning config. 1-enable, 2-disable. Default is enable.

What is disableLearning?

disableLearning is a read-write INTEGER with values enable(1) or disable(2), defaulting to enable, that controls whether a specific interface performs dynamic MAC address learning. Admins set it to disable(2) on ports where they want to prevent the switch from automatically learning new source MAC addresses, a common step in port-security hardening. An admin locking down an untrusted access port would set disableLearning to disable(2) so only manually configured static MAC entries are forwarded on that interface.

Examples

Walk all instances (SNMPv2c):

snmpwalk -v2c -c public <target> 1.3.6.1.4.1.11606.10.152.3.1.2
snmpwalk -v2c -c public <target> NMS-MAC-MIB::disableLearning

Get a specific instance (index 1):

snmpget -v2c -c public <target> 1.3.6.1.4.1.11606.10.152.3.1.2.1
snmpget -v2c -c public <target> NMS-MAC-MIB::disableLearning.1

Set instance 1 (SNMPv2c):

snmpset -v2c -c private <target> 1.3.6.1.4.1.11606.10.152.3.1.2.1 i <value>

Start monitoring nms Co., Ltd. switch (MAC address table/FDB, vendor unidentified) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the NMS-MAC-MIB::disableLearning OID value, configure state conditions and alerts, and monitor any nms Co., Ltd. switch (MAC address table/FDB, vendor unidentified) from a single console.

OID Breakdown

Upper-level ancestors (8 from the standard OID tree / other modules)
Numeric OIDNameModule
1isoLANART-AGENT
1.3orgAirPair-MIB
1.3.6dodAirPair-MIB
1.3.6.1internetAirPair-MIB
1.3.6.1.4privateAirPair-MIB
1.3.6.1.4.1enterprisesAirPair-MIB
1.3.6.1.4.1.11606pbnPBN-ROOT
1.3.6.1.4.1.11606.10nmsNMS-SMI
Numeric OIDNameModule
1.3.6.1.4.1.11606.10.152macNMS-MAC-MIB
1.3.6.1.4.1.11606.10.152.3portDisableLearningTableNMS-MAC-MIB
1.3.6.1.4.1.11606.10.152.3.1portDisableLearningEntryNMS-MAC-MIB
1.3.6.1.4.1.11606.10.152.3.1.2disableLearningNMS-MAC-MIB