M_MEDIA
code: 342
# set
<module-index> M_MEDIA <media_type>
# get
<module-index> M_MEDIA ?
Description
For the test modules that support media configuration (check M_CAPABILITIES), this command sets the desired media type (front port).
Actions
set, get
Parameters
media_type
: byte, the media type of the test module
CFP4 = 0
QSFP28 = 1
CXP = 2
SFP28 = 3
QSFP56 = 4
QSFP_DD = 5
SFP56 = 6
SFP_DD = 7
SFP112 = 8
QSFP_DD_NRZ = 9
QSFP28_PAM4 = 10
CFP = 99
BASE_T1 = 100
BASE_T1S = 101
QSFPDD800 = 110
QSFP112 = 111
OSFP800 = 112
QSFPDD800_ANLT = 113
QSFP112_ANLT = 114
OSFP800_ANLT = 115
OSFP = 116
QSFPDD_ANLT = 117
QSFP56_ANLT = 118
OSFP_ANLT = 119
Example
# set
input: 0 M_MEDIA QSFPDD800_ANLT
output: <OK>
# get
input: 0 M_MEDIA ?
output: 0 M_MEDIA QSFPDD800_ANLT