cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1408
Views
0
Helpful
2
Replies

IP SLA snmp trap missing

Hello

I have 2821 router running cisco IOS 12.4(24)T2.

Here is my config

snmp-server trap-source Loopback0

snmp-server enable traps ospf state-change
snmp-server enable traps ipsla
snmp-server host 10.175.64.111 public  ospf ipsla

ip sla 500
icmp-jitter 10.169.228.46
timeout 1500
threshold 1000

ip sla schedule 500 life forever start-time now
ip sla reaction-configuration 500 react timeout action-type trapOnly

track 500 ip sla 500 reachability

I use ip sla to detect dead link, the idea is that when all 10 packets(by default) are lost ip sla change state to timeout and track switches to down state.

The problem is that this trap is not generated, i am able to see OSPF state-changes traps on my server but none related to the IP SLA.

Am I missing something in my config?

One more question, is it possible to send a trap when configured track changes its state?

1 Accepted Solution

Accepted Solutions

yjdabear
VIP Alumni
VIP Alumni

Try changing

ip sla reaction-configuration 500 react timeout action-type trapOnly

to

ip sla reaction-configuration 500 react timeout threshold-type immediate action-type trapOnly

and post "show ip sla reaction configuration".

View solution in original post

2 Replies 2

yjdabear
VIP Alumni
VIP Alumni

Try changing

ip sla reaction-configuration 500 react timeout action-type trapOnly

to

ip sla reaction-configuration 500 react timeout threshold-type immediate action-type trapOnly

and post "show ip sla reaction configuration".

Thanks. Your command made the trick.