DLINK-PORT-SECURITY-MIB :: swPortSecPortViolationAction

MIB Reference — IPNetwork Monitor · Updated September 14, 2026

All MIBsDLINK-PORT-SECURITY-MIBswPortSecPortViolationAction

swPortSecPortViolationAction

Module: DLINK-PORT-SECURITY-MIB

OID (symbolic): DLINK-PORT-SECURITY-MIB::swPortSecPortViolationAction

OID (numeric): 1.3.6.1.4.1.171.12.63.3.1.1.1.6

Node type: OBJECT-TYPE

Type: INTEGER

Access: read-write

Description: Used to indicates the action when violation occurs. When the number of secure MAC address reaches the maximum learning number on the port, for drop action, new entry will be dropped and for shutdown action, the port will be shut down and enter error-disabled state immediately.

What is swPortSecPortViolationAction?

This read-write enumeration determines what the switch does when a port's learned-address limit is reached and an unrecognized source MAC appears: drop(1) the frame or shutdown(2) the port. Choosing shutdown puts the port into an error-disabled state immediately, halting all traffic on it until manually re-enabled, while drop only discards the offending frames and keeps the port up. An admin who wants a compromised or misused port forcibly taken offline rather than just filtered would set swPortSecPortViolationAction to shutdown(2).

Examples

Walk all instances (SNMPv2c):

snmpwalk -v2c -c public <target> 1.3.6.1.4.1.171.12.63.3.1.1.1.6
snmpwalk -v2c -c public <target> DLINK-PORT-SECURITY-MIB::swPortSecPortViolationAction

Get a specific instance (index 1):

snmpget -v2c -c public <target> 1.3.6.1.4.1.171.12.63.3.1.1.1.6.1
snmpget -v2c -c public <target> DLINK-PORT-SECURITY-MIB::swPortSecPortViolationAction.1

Set instance 1 (SNMPv2c):

snmpset -v2c -c private <target> 1.3.6.1.4.1.171.12.63.3.1.1.1.6.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::swPortSecPortViolationAction 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 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.12dlink_common_mgmtDLINK-ID-REC-MIB
Numeric OIDNameModule
1.3.6.1.4.1.171.12.63swPortSecMIBDLINK-PORT-SECURITY-MIB
1.3.6.1.4.1.171.12.63.3swPortSecMgmtDLINK-PORT-SECURITY-MIB
1.3.6.1.4.1.171.12.63.3.1swPortSecMgmtByPortDLINK-PORT-SECURITY-MIB
1.3.6.1.4.1.171.12.63.3.1.1swPortSecPortTableDLINK-PORT-SECURITY-MIB
1.3.6.1.4.1.171.12.63.3.1.1.1swPortSecPortEntryDLINK-PORT-SECURITY-MIB
1.3.6.1.4.1.171.12.63.3.1.1.1.6swPortSecPortViolationActionDLINK-PORT-SECURITY-MIB