07-05-2012 02:46 AM
I'm trying to use Cisco IP SLA to bench mark voice traffic peformance before and after I apply QoS to the network.
* I've setup IP SLA in both directions over a DSL connection between a 7600, and an 1801
* I've setup IP SLA in both directions over an Ethernet WAN link between a 7200 and another 7200
ip sla 1
udp-jitter 10.101.1.1 32770 source-ip 10.101.2.1 source-port 32770 codec g711alaw
frequency 30
!
ip sla schedule 1 life forever start-time now
!
ip sla responder
!
I have a problem in that I'm not getting any meaningful data from the IP SLA statistics for Voice Score Values:, or any data for Latency one-way time: for any of my tests(x 4).
After a day of testing it seems the MOS score never changes from 4.34, and the ICPIF never changes from 1
Is there something wrong with my config? Is this working properly or could this be a bug?
ADSL-R1#show ip sla statistics 1 details
Round Trip Time (RTT) for Index 1
Latest RTT: 48 milliseconds
Latest operation start time: *09:27:48.435 UTC Thu Jul 5 2012
Latest operation return code: OK
Over thresholds occurred: FALSE
RTT Values:
Number Of RTT: 999 RTT Min/Avg/Max: 45/48/89 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
Source to Destination Latency one way Sum/Sum2: 0/0
Destination to Source Latency one way Sum/Sum2: 0/0
Jitter Time:
Number of Jitter Samples: 997
Source to Destination Jitter Min/Avg/Max: 1/2/26 milliseconds
Destination to Source Jitter Min/Avg/Max: 1/1/18 milliseconds
Source to destination positive jitter Min/Avg/Max: 1/2/26 milliseconds
Source to destination positive jitter Number/Sum/Sum2: 348/793/4295
Source to destination negative jitter Min/Avg/Max: 1/2/16 milliseconds
Source to destination negative jitter Number/Sum/Sum2: 346/802/3742
Destination to Source positive jitter Min/Avg/Max: 1/1/18 milliseconds
Destination to Source positive jitter Number/Sum/Sum2: 330/611/2051
Destination to Source negative jitter Min/Avg/Max: 1/1/18 milliseconds
Destination to Source negative jitter Number/Sum/Sum2: 318/606/1992
Interarrival jitterout: 0 Interarrival jitterin: 0
Packet Loss Values:
Loss Source to Destination: 0 Loss Destination to Source: 1
Out Of Sequence: 0 Tail Drop: 0 Packet Late Arrival: 0
Voice Score Values:
Calculated Planning Impairment Factor (ICPIF): 1
MOS score: 4.34
Number of successes: 72
Number of failures: 0
Operation time to live: Forever
Operational state of entry: Active
Last time this entry was reset: Never
7200-R2#show ip sla statistics details
Round Trip Time (RTT) for Index 1
Type of operation: jitter
Latest RTT: 6 ms
Latest operation start time: 08:08:31.349 UTC Thu Jul 5 2012
Latest operation return code: OK
RTT Values
Number Of RTT: 1000
RTT Min/Avg/Max: 2/6/199 ms
Latency one-way time milliseconds
Number of Latency one-way Samples: 0
Source to Destination Latency one way Min/Avg/Max: 0/0/0 ms
Destination to Source Latency one way Min/Avg/Max: 0/0/0 ms
Source to Destination Latency one way Sum/Sum2: 0/0
Destination to Source Latency one way Sum/Sum2: 0/0
Jitter time milliseconds
Number of SD Jitter Samples: 999
Number of DS Jitter Samples: 999
Source to Destination Jitter Min/Avg/Max: 0/2/13 ms
Destination to Source Jitter Min/Avg/Max: 0/1/195 ms
Source to destination positive jitter Min/Avg/Max: 1/1/13 ms
Source to destination positive jitter Number/Sum/Sum2: 342/638/2142
Source to destination negative jitter Min/Avg/Max: 1/1/11 ms
Source to destination negative jitter Number/Sum/Sum2: 335/638/1886
Destination to Source positive jitter Min/Avg/Max: 1/2/195 ms
Destination to Source positive jitter Number/Sum/Sum2: 198/408/38510
Destination to Source negative jitter Min/Avg/Max: 1/2/128 ms
Destination to Source negative jitter Number/Sum/Sum2: 203/408/20720
Interarrival jitterout: 0 Interarrival jitterin: 0
Over thresholds occurred: FALSE
Packet Loss Values
Loss Source to Destination: 0 Loss Destination to Source: 0
Out Of Sequence: 0 Tail Drop: 0 Packet Late Arrival: 0
Packet Skipped: 0
Voice Score Values
Calculated Planning Impairment Factor (ICPIF): 1
MOS score: 4.34
Number of successes: 19
Number of failures: 0
Operation time to live: Forever
Operational state of entry: Active
Last time this entry was reset: 15:59:31.345 UTC Wed Jul 4 2012
07-05-2012 05:24 AM
After some further reading it looks like 'part' of the problem might be because the clocks on each pair of routers are not synced.
07-10-2012 01:50 AM
It seems by syncing the router clocks with NTP I am now getting Latency one-way stats. The MOS and
ICPIF score remains unchanged however.
show ip sla statistics 1
IPSLAs Latest Operation Statistics
IPSLA operation id: 1
Type of operation: udp-jitter
Latest RTT: 4 milliseconds
Latest operation start time: 09:38:23 BST Tue Jul 10 2012
Latest operation return code: OK
RTT Values:
Number Of RTT: 1000 RTT Min/Avg/Max: 3/4/28 milliseconds
Latency one-way time:
Number of Latency one-way Samples: 36
Source to Destination Latency one way Min/Avg/Max: 14/14/14 milliseconds
Destination to Source Latency one way Min/Avg/Max: 0/4/14 milliseconds
Jitter Time:
Number of SD Jitter Samples: 999
Number of DS Jitter Samples: 999
Source to Destination Jitter Min/Avg/Max: 0/1/18 milliseconds
Destination to Source Jitter Min/Avg/Max: 0/2/17 milliseconds
Packet Loss Values:
Loss Source to Destination: 0
Source to Destination Loss Periods Number: 0
Source to Destination Loss Period Length Min/Max: 0/0
Source to Destination Inter Loss Period Length Min/Max: 0/0
Loss Destination to Source: 0
Destination to Source Loss Periods Number: 0
Destination to Source Loss Period Length Min/Max: 0/0
Destination to Source Inter Loss Period Length Min/Max: 0/0
Out Of Sequence: 0 Tail Drop: 0
Packet Late Arrival: 0 Packet Skipped: 0
Voice Score Values:
Calculated Planning Impairment Factor (ICPIF): 1
MOS score: 4.34
Number of successes: 64
Number of failures: 0
Operation time to live: Forever
07-20-2012 10:29 AM
Update (RESOVLED)
The MOS and ICPIF scores do change. I saturated the WAN link with FTP down/upload traffic inducing packet loss,increased jitter and delay. The scores degraded accordingling show ip sla statistics 10 details
R#show ip sla statistics 10
Round Trip Time (RTT) for Index 10
Type of operation: jitter
Latest RTT: 292 ms
Latest operation start time: 19:07:12.358 UTC Tue Jul 17 2012
Latest operation return code: OK
RTT Values
Number Of RTT: 979
RTT Min/Avg/Max: 58/292/487 ms
Latency one-way time milliseconds
Number of Latency one-way Samples: 1
Source to Destination Latency one way Min/Avg/Max: 1/1/1 ms
Destination to Source Latency one way Min/Avg/Max: 112/112/112 ms
Jitter time milliseconds
Number of SD Jitter Samples: 958
Number of DS Jitter Samples: 958
Source to Destination Jitter Min/Avg/Max: 0/1/6 ms
Destination to Source Jitter Min/Avg/Max: 0/11/151 ms
Packet Loss Values
Loss Source to Destination: 0 Loss Destination to Source: 21
Out Of Sequence: 0 Tail Drop: 0
Packet Late Arrival: 0 Packet Skipped: 0
Voice Score Values
Calculated Planning Impairment Factor (ICPIF): 10
MOS score: 4.09
Number of successes: 32
Number of failures: 0
Operation time to live: Forever
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide