P4G_RAW_TEST_SCENARIO

# set
<module-index>/<port-index> P4G_RAW_TEST_SCENARIO [<group_index>] <scenario>

# get
<module-index>/<port-index> P4G_RAW_TEST_SCENARIO [<group_index>] ?

Description

Configure the traffic direction scenario for RAW mode.

Actions

set, get

Parameters

scenario: byte, traffic scenario
  • DOWNLOAD = 0

  • UPLOAD = 1

  • BOTH = 2

  • ECHO = 3

Example

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

# get
input:  0/1 P4G_RAW_TEST_SCENARIO [0] ?
output: 0/1 P4G_RAW_TEST_SCENARIO [0] DOWNLOAD