P4_SPEEDSELECTION

# set
<module-index>/<port-index> P4_SPEEDSELECTION <speed>

# get
<module-index>/<port-index> P4_SPEEDSELECTION ?

Description

Sets the port speed. The selected speed must be one of the speeds supported by the port, which can be retrieved with P4_CAPABILITIES.

Actions

set, get

Parameters

speed: byte, specifies the speed mode of the port
  • AUTO = 0

  • F100M = 1

  • F1G = 2

  • F2_5G = 3

  • F5G = 4

  • F10G = 5

  • F25G = 6

  • F40G = 7

  • F50G = 8

  • F100G = 9

Example

# set
input:  0/1 P4_SPEEDSELECTION AUTO
output: <OK>

# get
input:  0/1 P4_SPEEDSELECTION ?
output: 0/1 P4_SPEEDSELECTION AUTO