Printer FriendlyEmail Article Link

Spirent TestCenter-HLTAPI:How to increate the number of captured frames using packet_stats when format is Var?

Environment/Versions
  • Spirent TestCenter
  • Automation-HLTAPI
  • Capture
Answer
Below is the code:

set Custom_var [sth::packet_stats           \
        -port_handle        all             \
        -stop               1               \
        -action             filtered        \
        -format             var             \
        -var_num_frames     3000            ]

Patch is provided over t4.59 version of HLTAPI with the support of "-var_num_frames" attribute to increaste the number of frames from 20(default) to desired value. 
Will be part of next GA release.

Product : Automation,API,Spirent TestCenter,Packet Captures