MY-SECURITY-MIB :: myPortSecurViolationType

MIB Reference — IPNetwork Monitor · Updated October 06, 2026

All MIBs › MY-SECURITY-MIB › myPortSecurViolationType

myPortSecurViolationType

Module: MY-SECURITY-MIB

OID (symbolic): MY-SECURITY-MIB::myPortSecurViolationType

OID (numeric): 1.3.6.1.4.1.171.10.97.2.6.1.3.1.1.3

Node type: OBJECT-TYPE

Type: INTEGER

Access: read-write

Description: this object define 3 grades of port security: violation-protect(1): normal security grade, indicate that when the a datagram received on a port with illegal MAC address will be discarded but not send trap, legal and illegal MAC to a port security is defined by per port's security below. violation-restrict(2): normal security grade, indicate that when the a datagram received on a port with illegal MAC address will be discarded and send trap, legal and illegal MAC to a port security is defined by per port's security below. violation-shutdown(3): strict security grade, indicate that when the a datagram received on a port with illegal MAC address, the port will be disabled for the violation of the port's security and send trap.

What is myPortSecurViolationType?

This read-write value (default violation-protect) chooses how the port reacts when an unauthorized MAC address sends traffic on a secured port: silently discard (violation-protect), discard and send a trap (violation-restrict), or shut the port down and send a trap (violation-shutdown). An admin would pick violation-shutdown on a sensitive port to automatically disable it on a security violation rather than just logging it.

Examples

Walk all instances (SNMPv2c):

snmpwalk -v2c -c public <target> 1.3.6.1.4.1.171.10.97.2.6.1.3.1.1.3
snmpwalk -v2c -c public <target> MY-SECURITY-MIB::myPortSecurViolationType

Get a specific instance (index 1):

snmpget -v2c -c public <target> 1.3.6.1.4.1.171.10.97.2.6.1.3.1.1.3.1
snmpget -v2c -c public <target> MY-SECURITY-MIB::myPortSecurViolationType.1

Set instance 1 (SNMPv2c):

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

Start monitoring D-Link managed switch (management-plane security posture) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the MY-SECURITY-MIB::myPortSecurViolationType OID value, configure state conditions and alerts, and monitor any D-Link managed switch (management-plane security posture) from a single console.

OID Breakdown

Upper-level ancestors (10 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.10dlink_productsDES-1226G-MIB
1.3.6.1.4.1.171.10.97switchMibMY-SMI
1.3.6.1.4.1.171.10.97.2myMgmtMY-SMI
Numeric OIDNameModule
1.3.6.1.4.1.171.10.97.2.6mySecurityMIBMY-SECURITY-MIB
1.3.6.1.4.1.171.10.97.2.6.1mySecurityMIBObjectsMY-SECURITY-MIB
1.3.6.1.4.1.171.10.97.2.6.1.3myPortSecrrityObjectsMY-SECURITY-MIB
1.3.6.1.4.1.171.10.97.2.6.1.3.1myPortSecurityTableMY-SECURITY-MIB
1.3.6.1.4.1.171.10.97.2.6.1.3.1.1myPortSecurityEntryMY-SECURITY-MIB
1.3.6.1.4.1.171.10.97.2.6.1.3.1.1.3myPortSecurViolationTypeMY-SECURITY-MIB