All MIBs › HH3C-PORT-SECURITY-MIB › hh3cSecureViolation
hh3cSecureViolation
Module: HH3C-PORT-SECURITY-MIB
OID (symbolic): HH3C-PORT-SECURITY-MIB::hh3cSecureViolation
OID (numeric): 1.3.6.1.4.1.25506.2.26.1.3.2
Node type: NOTIFICATION-TYPE
Description: This trap is sent whenever a security violation has occurred. The port on which the violation occured is the first object, and the MAC address of the offending station is in the second object. ifAdminStatus indicates if the port has been disabled because of the violation. The implementation may not send violation traps from the same port at intervals of less than 5 seconds.
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> '' HH3C-PORT-SECURITY-MIB::hh3cSecureViolation snmptrap -v2c -c public <manager> '' 1.3.6.1.4.1.25506.2.26.1.3.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]:61291->[192.168.30.10]:162]: DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (29055339) 3 days, 8:42:33.39 SNMPv2-MIB::snmpTrapOID.0 = OID: HH3C-PORT-SECURITY-MIB::hh3cSecureViolation
Start monitoring H3C access-layer switch (port security/RALM authentication) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the HH3C-PORT-SECURITY-MIB::hh3cSecureViolation OID value, configure state conditions and alerts, and monitor any H3C access-layer switch (port security/RALM authentication) from a single console.
OID Breakdown
Upper-level ancestors (9 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.25506 | hh3c | HH3C-OID-MIB |
| 1.3.6.1.4.1.25506.2 | hh3cCommon | HH3C-OID-MIB |
| 1.3.6.1.4.1.25506.2.26 | hh3cPortSecurity | HH3C-OID-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.25506.2.26.1 | hh3cPortSecurityMIB | HH3C-PORT-SECURITY-MIB |
| 1.3.6.1.4.1.25506.2.26.1.3 | hh3cPortSecurityNotifications | HH3C-PORT-SECURITY-MIB |
| 1.3.6.1.4.1.25506.2.26.1.3.2 | hh3cSecureViolation | HH3C-PORT-SECURITY-MIB |