Pages

Friday, April 27, 2012

ip sla responder...

the most difficult part was getting ios versions to support this...


set up dls1 as the collector...

ip sla 1 
icmp-echo 172.16.1.10
ip sla schedule 1 life forever start-time now
ip sla 2
udp-jitter 172.16.1.10 5000
ip sla schedule 2 life forever start-time now

set up an als2 as the responder for device 172.16.1.10 (pc)


ip sla responder
ip sla responder udp-echo ipaddress 172.16.1.1 port 5000

then look at the output...

dls1#sh ip sla stat
IPSLAs Latest Operation Statistics

IPSLA operation id: 1
        Latest RTT: 1 milliseconds
Latest operation start time: 13:52:32 UTC Fri Apr 27 2012
Latest operation return code: OK
Number of successes: 17
Number of failures: 6
Operation time to live: Forever
 
IPSLA operation id: 2
Type of operation: udp-jitter
        Latest RTT: NoConnection/Busy/Timeout
Latest operation start time: 13:51:47 UTC Fri Apr 27 2012
Latest operation return code: No connection
RTT Values:
        Number Of RTT: 0                RTT Min/Avg/Max: 0/0/0 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: 0
        Number of DS Jitter Samples: 0
        Source to Destination Jitter Min/Avg/Max: 0/0/0 milliseconds
        Destination to Source Jitter Min/Avg/Max: 0/0/0 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): 0
        Mean Opinion Score (MOS): 0
Number of successes: 0
Number of failures: 23
Operation time to live: Forever
dls1#


the icmp output is useful describing successes and failures and round trip time... i don't have a phone set up so the jitter statistics are meaningless, other than no connection.. although, i can see real world usage for this in problematic phone diagnoses... this is very exciting, i know...


word is this is resource intensive so use sparingly...

No comments:

Post a Comment