M_MEDIASUPPORT

code: 90

# get
<module-index> M_MEDIASUPPORT ?

Description

This command shows the supported configurations by the test module.

The structure of the reply is:

list[ <cage_type> <available_speed_count> list[<port_cnt> <port_speed>] ]

  • <cage_type> is the same as in the M_MEDIA.

  • <available_speed_count> is the number of port speeds for the given <cage_type>.

  • [<port_cnt> <port_speed>] are repeated until all speeds supported by the <cage_type> has been listed.

  • [<cage_type> <available_speed_count>] are repeated for all cage types on the module including the related [<port_cnt> <port_speed>] information.

Actions

get

Parameters

  1. media_info_list: integer list, a list of integers.

The structure of the reply is:

list[ <cage_type> <available_speed_count> list[<port_cnt> <port_speed>] ]

  • <cage_type> is the same as in the M_MEDIA.

  • <available_speed_count> is the number of port speeds for the given <cage_type>.

  • [<port_cnt> <port_speed>] are repeated until all speeds supported by the <cage_type> has been listed.

  • [<cage_type> <available_speed_count>] are repeated for all cage types on the module including the related [<port_cnt> <port_speed>] information.

Example

# get
input:  0 M_MEDIASUPPORT ?
output: 0 M_MEDIASUPPORT OSFP800 4 1 800000 2 400000 4 200000 8 100000 OSFP_1600 3 1 1600000 8 200000 4 200000