All MIBs › DLINK-PORT-SECURITY-MIB › swPortSecMgmtByVLANOnPortClearAction
swPortSecMgmtByVLANOnPortClearAction
Module: DLINK-PORT-SECURITY-MIB
OID (symbolic): DLINK-PORT-SECURITY-MIB::swPortSecMgmtByVLANOnPortClearAction
OID (numeric): 1.3.6.1.4.1.171.12.63.3.3.2.3
Node type: OBJECT-TYPE
Type: INTEGER
Access: read-write
Description: other(1): When user gets this object, it always returns other(1). start(2): Used to clear port security entries by VLAN on the special port.
What is swPortSecMgmtByVLANOnPortClearAction?
This read-write enumeration triggers the actual clear operation for the VLAN-and-port combination identified by the two preceding objects, sitting at other(1) at rest and executing when set to start(2). It's the final step of a three-object sequence, so the port and VID values must be set first for the clear to target the intended entries. After setting the clear port to 5 and clear VID to 30, an admin would write start(2) to swPortSecMgmtByVLANOnPortClearAction to actually flush those locked MACs.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.171.12.63.3.3.2.3 snmpwalk -v2c -c public <target> DLINK-PORT-SECURITY-MIB::swPortSecMgmtByVLANOnPortClearAction
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.171.12.63.3.3.2.3.1 snmpget -v2c -c public <target> DLINK-PORT-SECURITY-MIB::swPortSecMgmtByVLANOnPortClearAction.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.171.12.63.3.3.2.3.1 i <value>
Start monitoring D-Link managed switch (MAC-based port security) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the DLINK-PORT-SECURITY-MIB::swPortSecMgmtByVLANOnPortClearAction OID value, configure state conditions and alerts, and monitor any D-Link managed switch (MAC-based port security) 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.12 | dlink_common_mgmt | DLINK-ID-REC-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.171.12.63 | swPortSecMIB | DLINK-PORT-SECURITY-MIB |
| 1.3.6.1.4.1.171.12.63.3 | swPortSecMgmt | DLINK-PORT-SECURITY-MIB |
| 1.3.6.1.4.1.171.12.63.3.3 | swPortSecMgmtByVLANOnPort | DLINK-PORT-SECURITY-MIB |
| 1.3.6.1.4.1.171.12.63.3.3.2 | swPortSecMgmtByVLANOnPortClearCtrl | DLINK-PORT-SECURITY-MIB |
| 1.3.6.1.4.1.171.12.63.3.3.2.3 | swPortSecMgmtByVLANOnPortClearAction | DLINK-PORT-SECURITY-MIB |