Reference Guide

Fabric OS Command Reference 903
53-1002921-02
portStatsShow
2
portStatsShow
Displays port hardware statistics.
SYNOPSIS portstatsshow [slot/]port
portstatsshow -i [index1[-index2][...] [-f]]
portstatsshow -x [hex1[-hex2] [...]]
portstatsshow -slot [slot1[-slot2][...]
portstatsshow ge [slot/]ge port
portstatsshow ip [slot/]ge port [ip_address]
portstatsshow fcip [slot/]ge port [tunnel_number]
portstatsshow -h
DESCRIPTION Use this command to display port hardware statistics counters. Some counters are platform- or
port-specific and display only on those platforms and ports. All statistics have a maximum 32-bit value of
4,294,967,295.
You can display statistics of a single port to be cleared by its port number or by its port index number in
decimal or hexadecimal format. Port ranges are supported with port numbers, index numbers(decimal or
hexadecimal) or by specifying a slot or a slot range. Use switchShow for a listing of valid ports, slots,
and port index numbers.
Specifying multiple ports with the index (-i) or slot (-s) option is supported only if PortSwap is disabled.
They are not supported on GbE ports and configured F_Port trunks. Use the -i option without a port index
to display the portSwap status, or alternately use portSwapShow.
The command output may include the following fields (Tx indicates frames transmitted by the port; Rx
indicates frames received by the port).
stat_wtx
The number of 4-byte words transmitted.
stat_wrx
The number of 4-byte words received.
The size of stat_wrx in portstatsshow is fixed for 32 bit, use portstats64show for
64-bit counters. If the stat_wrx counter is used for 64 bit, it wraps very quickly and
the counter may not increment.
stat_ftx
The number of class 2, class 3, and control frames transmitted.
stat_frx
The number of class 2, class 3, and control frames received.
stat_c2_frx
The number of class 2 frames received.
stat_c3_frx
The number of class 3 frames received.
stat_lc_rx
The number of link control frames received.