cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
276
Views
0
Helpful
8
Replies

IP SLA and Packet Loss

cdiaz
Level 1
Level 1

Hello!!

We are trying to use an IP SLA to modify a parameter in a service. We need to validate packet loss to an IP, but we cannot achieve the state change.

These are the config:

ip sla 12
icmp-jitter 10.10.10.53 num-packets 10000 interval 4
frequency 5
ip sla schedule 12 life forever start-time now
ip sla reaction-configuration 12 react packetLoss threshold-value 3 2 threshold-type immediate action-type trapOnly

Packet Loss is over 2%:

Router#ping 10.10.10.53 repeat 100
Type escape sequence to abort.
Sending 100, 100-byte ICMP Echos to 10.10.10.53, timeout is 2 seconds:
!!!!!!!!!!!!!!!!!!!!.!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!.!.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!.!
Success rate is 96 percent (96/100), round-trip min/avg/max = 1/5/12 ms
Router#

But the IP SLA no match:

Router#show ip sla statistics 12
IPSLAs Latest Operation Statistics

IPSLA operation id: 12
Type of operation: icmp-jitter
Latest RTT: 1 milliseconds
Latest operation start time: 16:59:39 UTC Fri Jun 14 2024
Latest operation return code: OK
RTT Values:
Number Of RTT: 9510 RTT Min/Avg/Max: 1/1/1 milliseconds
Latency one-way time:
Number of Latency one-way Samples: 0
Source to Destination Latency one way Min/Avg/Max: 0/0/0 milliseconds
Destination to Source Latency one way Min/Avg/Max: 0/0/0 milliseconds
Jitter Time:
Number of SD Jitter Samples: 9038
Number of DS Jitter Samples: 9038
Source to Destination Jitter Min/Avg/Max: 0/1/7 milliseconds
Destination to Source Jitter Min/Avg/Max: 0/1/8 milliseconds
Over Threshold:
Number Of RTT Over Threshold: 0 (0%)
Packet Late Arrival: 0
Out Of Sequence: 0
Source to Destination: 0 Destination to Source 0
In both Directions: 0
Packet Skipped: 0 Packet Unprocessed: 0
Packet Loss: 490
Loss Periods Number: 471
Loss Period Length Min/Max: 1/3
Inter Loss Period Length Min/Max: 1/187
Number of successes: 2
Number of failures: 15
Operation time to live: Forever

Please your help!!

Claudio from chile...

 

 

 

 

 

8 Replies 8

First try 

Ip sla reaction enable 

And I will do some test for reaction type in my lab

MHM

i have others ip sla based on rtt ands works, but in packet loss no.

Thanks!

Rtt is Reaction or ip sla icmp echo ?

MHM

Is a reaction over a icmp-echo... and works fine.

ip sla 11
icmp-echo 10.10.10.53
threshold 10
frequency 5

ip sla reaction-configuration 11 react rtt threshold-value 100 1 threshold-type immediate action-type trapAndTrigger

 

Hi Friend I dont miss your case but Cisco in this part is not so clear,
why your IP SLA not work ?
threshold-value for each react is different, in your case packetloss, how the router know the packet is loss or not? it see it timeout
so the threshold-value  must be set to timeout you need to see ping reply from peer 
or the threshold-value is number of packet and in that case the the number must be 1 to 3 or more, the lowest number must be 1

try above and see result 

MHM 

balaji.bandi
Hall of Fame
Hall of Fame
ip sla 12
icmp-jitter 10.10.10.53 num-packets 10000 interval 4
frequency 5

i would try decreasing number of packets to reasonable numbers, and also check manually how long it take to complete sending 10000 packets (is the frequency good enough to capture that results ?)

what device mode and what IOS Code running on the device.

is this IP SLA only generate Trap or you looking to make any action ? have you configured trap configuration ?

some example for reference :

https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/ipsla/configuration/15-s/sla-15-s-book/sla_threshold_mon.html

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

I started with 100 packages and the result is the same, I have an Event Manager that works, but I need to trigger the SLA.

The version on the test equipment is Version 15.1(4)M4 on a CISCO1921

Can you post the results when you lower the numbers - i would like to see the outcome.

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

Review Cisco Networking for a $25 gift card