All MIBs › DES3225G-MIB › swPortCtrlLockState
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 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.11 | dlink_mgmt | DES2218-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.171.11.24 | des3225gSeries | DES3225G-MIB |
| 1.3.6.1.4.1.171.11.24.3 | swPortPackage | DES3225G-MIB |
| 1.3.6.1.4.1.171.11.24.3.2 | swPortCtrlTable | DES3225G-MIB |
| 1.3.6.1.4.1.171.11.24.3.2.1 | swPortCtrlEntry | DES3225G-MIB |
| 1.3.6.1.4.1.171.11.24.3.2.1.8 | swPortCtrlLockState | DES3225G-MIB |