All MIBs › SYS-MIB › ifStateChange
ifStateChange
Module: SYS-MIB
OID (symbolic): SYS-MIB::ifStateChange
OID (numeric): 1.3.6.1.4.1.1978.2.18.8.0.1
Node type: NOTIFICATION-TYPE
Description:
A linkStateChange trap signifies that the sending protocol entity recognizes a change in one of the communication links represented in the agent's configuration. Currently this trap is only applicable to: lapb frame_relay sdlc token ring u100 ethernet alc ppp Other interfaces that may be supported in the future are: apath pad x2x cap mux frip autif
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> '' SYS-MIB::ifStateChange snmptrap -v2c -c public <manager> '' 1.3.6.1.4.1.1978.2.18.8.0.1
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]:56129->[192.168.30.10]:162]: DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (169327425) 19 days, 14:21:14.25 SNMPv2-MIB::snmpTrapOID.0 = OID: SYS-MIB::ifStateChange
OID Breakdown
| Numeric OID | Name | Module |
|---|---|---|
| 1 | iso | LANART-AGENT |
| 1.3 | org | BIANCA-BRICK-PPP-MIB |
| 1.3.6 | dod | BIANCA-BRICK-PPP-MIB |
| 1.3.6.1 | internet | BIANCA-BRICK-PPP-MIB |
| 1.3.6.1.4 | private | BIANCA-BRICK-PPP-MIB |
| 1.3.6.1.4.1 | enterprises | ANIROOT-MIB |
| 1.3.6.1.4.1.1978 | ngcan | SYS-MIB |
| 1.3.6.1.4.1.1978.2 | tiger | SYS-MIB |
| 1.3.6.1.4.1.1978.2.18 | sysMIB | SYS-MIB |
| 1.3.6.1.4.1.1978.2.18.8 | sysTraps | SYS-MIB |
| 1.3.6.1.4.1.1978.2.18.8.0.1 | ifStateChange | SYS-MIB |