Printer FriendlyEmail Article Link

Spirent TestCenter-HLTAPI : How to display packet pattern ?

Environment/Versions
  • Spirent TestCenter
  • PGA
  • Automation - HLTAPI
Answer
This feature is supported with a patch over HLTAPI 4.59GA and will be a part of next GA Release

Use -format var to display the packet pattern 

This option returns a maximum of 20 frames in the capture buffer. If the capture buffer contains more than 20 frames,the first 20 frames will be returned.

sth::packet_stats -port_handle port1 -format var -action filtered

Attached sample script for reference (packet_capture.tcl)
Attachments

Product : Automation,Spirent TestCenter,PGA