OpenAutomation Knowledge Base

[printfriendly]

C_KEEPALIVE ticks

Explanation

You can request this value from the chassis, simply to let it (as well as and any routers and proxies between you) know that the connection is

still valid.

Summary

get only, value type: I

Parameters

ticks: integer, an increasing number from the chassis.

Example

C_KEEPALIVE 1234

C_TIMEOUT seconds

Explanation

The maximum number of idle seconds allowed before the connection is timed out by the tester.

Summary

set and get, value type: I

Parameters

seconds: integer, the maximum idle interval, default is 130 seconds.

Example

C_TIMEOUT 999

C_INDICES session session …

Explanation

Obtains the session indices for all current sessions on the chassis.

Summary

get only, value types: I*

Parameters

None

Example

C_INDICES 0 1 7 9 13

C_STATSESSION [ses] typ adr own ops req rsp

Explanation

Obtains information and statistics for a particular session on the chassis.

Summary

get only, session index, value types: I,A,O,L,L,L

Parameters

ses: integer, session index.

typ: coded integer, which kind of session: [ MANAGER | SCRIPT ]

adr: address, client IP address. own: string, user name of the session.

ops: long, number of operations done during the session.

req: long, number of bytes received by the chassis.

rsp: long, number of bytes sent by the chassis.

Example

C_STATSESSION [7] SCRIPT 88.99.77.66 ”HH” 100 12345 23456

C_STATS ?

Explanation

Multi-parameter query, obtaining all the chassis-level statistics.

Summary

get only.

Parameters

None

Example

C_INDICES 7 13

C_STATSESSION [7] SCRIPT 88.99.77.66 ”HH” 100 12345 23456

C_STATSESSION [13] NATIVE 88.99.77.55 ”JVN” 111 22345 33456

C_PORTERRORS errorcount errorcount …

Explanation

Obtains the number of errors detected across all streams on each port of each test module of the chassis. The counts are ordered in sequence with those of the module in the lowest numbered chassis slot first. Empty slots are skipped so that a chassis with a 6-port and a 2-port test module will return eight counts regardless of which slots they are in.

Note: CFP modules return eight error counts since they can be configured as up to eight 10G ports. When in 100G and 40G mode only the first one or two counts are significant.

Note: FCS errors are included, which leads to double-counting for streams detecting lost packets using the test payload mechanism.

Summary

get only, value types: L*

Parameters

errorcount: long, the total number of errors across all streams, and including FCS errors.

Example

C_PORTERRORS 0 0 0 7 0 123