DGS-1248T-BX-MIB :: staticAutoLearning

MIB Reference — IPNetwork Monitor · Updated October 05, 2026

All MIBs › DGS-1248T-BX-MIB › staticAutoLearning

staticAutoLearning

Module: DGS-1248T-BX-MIB

OID (symbolic): DGS-1248T-BX-MIB::staticAutoLearning

OID (numeric): 1.3.6.1.4.1.171.10.76.6.21.2

Node type: OBJECT-TYPE

Type: PortList

Access: read-write

Description: The set of the device's member ports that belong to the Static MAC auto learning enable/disable. Each octet within the value of this object specifies a set of eight ports, with the first octet specifying ports 1 through 8, the second octet specifying ports 9 through 16, etc. Within each octet, the most significant bit represents the lowest numbered port, and the least significant bit represents the highest numbered port. Thus, each port is represented by a single bit within the value of this object. If that bit has a value of '1' then that port is in auto learning enable state; the port is not in auto learning state if its bit has a value of '0'.

What is staticAutoLearning?

Bitmap selecting which ports have static-MAC auto-learning enabled, one bit per port (1 = auto-learning on for that port). When enabled on a port, MAC addresses seen there are automatically added as static entries instead of aging out normally.

Examples

Walk all instances (SNMPv2c):

snmpwalk -v2c -c public <target> 1.3.6.1.4.1.171.10.76.6.21.2
snmpwalk -v2c -c public <target> DGS-1248T-BX-MIB::staticAutoLearning

Get a specific instance (index 1):

snmpget -v2c -c public <target> 1.3.6.1.4.1.171.10.76.6.21.2.1
snmpget -v2c -c public <target> DGS-1248T-BX-MIB::staticAutoLearning.1

Set instance 1 (SNMPv2c):

snmpset -v2c -c private <target> 1.3.6.1.4.1.171.10.76.6.21.2.1 s <value>

SNMPv3 example:

snmpget -v3 -l authPriv -u snmpv3-user -a SHA -A "AuthPassword1" -x AES -X "PrivPassword1" <target> staticAutoLearning.1

Start monitoring D-Link DGS-1248T switch (BX hardware revision) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the DGS-1248T-BX-MIB::staticAutoLearning OID value, configure state conditions and alerts, and monitor any D-Link DGS-1248T switch (BX hardware revision) from a single console.

OID Breakdown

Upper-level ancestors (11 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.171d_linkDE1500-MIB
1.3.6.1.4.1.171.10dlink_productsDES-1226G-MIB
1.3.6.1.4.1.171.10.76dlink_DGS12XXTSeriesProdDGS-1216T-DX-MIB
1.3.6.1.4.1.171.10.76.6dgs_1248tb1DGS-1248T-B1-MIB
1.3.6.1.4.1.171.10.76.6.21companyStaticGroupDGS-1248T-B1-MIB
Numeric OIDNameModule
1.3.6.1.4.1.171.10.76.6.21.2staticAutoLearningDGS-1248T-BX-MIB