All MIBs › DGS-1224T-DX-MIB › staticAutoLearning
staticAutoLearning
Module: DGS-1224T-DX-MIB
OID (symbolic): DGS-1224T-DX-MIB::staticAutoLearning
OID (numeric): 1.3.6.1.4.1.171.10.76.5.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?
A bitmap of which ports have MAC-address auto-learning enabled versus disabled, packed 8 ports per octet with the lowest-numbered port as the high bit. Disabling learning on a port (bit=0) is used alongside static MAC entries to lock down which devices may talk on that port.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.171.10.76.5.21.2 snmpwalk -v2c -c public <target> DGS-1224T-DX-MIB::staticAutoLearning
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.171.10.76.5.21.2.1 snmpget -v2c -c public <target> DGS-1224T-DX-MIB::staticAutoLearning.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.171.10.76.5.21.2.1 s <value>
Start monitoring D-Link DGS-1224T managed switch with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the DGS-1224T-DX-MIB::staticAutoLearning OID value, configure state conditions and alerts, and monitor any D-Link DGS-1224T managed switch from a single console.
OID Breakdown
Upper-level ancestors (9 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.171 | d_link | DE1500-MIB |
| 1.3.6.1.4.1.171.10 | dlink_products | DES-1226G-MIB |
| 1.3.6.1.4.1.171.10.76 | dlink_DGS12XXTSeriesProd | DGS-1216T-DX-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.171.10.76.5 | dgs_1224tdx | DGS-1224T-DX-MIB |
| 1.3.6.1.4.1.171.10.76.5.21 | companyStaticGroup | DGS-1224T-DX-MIB |
| 1.3.6.1.4.1.171.10.76.5.21.2 | staticAutoLearning | DGS-1224T-DX-MIB |