SYSTEM-MIB :: swStateChangeTrap

MIB Reference — IPNetwork Monitor

All MIBsSYSTEM-MIBswStateChangeTrap

swStateChangeTrap

Module: SYSTEM-MIB

OID (symbolic): SYSTEM-MIB::swStateChangeTrap

OID (numeric): 1.3.6.1.4.1.1588.2.1.1.1.0.12

Node type: NOTIFICATION-TYPE

Description:

This trap is sent whenever switch state changes to online/offline

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> '' SYSTEM-MIB::swStateChangeTrap
snmptrap -v2c -c public <manager> '' 1.3.6.1.4.1.1588.2.1.1.1.0.12

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]:59902->[192.168.30.10]:162]:
  DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (416409086) 48 days, 4:41:30.86
  SNMPv2-MIB::snmpTrapOID.0 = OID: SYSTEM-MIB::swStateChangeTrap

OID Breakdown

Numeric OIDNameModule
1isoLANART-AGENT
1.3orgBIANCA-BRICK-PPP-MIB
1.3.6dodBIANCA-BRICK-PPP-MIB
1.3.6.1internetBIANCA-BRICK-PPP-MIB
1.3.6.1.4privateBIANCA-BRICK-PPP-MIB
1.3.6.1.4.1enterprisesANIROOT-MIB
1.3.6.1.4.1.1588bcsiBrocade-REG-MIB
1.3.6.1.4.1.1588.2commDevBrocade-REG-MIB
1.3.6.1.4.1.1588.2.1fibrechannelBrocade-REG-MIB
1.3.6.1.4.1.1588.2.1.1fcSwitchBrocade-REG-MIB
1.3.6.1.4.1.1588.2.1.1.1swSW-MIB
1.3.6.1.4.1.1588.2.1.1.1.0swTrapsV2BROCADE-SYSTEM-MIB
1.3.6.1.4.1.1588.2.1.1.1.0.12swStateChangeTrapSYSTEM-MIB