All MIBs › ETH-SWITCH-MIB › ethSwitchMACVioEvent
ethSwitchMACVioEvent
Module: ETH-SWITCH-MIB
OID (symbolic): ETH-SWITCH-MIB::ethSwitchMACVioEvent
OID (numeric): 1.3.6.1.4.1.208.39.0.3
Node type: NOTIFICATION-TYPE
Description: This trap is sent when there has been detected a MAC access control violation. A MAC address has been detected at a port with MAC access restriction, and the MAC was not allowed. The variable portIfIndex indicates the port with the MAC access violation.
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> '' ETH-SWITCH-MIB::ethSwitchMACVioEvent snmptrap -v2c -c public <manager> '' 1.3.6.1.4.1.208.39.0.3
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]:57897->[192.168.30.10]:162]: DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (176262185) 20 days, 9:37:01.85 SNMPv2-MIB::snmpTrapOID.0 = OID: ETH-SWITCH-MIB::ethSwitchMACVioEvent
Start monitoring Ethernet switch with port/VLAN management (vendor not confirmed) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the ETH-SWITCH-MIB::ethSwitchMACVioEvent OID value, configure state conditions and alerts, and monitor any Ethernet switch with port/VLAN management (vendor not confirmed) from a single console.
OID Breakdown
Upper-level ancestors (7 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.208 | scanet | SCANET-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.208.39 | ethSwitch | ETH-SWITCH-MIB |
| 1.3.6.1.4.1.208.39.0.3 | ethSwitchMACVioEvent | ETH-SWITCH-MIB |