Scroll to navigation

MSTLINK,(1) User Commands MSTLINK,(1)

NAME

mstlink, - manual page for mstlink, mstflint 4.13.3, built on Dec 30 2019, 11:45:43. Git SHA Hash: N/A

DESCRIPTION

NAME:
mstlink
SYNOPSIS:
mstlink [OPTIONS]
DESCRIPTION:
The mstlink 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).
OPTIONS:
: Display help message.
: Display version info.
<device> : Perform operation for a specified mst device
<port_number> : Port Number
<port_type> : Port Type [NETWORK(Default)/PCIE]
<depth> : depth level of the DUT of some hierarchy (PCIE only)
<pcie_index> : PCIe index number (Internal domain index) (PCIE only)
<node> : the node within each depth (PCIE only)
: Print the output in json format
QUERIES:
: Show valid PCIe links (PCIE only)
: Show Module Info
: Show Physical Counters and BER Info
: Show Eye Opening Info
: Show FEC Capabilities
: Show Transmitter Info
: General Device Info
: Show BER Monitor Info (not supported for HCA)
: Show External PHY Info
COMMANDS:
: Configure Port State [UP(up)/DN(down)/TG(toggle)]
<speeds> : Configure Speeds [speed1,speed2,...]
: Configure Link Mode Force (Disable AN)
<loopback> : Configure Loopback Mode [NO(no loopback)/PH(phy loopback)/EX(external loopback)]
<fec_override> : Configure FEC [AU(Auto)/NF(No-FEC)/FC(FireCode FEC)/RS(RS-FEC)]
<fec_speed> : Speed to Configure FEC [100G/50G/25G/...] (Default is Active Speed)
<params> : Configure Transmitter Parameters [polarity,ob_tap0,...]
: Transmitter Lane to Set (Optional - Default All Lanes)
: Save Transmitter Configuration for Current Speed Permanently (Optional)
<prbs_mode> : Physical Test Mode Configuration [EN(enable)/DS(disable)/TU(perform tuning)]
<rx_prbs_mode> : RX PRBS Mode [PRBS31(Default)/PRBS7/...] (Optional - Default PRBS31)
<tx_prbs_mode> : TX PRBS Mode [PRBS31(Default)/PRBS7/...] (Optional - Default PRBS31)
<rx_lane_rate> : RX Lane Rate [EDR(Default)/25G/10G/...] (Optional - Default 25G)
<tx_lane_rate> : TX Lane Rate [EDR(Default)/25G/10G/...] (Optional - Default 25G)
: Port Extended Information Collection [CSV File]
<limit_criteria> : BER Limit Criteria [Nominal(Default)/Corner/Drift] (Optional - Default Nominal)
<iteration> : Iteration Number of BER Collection
: Clear Counters
: Set External PHY (not supported for HCA)
: Twisted Pair Force Mode [MA(Master)/SL(Slave)]
Examples:
:
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
:
mstlink -d <device> -p <port_number> --port_state UP
:
mstlink -d <device> -p <port_number> --speeds 25G,50G,100G
:
mstlink -d <device> -p <port_number> --fec RS
:
mstlink -d <device> -p <port_number> --test_mode EN (--rx_prbs PRBS31 --rx_rate 25G --tx_prbs PRBS7 --tx_rate 10G)
:
mstlink -d <device> -p <port_number> --test_mode TU
Configure Transmitter Parameters (on lane, to database):
mstlink -d <device> -p <port_number> --serdes_tx <polarity>,<ob_tap0>,<ob_tap1>,<ob_tap2>,<ob_bias>,<ob_preemp_mode> (--serdes_tx_lane <lane number>) (--database)

SEE ALSO

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.

December 2019 mstlink, mstflint 4.13.3, built on Dec 30 2019, 11:45:43. Git SHA Hash: N/A