PS_TPLDID#

code: 157

# set
<module-index>/<port-index> PS_TPLDID [<stream_index>] <test_payload_identifier>

# get
<module-index>/<port-index> PS_TPLDID [<stream_index>] ?

Description#

The identifier of the test payloads inserted into packets transmitted for a stream. A value of -1 disables test payloads for the stream. Test payloads are inserted at the end of each packet, and contains time-stamp and sequence-number information. This allows the receiving port to provide error-checking and latency measurements, in addition to the basic counts and rate measurements provided for all traffic. The test payload identifier furthermore allows the receiving port to distinguish multiple different streams, which may originate from multiple different chassis. Since test payloads are an inter-port and inter-chassis mechanism, the test payload identifier assignments should be planned globally across all the chassis and ports of the testbed.

Actions#

set, get

Parameters#

  1. test_payload_identifier: integer, the test payload identifier value. -1 = disable test payloads

Example#

# set
input:  0/1 PS_TPLDID [0] 1
output: <OK>

# get
input:  0/1 PS_TPLDID [0] ?
output: 0/1 PS_TPLDID [0] 1