mstlink - check and debug link status and issues related to
them
The mlxlink tool is used to check and debug link status and issues
related to them. The tool can be used on different links and cables
(passive, active, transceiver and backplane).
- get info of <device>,
<port_number>
- :
- mstlink -d <device> -p <port_number>
- get info of <device>, <port_number> and BER Counters:
- mstlink -d <device> -p <port_number>
-c
- get info of <device>, <port_number> and Transmitter
Parameters:
- mstlink -d <device> -p <port_number>
--show_serdes_tx
- Configure Port
State
- :
- mstlink -d <device> -p <port_number>
--port_state UP
- Configure Port
Speeds
- :
- mstlink -d <device> -p <port_number>
--speeds 25G,50G,100G
- Configure
FEC
- :
- mstlink -d <device> -p <port_number>
--fec RS
- Configure Port
for Physical Test Mode
- :
- mstlink -d <device> -p <port_number>
--test_mode EN (--rx_prbs PRBS31 --rx_rate 25G
--tx_prbs PRBS7 --tx_rate 10G)
- Perform PRBS
Tuning
- :
- mstlink -d <device> -p <port_number>
--test_mode TU
- Configure Transmitter Parameters (on lane, to database):
- mstlink -d <device> -p <port_number>
(--serdes_tx_lane <lane number>) (--database) \
--serdes_tx
<polarity>,<ob_tap0>,<ob_tap1>,<ob_tap2>,<ob_bias>,<ob_preemp_mode>
The full documentation for mstlink, is maintained as a
Texinfo manual. If the info and mstlink, programs are properly
installed at your site, the command
- info mstlink,
should give you access to the complete manual.