All MIBs › HH3C-PORT-SECURITY-MIB › hh3cSecureLogoff
hh3cSecureLogoff
Module: HH3C-PORT-SECURITY-MIB
OID (symbolic): HH3C-PORT-SECURITY-MIB::hh3cSecureLogoff
OID (numeric): 1.3.6.1.4.1.25506.2.26.1.3.5
Node type: NOTIFICATION-TYPE
Description: This trap is sent when a user session is terminated. The port on which the violation occured is the first object, and the MAC address of the offending station is in the second object. The dot1xAuthSessionUserName is the identity supplied during the user authentication. The dot1xAuthSessionTerminateCause indicates the reason why the session was terminated. The hh3cSecurePortVlanMembershipList object identifies the VLAN membership assigned to the port on session termination.
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::hh3cSecureLogoff snmptrap -v2c -c public <manager> '' 1.3.6.1.4.1.25506.2.26.1.3.5
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]:64200->[192.168.30.10]:162]: DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (201555656) 23 days, 7:52:36.56 SNMPv2-MIB::snmpTrapOID.0 = OID: HH3C-PORT-SECURITY-MIB::hh3cSecureLogoff
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::hh3cSecureLogoff 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.5 | hh3cSecureLogoff | HH3C-PORT-SECURITY-MIB |