question

ajaykumarchoudr avatar image
ajaykumarchoudr asked ericnute edited

Need help for protocol configuration in IXIA through iTEST

Hi,

 

I am new to this iTEST Fanfare tool. I would like to know how to configure the ospf emulation in IXIA using in-built commands in itest. I know there is another option in iTEST, where we can login to IXIA through start and capture and get the configuration from IXIA using "configuration get" command manually and load it to ixia when ever we need to configure it. But I want to know other better option, so that we can avoid this manual start and capture method.

 

Thanks in Advance,

Ajay Kumar.

iTesttraffic generationhltapi
10 |950

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

KumarS avatar image
KumarS answered KumarS posted

Instead of making our users learn hundreds of IxOS tcl commands, we decided to use Ixia' configuration files for set up. You can save the configuration file from Ixia GUI or from inside iTest. Once you have the config file, you can use "configuration load" or "load config" (I do not remember the exact command) to load the config. You can also create this file by doing "configuration get" in iTest's command line Ixia session.

 

Are you using Ixnetwork or IxOS with IxRouter?

10 |950

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

VidyaH avatar image
VidyaH answered VidyaH posted

Hi Ajay,

If you are using IxNetwork, iTest has built-in commands to start/stop protocols and also to get the protocol specific stats.


iTest do not have built-in commands to configure specific protocols as such, but if you know specific ixia's tcl commands to configure protocols then you can use iTest's "eval" command.

 

You can configure specific protocols using Ixia GUI and load the config using iTest  "load configuration" command and you can perform other actions for traffic generation easily using iTest.

 

It would help us if you can let us know what can kind of configuration you would like to do using iTest?

Thanks,
Vidya

6 comments
10 |950

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

ajaykumarchoudr avatar image ajaykumarchoudr commented ·

Hi,

 

Thanks for your reply, I am using IxNetwork,

 

I know the procedure for configuring the ixia as you have given below. But I came to know from one of my friend who is working in cisco that they configure the IXIA using some thing called HLTAPI (High Level Test API). It is alternate way of configuring the IXIA other than the ixia raw tcl command. The HLTAPI does the same thing what we do in normal ixia tcl command. It is something like procedures where we can send values to the argument to configure anything on the ixia.

 

For example:

=========

To configure a traffic stream in ixia, we can call the below procedure to do the same with the proper arguments.

 

 

set traffic_conf "::ixia::traffic_config -mode create\
        -ip_dst_addr $dst_addr\
        -port_handle $src_port_hdl\
        -ip_src_addr $src_addr\
        -l3_protocol ipv4\
        -ethernet_type ethernetII\
        -rate_pps $rate \
        -l3_length $pkt_size\
        -mac_dst_mode discovery \
        -ip_dst_mode increment\
        -ip_dst_count $num_subintfs\
        -vlan_id_mode increment\
        -vlan_user_priority $prec\
        -vlan_id 1\
        -ip_dst_step 0.0.1.0 -ip_precedence $match_value"

 

set traffic_conf [::ixia::traffic_config -mode create\

-ip_dst_addr $dst_addr\

-port_handle $src_port_hdl\

-ip_src_addr $src_addr\

-l3_protocol ipv4\

-ethernet_type ethernetII\

-rate_pps $rate \

-l3_length $pkt_size\

-mac_dst_mode discovery \

-ip_dst_mode increment\

-ip_dst_count $num_subintfs\ 

 -vlan_id_mode increment\ 

-vlan_user_priority $prec\ 

-vlan_id 1\ 

-ip_dst_step 0.0.1.0 -ip_precedence $match_value]

 

I would like to know, Is there is any support in iTEST to configure IXIA like this.

 

Thanks,

Ajay Kumar.

0 Likes 0 ·
PaulD avatar image PaulD ajaykumarchoudr commented ·

HLTAPI is a Tcl API that is not publicly supported by Ixia.  However, if you are able to get access to these libraries, then you are free to directly control the Ixia using this API via iTest's Tcl support.  But note that you probably can't mix this in with iTest's Ixia applications -- because each wants to be in control of the overall connection.

0 Likes 0 ·
ixjosh avatar image ixjosh PaulD commented ·

To clarify the previous post, HLTAPI is a high-level language that encapsulates a number of Ixia products (IxOS, IxNetwork, IxNetwork-FT, IxLoad) that can be loaded in any standard Tcl environment with the appropriate libraries installed.  It is a self-contained package containing everything needed to use the library.  HLT is an official Ixia product and is in fact supported by Ixia (support@ixiacom.com).

0 Likes 0 ·
PaulD avatar image PaulD ixjosh commented ·

I stand corrected.  Thanks for clarifying!

0 Likes 0 ·
KJF0099 avatar image KJF0099 ajaykumarchoudr commented ·

 

How much more is supported by this API other than the Traffic_Config Function?

 

Does anyone know how much the licence is for this HLTAPI on Ixia?

 

Is it per Chassis like the rest of the software?

 

 

 

0 Likes 0 ·
ToddL avatar image ToddL KJF0099 commented ·

 

Usually these things are not for charge, i.e.g. they are free.

 

However, the vendor may choose not to provide it to customers due to the cost of support.

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.