All MIBs › OSPF-TRAP-MIB › ospfVirtIfStateChange
ospfVirtIfStateChange
Module: OSPF-TRAP-MIB
OID (symbolic): OSPF-TRAP-MIB::ospfVirtIfStateChange
OID (numeric): 1.3.6.1.2.1.14.16.2.1
Node type: NOTIFICATION-TYPE
Description:
An ospfVirtIfStateChange trap signifies that there has been a change in the state of an OSPF virtual interface.
This trap should be generated when the interface state regresses (e.g., goes from Point-to-Point to Down) or progresses to a terminal state (i.e., Point-to-Point).
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> '' OSPF-TRAP-MIB::ospfVirtIfStateChange snmptrap -v2c -c public <manager> '' 1.3.6.1.2.1.14.16.2.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]:51290->[192.168.30.10]:162]: DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (28338266) 3 days, 6:43:02.66 SNMPv2-MIB::snmpTrapOID.0 = OID: OSPF-TRAP-MIB::ospfVirtIfStateChange
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.2 | mgmt | BKTEL-HFC862-BASE-MIB |
| 1.3.6.1.2.1 | mib_2 | CHECKPOINT-MIB-2 |
| 1.3.6.1.2.1.14 | ospf | MRVINREACH |
| 1.3.6.1.2.1.14.16 | ospfAreaTable | OSPF-MIB |
| 1.3.6.1.2.1.14.16.2 | ospfTraps | OSPF-TRAP-MIB |
| 1.3.6.1.2.1.14.16.2.1 | ospfVirtIfStateChange | OSPF-TRAP-MIB |