DES3225G-MIB :: swPortCtrlLockState

MIB Reference — IPNetwork Monitor · Updated September 14, 2026

All MIBsDES3225G-MIBswPortCtrlLockState

swPortCtrlLockState

Module: DES3225G-MIB

OID (symbolic): DES3225G-MIB::swPortCtrlLockState

OID (numeric): 1.3.6.1.4.1.171.11.24.3.2.1.8

Node type: OBJECT-TYPE

Type: INTEGER

Access: read-write

Description: The state of this entry. When the swDevCtrlTableLockState object is enabled, the state is not changed. When swVlanInfoStatus is in MAC-Base VLAN mode, this object is always disabled.The meanings of the values are:

other(1) - this entry is currently in use but the conditions under which it will remain so are different from each of the following values. disable(2) - Port lock funtion disable. enable(3) - Locking a port. Once the port is locked, it will not learn new SA addresses, and drop unknown/moved-SA packets forwarding to/from such ports. This is a way to prevent undesired traffic from being received or transmmited on the port. Note that locking a port doesn't lock the MAC address entries associated with the locked port, i.e. the existing address entries of the locked port will be age out even though it is locked.

What is swPortCtrlLockState?

Locks a port so it stops learning new source MAC addresses and drops traffic from/to unknown or moved addresses, which helps prevent unauthorized devices from being plugged into that port. It's forced to disabled whenever swDevCtrlTableLockState is unlocked or the device is in MAC-based VLAN mode.

Examples

Walk all instances (SNMPv2c):

snmpwalk -v2c -c public <target> 1.3.6.1.4.1.171.11.24.3.2.1.8
snmpwalk -v2c -c public <target> DES3225G-MIB::swPortCtrlLockState

Get a specific instance (index 1):

snmpget -v2c -c public <target> 1.3.6.1.4.1.171.11.24.3.2.1.8.1
snmpget -v2c -c public <target> DES3225G-MIB::swPortCtrlLockState.1

Set instance 1 (SNMPv2c):

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

Start monitoring D-Link DES-3225G switch with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the DES3225G-MIB::swPortCtrlLockState OID value, configure state conditions and alerts, and monitor any D-Link DES-3225G switch 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.171d_linkDE1500-MIB
1.3.6.1.4.1.171.11dlink_mgmtDES2218-MIB
Numeric OIDNameModule
1.3.6.1.4.1.171.11.24des3225gSeriesDES3225G-MIB
1.3.6.1.4.1.171.11.24.3swPortPackageDES3225G-MIB
1.3.6.1.4.1.171.11.24.3.2swPortCtrlTableDES3225G-MIB
1.3.6.1.4.1.171.11.24.3.2.1swPortCtrlEntryDES3225G-MIB
1.3.6.1.4.1.171.11.24.3.2.1.8swPortCtrlLockStateDES3225G-MIB