All MIBs › DES2218-MIB › swDevCtrlDisableLearningState
swDevCtrlDisableLearningState
Module: DES2218-MIB
OID (symbolic): DES2218-MIB::swDevCtrlDisableLearningState
OID (numeric): 1.3.6.1.4.1.171.11.7.1.1.2.1
Node type: OBJECT-TYPE
Type: INTEGER
Access: read-write
Description: This Object indicate the switch hub wether or not learn any new addresses from the Ethernet ports.
What is swDevCtrlDisableLearningState?
This read-write INTEGER controls whether the switch learns new source MAC addresses from its Ethernet ports: disabled(2) freezes the address table, enabled(3) allows normal learning. An admin sets this to disabled(2) to lock down the switch's known-MAC set in a security-sensitive deployment, preventing new unrecognized devices from being silently learned.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.171.11.7.1.1.2.1 snmpwalk -v2c -c public <target> DES2218-MIB::swDevCtrlDisableLearningState
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.171.11.7.1.1.2.1.1 snmpget -v2c -c public <target> DES2218-MIB::swDevCtrlDisableLearningState.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.171.11.7.1.1.2.1.1 i <value>
Start monitoring D-Link DES-2218 smart switch with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the DES2218-MIB::swDevCtrlDisableLearningState OID value, configure state conditions and alerts, and monitor any D-Link DES-2218 smart switch from a single console.
OID Breakdown
Upper-level ancestors (7 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 |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.171.11 | dlink_mgmt | DES2218-MIB |
| 1.3.6.1.4.1.171.11.7 | des2218series | DES2218-MIB |
| 1.3.6.1.4.1.171.11.7.1 | des2218MIB | DES2218-MIB |
| 1.3.6.1.4.1.171.11.7.1.1 | swDevicePackage | DES2218-MIB |
| 1.3.6.1.4.1.171.11.7.1.1.2 | swDeviceCtl | DES2218-MIB |
| 1.3.6.1.4.1.171.11.7.1.1.2.1 | swDevCtrlDisableLearningState | DES2218-MIB |