Vyatta NOS documentation

Learn how to install, configure, and operate Vyatta Network Operating System (Vyatta NOS), which helps to drive our virtual networking and physical platforms portfolio.

How to use twping to measure IP performance

An example of how to use twping to measure round-trip IP performance.

Note: To start the steps in this task, first enter operational mode.
Use the twping command to send a request to the TWAMP server to measure the round-trip IP performance.
vyatta@R2:~$ twping 11.1.0.1 count 10 session-count 2
Approximately 4.2 seconds until results available                 
                                                                  
--- twping statistics from [11.1.0.1]:8889 to [Rtr2]:55026 ---
SID:    0b010001d961f8d25daa301413dddec8                          
first:  2015-07-28T12:49:23.476                                   
last:   2015-07-28T12:49:24.605                                   
10 sent, 0 lost (0.000%), 0 send duplicates, 0 reflect duplicates 
round-trip time min/median/max = 0.746/1.5/2.39 ms, (err=1.11 ms) 
send time min/median/max = 0.196/0.6/1.54 ms, (err=0.556 ms)      
reflect time min/median/max = 0.543/0.9/1.79 ms, (err=0.556 ms)   
reflector processing time min/max = 0.0129/0.0277 ms              
two-way PDV = 0.9 ms (P95-P50)                                    
send PDV = 1 ms (P95-P50)                                         
reflect PDV = 0.9 ms (P95-P50)                                    
send hops = 0 (consistently)                                      
reflect hops = 0 (consistently)                                   
                                                                  
                                                                  
--- twping statistics from [11.1.0.1]:8904 to [Rtr2]:42203 ---
SID:    0b010001d961f8d25eff1b28f68b20f7                          
first:  2015-07-28T12:49:23.495                                   
last:   2015-07-28T12:49:24.940                                   
10 sent, 0 lost (0.000%), 0 send duplicates, 0 reflect duplicates 
round-trip time min/median/max = 1.24/1.6/3.24 ms, (err=1.11 ms)  
send time min/median/max = 0.37/0.7/2.52 ms, (err=0.556 ms)       
reflect time min/median/max = 0.713/0.9/1.51 ms, (err=0.556 ms)   
reflector processing time min/max = 0.0157/0.031 ms               
two-way PDV = 1.7 ms (P95-P50)                                    
send PDV = 1.9 ms (P95-P50)                                       
reflect PDV = 0.7 ms (P95-P50)                                    
send hops = 0 (consistently)                                      
reflect hops = 0 (consistently)