Evil_TTL> show | s

SLA

Category:Cisco Systems -> Routing and Switching

SLA stands for Service License Agreement.

Multimedia Service Requirements:

Traffic TypeMaximum Packet LossMaximum One-Way LatencyMaximum Jitter
VoIP1%150ms30ms
Interactive video0.05%150ms10ms
Streaming video0.1%1000ms100ms


IP SLA measurement uses various operations and actively generated traffic probes to gather many types of measurement statistics, including the following:

  • Network latency and response time
  • Packet-loss statistics
  • Network jitter and voice-quality scoring
  • Statistical end-to-end matrix of performance information
  • End-to-end network connectivity

Deploying IP SLA Measurements:

_Data TrafficVoIPSLA VerificationAvailabilityStreaming Video
RequirementMinimize delay, packet loss Verify QoSMinimize delay, packet loss, jitterMeasure delay, packet loss, jitter One-wayConnectivity testingMinimize delay, packet loss
IP SLA measurementJitter Packet loss LatencyJitter Packet loss Latency MOS voice quality scoreJitter Packet loss Latency One-way Enhanced accuracy NTPConnectivity tests to IP devicesJitter Packet loss Latency

More info: File:SLA.ppt

This is a functional diagram for IP SLA measurements:
SLA-20.JPG

For testing I took my old lab:
OSPF-10.jpg

R1 will be the source router from which all the tests will be initiated. R4 will be a responder router.

SLA measurement for jitter requires a RESPONDER in the network. Responder configuration is really simple.

Configuration of R4 is as follows:

R4(config)#ip sla responder 

R1 is the source router and its configuration is the following:

ip sla 10
 udp
-jitter 7.7.7.7 5000 source-ip 5.5.5.5 source-port 5000
 frequency 10
ip sla schedule 10 life forever start
-time now

R1
#sh ip sla stat

Round Trip Time (RTT) for       Index 10
        Latest RTT
77 milliseconds
Latest operation start time
: *00:38:03.487 UTC Fri Mar 1 2002
Latest operation 
return codeOK
RTT Values
:
        
Number Of RTT10               RTT Min/Avg/Max64/77/93 milliseconds
Latency one
-way time:
        
Number of Latency one-way Samples0
        Source to Destination Latency one way Min
/Avg/Max0/0/0 milliseconds
        Destination to Source Latency one way Min
/Avg/Max0/0/0 milliseconds
Jitter Time
:
        
Number of SD Jitter Samples9
        Number of DS Jitter Samples
9
        Source to Destination Jitter Min
/Avg/Max5/13/21 milliseconds
        Destination to Source Jitter Min
/Avg/Max1/4/8 milliseconds
Packet Loss Values
:
        
Loss Source to Destination0           Loss Destination to Source0
        Out Of Sequence
0      Tail Drop0
        Packet Late Arrival
0  Packet Skipped0
Voice Score Values
:
        
Calculated Planning Impairment Factor (ICPIF): 0
        Mean Opinion Score 
(MOS): 0
Number of successes
5
Number of failures
0
Operation time to live
Forever 

R4

R4#sh ip sla responder
IP SLAs Responder isEnabled
Number of control message received
145 Number of errors0
Recent sources
:
        
5.5.5.5 [00:54:17.323 UTC Fri Mar 1 2002]
        5.5.5.5 [00
:54:07.299 UTC Fri Mar 1 2002]
        5.5.5.5 [00
:53:57.307 UTC Fri Mar 1 2002]
        5.5.5.5 [00
:53:47.335 UTC Fri Mar 1 2002]
        5.5.5.5 [00
:53:37.331 UTC Fri Mar 1 2002]
Recent error sources
:

udpEcho Responder:
  
IP Address             Port 

Now let’s measure one-way time and round trip time (RTT)

R1

ip sla 20
 icmp
-echo 7.7.7.7
 frequency 10
ip sla schedule 20 life forever start
-time now

R1
#sh ip sla stat

Round Trip Time (RTT) for       Index 10
        Latest RTT
77 milliseconds
Latest operation start time
: *00:39:43.495 UTC Fri Mar 1 2002
Latest operation 
return codeOK
RTT Values
:
        
Number Of RTT10               RTT Min/Avg/Max61/77/96 milliseconds
Latency one
-way time:
        
Number of Latency one-way Samples0
        Source to Destination Latency one way Min
/Avg/Max0/0/0 milliseconds // Nothing here because no NTP sync configured
        
Destination to Source Latency one way Min/Avg/Max0/0/0 milliseconds // Nothing here because no NTP sync configured
Jitter Time:
        
Number of SD Jitter Samples9
        Number of DS Jitter Samples
9
        Source to Destination Jitter Min
/Avg/Max7/13/24 milliseconds
        Destination to Source Jitter Min
/Avg/Max0/9/26 milliseconds
Packet Loss Values
:
        
Loss Source to Destination0           Loss Destination to Source0
        Out Of Sequence
0      Tail Drop0
        Packet Late Arrival
0  Packet Skipped0
Voice Score Values
:
        
Calculated Planning Impairment Factor (ICPIF): 0
        Mean Opinion Score 
(MOS): 0
Number of successes
14
Number of failures
0
Operation time to live
Forever

Round Trip Time 
(RTT) for       Index 20
        Latest RTT
107 milliseconds 
Latest operation start time
: *00:39:41.531 UTC Fri Mar 1 2002
Latest operation 
return codeOK
Number of successes
5
Number of failures
0
Operation time to live
Forever 

IP SLA for Testing VoIP Channel Quality

Defines end-to-end (one way) delay, Jitter, Packet loss. By these parameters Service Assurance Agent (Cisco SAA) computes MOS and ICPIF and transfers data to snmp server.

Side A:

ip sla 10
udp
-jitter 10.x.y.3 20001 source-ip 10.x.y.1 codec g711ulaw codec-size 20
tos 184
frequency 300
ip sla schedule 10 life forever start
-time now
!
access-list 5 permit 10.x.y.50
snmp
-server community cmonitor RO 5
snmp
-server ifindex persist 


Side B:

ip sla responder
access
-list 5 permit 10.x.y.50
snmp
-server community cmonitor RO 5
snmp
-server ifindex persist 


Show commands:

show ip sla statistics 10
show snmp mib ifmib ifindex 


To monitor and analyse data one can use, eg PRTG, by navigating to VoIP and Qos > Cisco IP SLA

By privilege15