All MIBs › DGS-3420-28PC-L2MGMT-MIB › swL2PortSecurityViolationTrap
swL2PortSecurityViolationTrap
Module: DGS-3420-28PC-L2MGMT-MIB
OID (symbolic): DGS-3420-28PC-L2MGMT-MIB::swL2PortSecurityViolationTrap
OID (numeric): 1.3.6.1.4.1.171.11.119.3.2.100.1.2.0.2
Node type: NOTIFICATION-TYPE
Description: When the port_security trap is enabled, new MAC addresses that violate the pre-defined port security configuration will trigger trap messages to 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> '' DGS-3420-28PC-L2MGMT-MIB::swL2PortSecurityViolationTrap snmptrap -v2c -c public <manager> '' 1.3.6.1.4.1.171.11.119.3.2.100.1.2.0.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]:53037->[192.168.30.10]:162]: DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (436055853) 50 days, 11:15:58.53 SNMPv2-MIB::snmpTrapOID.0 = OID: DGS-3420-28PC-L2MGMT-MIB::swL2PortSecurityViolationTrap
Start monitoring D-Link DGS-3420-28PC PoE switch with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the DGS-3420-28PC-L2MGMT-MIB::swL2PortSecurityViolationTrap OID value, configure state conditions and alerts, and monitor any D-Link DGS-3420-28PC PoE 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.119 | dlink_Dgs3420Proj | SWDGS3420PRIMGMT-MIB |
| 1.3.6.1.4.1.171.11.119.3 | dlink_Dgs3420Proj_Dgs3420_28PC | SWDGS3420PRIMGMT-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.171.11.119.3.2 | swL2MgmtMIB | DGS-3420-28PC-L2MGMT-MIB |
| 1.3.6.1.4.1.171.11.119.3.2.100 | swL2MgmtMIBTraps | DGS-3420-28PC-L2MGMT-MIB |
| 1.3.6.1.4.1.171.11.119.3.2.100.1 | swL2Notify | DGS-3420-28PC-L2MGMT-MIB |
| 1.3.6.1.4.1.171.11.119.3.2.100.1.2 | swL2NotifyPrefix | DGS-3420-28PC-L2MGMT-MIB |
| 1.3.6.1.4.1.171.11.119.3.2.100.1.2.0 | swL2NotifFirmware | DGS-3420-28PC-L2MGMT-MIB |
| 1.3.6.1.4.1.171.11.119.3.2.100.1.2.0.2 | swL2PortSecurityViolationTrap | DGS-3420-28PC-L2MGMT-MIB |