question

nawraj avatar image
nawraj asked ericnute converted comment to answer

Fetching traffic_stats at flow Level through HLTAPI

Is it possible to fetch traffic_stats at flow Level through HLTAPI? If yes, what is the command?
Spirent TestCenter (STC)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.

1 Answer

·
mjefferson avatar image
mjefferson answered ericnute edited
Use the sth::traffic_stats -port_handle $port -mode streams to get the stream stats. However, I seem to remember (and this may no longer be the case) that you cannot get the per-port stream results. This command will aggregate all Rx stats for a single stream. This means that if you are looking at multicast stats, you will not be able to see the Rx stats per port. They will all be aggregated into a single result. My suggestion is to use the native Spirent TestCenter API to pull the stats in that case.
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.

nawraj avatar image nawraj commented ·
Above mentioned command will give details with respect to streamblock level.I don't find any command to fetch the traffic stats at stream level within a streamblock. As you have mentioned, i think we can use native API for this case.
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.