question

raptorminty avatar image
raptorminty asked raptorminty posted

Error while executing the command : set hardwareEnabled true on IxNetwork Session.

We were trying to automate test cases using IxNetwork. We were following the commands as mentioned in the iTest user guide.

 

The following command was mentioned in the User Guide:

 

IxNetwork /vport:4/capture> set hardwareEnabled true [Screenshot 1]

 

But when we tried, it was throwing an error mentioning “Invalid Command Line” [Screenshot 2]

 

And hence we were unable to start the capture on the ports.

 

Kindly let us know how to proceed on this.

iTesttraffic generation
Snapshot1.JPG (137.7 KiB)
Snapshot2.JPG (148.0 KiB)
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,

You can still start/stop capture on ports as this "set hardwareEnabled true" command does not affect the capture. We will update the documentation accordingly.

To start/stop capture , you can use global commands like "start capture" and "stop capture".

If you want to start/stop capture after  navigating  into capture directory , use the available "invoke" command  as shown below...

 

IxNetwork /vport:2/capture> invoke start
.
::ixNet::OK

IxNetwork /vport:2/capture> invoke stop
.
::ixNet::OK

 

Please let us know if you still have any questions?

 

Thanks,

Vidya

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

Commands available at any given "directory" level in IxNetwork depend on the context. You can see what is available by doing:

 

Ixnetwork /vport:2>ls

 

This will let you know if "set" command is available at that level. The help documentation is simply trying to show the usage of the commands rather than trying to exactly show the users about how to "capture".

 

Can you tell us what you wanted to do at this virtual port?

10 |950

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

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.