All MIBs › DES3852-L2MGMT-MIB › swL2PortSecurityViolationTrap
swL2PortSecurityViolationTrap
Module: DES3852-L2MGMT-MIB
OID (symbolic): DES3852-L2MGMT-MIB::swL2PortSecurityViolationTrap
OID (numeric): 1.3.6.1.4.1.171.11.69.4.2.15.2.2
Node type: NOTIFICATION-TYPE
Description: When the port_security trap is enabled, if there's a new MAC that violates the pre-defined port security configuration, a trap will be sent out
Examples
Send this trap to an SNMP manager — replace <manager> with the IP or hostname of your monitoring server (SNMPv2c):
snmptrap -v2c -c public <manager> '' DES3852-L2MGMT-MIB::swL2PortSecurityViolationTrap snmptrap -v2c -c public <manager> '' 1.3.6.1.4.1.171.11.69.4.2.15.2.2
Listen for incoming traps on the manager host (-f keeps it in the foreground, -Lo prints to stdout — useful for testing):
snmptrapd -f -Lo -c /dev/null authCommunity log public
Example snmptrapd log entry:
zoo11-linux.zoo [UDP: [192.168.30.111]:61903->[192.168.30.10]:162]: DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (99277775) 11 days, 11:46:17.75 SNMPv2-MIB::snmpTrapOID.0 = OID: DES3852-L2MGMT-MIB::swL2PortSecurityViolationTrap
Start monitoring D-Link DES-3852 Layer 2 managed switch with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the DES3852-L2MGMT-MIB::swL2PortSecurityViolationTrap OID value, configure state conditions and alerts, and monitor any D-Link DES-3852 Layer 2 managed switch from a single console.
OID Breakdown
Upper-level ancestors (10 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 |
| 1.3.6.1.4.1.171.11.69 | des3800SeriesProd | SW3800PRIMGMT-MIB |
| 1.3.6.1.4.1.171.11.69.4 | des3852 | SW3800PRIMGMT-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.171.11.69.4.2 | swL2MgmtMIB | DES3852-L2MGMT-MIB |
| 1.3.6.1.4.1.171.11.69.4.2.15 | swL2MgmtMIBTraps | DES3852-L2MGMT-MIB |
| 1.3.6.1.4.1.171.11.69.4.2.15.2 | swl2NotifyPortSecurity | DES3852-L2MGMT-MIB |
| 1.3.6.1.4.1.171.11.69.4.2.15.2.2 | swL2PortSecurityViolationTrap | DES3852-L2MGMT-MIB |