question

nikhil avatar image
nikhil asked nikhil edited

HLTAPI Script to load a traffic profile on to the chassis using HLTAPI

I have my traffic generated and stored in.tcc file, I would like to writea script to load the that file onto the chassis

hltapipython script
10 |950

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

stebhla avatar image
stebhla answered stebhla published

Hi Nikhil,

You can generate HLTAPI script from .tcc file. If you have HLTAPI docmentation, you can refer to Appendix A for steps to do the same.

Below are the steps to do the same:

To register the Save as HLTAPI tool in Spirent TestCenter:

1. Install Spirent TestCenter and Spirent HLTAPI, and launch Spirent TestCenter.

2. From the menu bar, go to Tools > Options > Tcl/Tk to make sure the Tcl/Tk installation path is correct. 3. Launch the command line window and type the following command: tclsh c:\Tcl\lib\HLTAPI\tools\toolRegister.tcl stcVersion where stcVersion is the version of Spirent TestCenter. Make sure the path to toolRegister.tcl is

4. Restart Spirent TestCenter.

5. In the menu bar, go to Tools > Custom Tools, and then click Save as HLTAPI

10 |950

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

nikhil avatar image
nikhil answered nikhil edited

Hello @stebhla

Thanks for the help. But I see I'm generating the script for the corresponding .tcc , but how do I load that onto my chassis?

1 comment
10 |950

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

nikhil avatar image nikhil commented ·

I'm trying to automate the process of loading the traffic profile onto the chassis

0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.