Automation Knowledge Base

PS_INJECTFCSERR [sid]

Explanation

Force a frame checksum error in one of the packets currently being transmitted from a stream. This can aid in analysing the error-detection functionality of the system under test. Traffic must be on for the port, and the stream must be enabled.

sid:

integer, the sub-index value of the stream definition.

Summary

set only, stream index.

Example, set:

0/1 PS_INJECTFCSERR [5]

PS_INJECTSEQERR [sid]

Explanation

Force a sequence error by skipping a test payload sequence number in one of the packets currently being transmitted from a stream. This can aid in analyzing the error-detection functionality of the system under test. Traffic must be on for the port, and the stream must be enabled and include test payloads.

sid:

integer, the sub-index value of the stream definition.

Summary

set only, stream index.

Example, set:

0/1 PS_INJECSEQSERR [5]

PS_INJECTMISERR [sid]

Explanation

Force a misorder error by swapping the test payload sequence numbers in two of the packets currently being transmitted from a stream. This can aid in analysing the error-detection functionality of the system under test. Traffic must be on for the port, and the stream must be enabled and include test payloads.

sid:

integer, the sub-index value of the stream definition.

Summary

set only, stream index.

Example, set:

0/1 PS_INJECTMISERR [5]

PS_INJECTPLDERR [sid]

Explanation

Force a payload integrity error in one of the packets currently being transmitted from a stream.

Payload integrity validation is only available for incrementing payloads, and the error is created by changing a byte from the incrementing sequence. The packet will have a correct frame checksum, but the receiving Xena chassis will detect the invalid

payload based on information in the test payload. Traffic must be on for the port, and the stream must be enabled and include test payloads.

sid:

integer, the sub-index value of the stream definition.

Summary

set only, stream index.

Example, set:

0/1 PS_INJECTPLDERR [5]

PS_INJECTTPLDERR [sid]

Explanation

Force a test payload error in one of the packets currently being transmitted from a stream.

This means that the test payload will not be recognized at the receiving port, so it will be counted as a no- test-payload packet, and there will be a lost packet for the stream. Traffic must be on for the port, and the stream must be enabled and include test payloads.

sid:

integer, the sub-index value of the stream definition.

Summary

set only, stream index.

Example, set:

0/1 PS_INJECTTPLDERR [5]