Starting the testhead test and displaying results

Before starting the test, return the testhead packets to the local node by ensuring that loopback with mac-swap is configured on the remote end point.

Example: Command usage to start the testhead session

oam testhead testhead-profile 1 test-me owner owner-me sap 1/1/2 fc be frame-
payload 1 color-aware disable

Example: Result and Sample testhead output

*A:Dut-B# show testhead "test-me" owner "owner-me" detail 
===============================================================================
Y.1564 Testhead Session
===============================================================================
Owner              : owner-me
Test               : test-me
Profile Id         : 1                        SAP               : 1/1/2
Accept. Crit. Id   : 0                        Completed         : Yes
Frame Payload Id   : 1                        Stopped           : No
Frame Payload Type : tcp-ipv4                 FC                : be
Color Aware Test   : No                       
Start Time         : 08/29/2018 08:56:03      
End Time           : 08/29/2018 08:59:09      
Total time taken   : 0d 00:03:05              
-------------------------------------------------------------------------------
Latency Results
-------------------------------------------------------------------------------
 (total pkts in us):       Min       Max   Average    Jitter
         Roundtrip :        51        51        51         0
-------------------------------------------------------------------------------
Packet Count
-------------------------------------------------------------------------------
Total Injected     : 42290555                 
Total Received     : 42290555                 
-------------------------------------------------------------------------------
Test Compliance Report
-------------------------------------------------------------------------------
Throughput Configd : 962388                   
Throughput Oper    : 962384                   
Throughput Measurd : 962345                   
FLR Configured     : None                     
FLR Measurd        : 0.000000                 
FLR Acceptance     : Pass                     
Latency Configd(us): None                     
Latency Measurd(us): 51                       
Latency Acceptance : Not Applicable           
Jitter Configd(us) : None                     
Jitter Measurd(us) : None                     
Jitter Acceptance  : Not Applicable           
Total Pkts. Tx.    : 110                      Latency Pkts. Tx. : 100
OutPrf Latency Pkt*: 0                        InPrf Latency Pkt*: 0
Total Tx. Fail     : 0                        
===============================================================================
*indicates that the corresponding row element may have been truncated.

Example: Command usage to stop a testhead session

oam testhead "test-me" owner "owner-me" stop

Example: Command usage to clear testhead session results

clear testhead result "test-me" owner "owner-me"