04-27-2010 10:10 AM
Hello,
My service provider says their network mgmt platform will monitor this MIB for OSPF trap.
1.3.6.1.4.1.9.10.101
I looked it and saw this is CISCO-OSPF-TRAP-MIB. My router 2811 runs OSPF on LAN side and run BGP on WAN side facing Service provider. My goal is to send trap to the Service provider to auto-generate an alarm if I have OSPF neighbor down on the LAN. I mean my LAN interface can still be up while lose the OSPF neighborship with LAN layer 3 devices and would like the router to be able to send that trap.
I checked the IOS support list and my IOS 12.4.22T1 has this exact MIB listed as supportable.
So in the router, I put in "snmp-server enable traps ospf" and the router generates all below traps related to ospf in it. I have also set the target ip address of where this trap sends to with below config.
snmp-server enable traps ospf state-change
snmp-server enable traps ospf errors
snmp-server enable traps ospf retransmit
snmp-server enable traps ospf lsa
snmp-server enable traps ospf cisco-specific state-change nssa-trans-change
snmp-server enable traps ospf cisco-specific state-change shamlink interface
snmp-server enable traps ospf cisco-specific state-change shamlink neighbor
snmp-server enable traps ospf cisco-specific errors
snmp-server enable traps ospf cisco-specific retransmit
snmp-server enable traps ospf cisco-specific lsa
snmp-server host <ip address> <community-string> frame-relay config ospf snmp
When we test this with service provider, we admin down the layer 3 device in the LAN and my router shows OSPF neighbor down while the LAN interface is up. We asked service provider if they see any traps coming in and they said no. Thus, no ticket is generated.
So my question is do we know which command specific in the router that I need to put in to enable the exact trap that will have this MIB OID 1.3.6.1.4.1.9.10.101 since service provider ONLY monitor any incoming trap with this OID in regards to OSPF?
Should I do debug ip packets next time when we test this again? I guess I want to see how I can have proof that the router did send out the trap to the WAN? Which debug command will best to turn on to get that information so we can see if the router has generated that exact trap with that exact OID or not?
thanks,
joyce
Solved! Go to Solution.