If you have root access to the fabric, you can log in as the root user and use the ibclear errors command and then the ibcheckerrors command to reset all the IB error counters. This action starts a fresh statistics-gathering session. This step is not mandatory, but if you decide to perform it, log out and log back in to the fabric as the admin user to run the show ib-path stats command.
This procedure is for the CLI.
Type the show ib path-stats command without any qualifiers and press Tab or a question mark (?). For example:
[OFOS] show ib path-stats ? Possible completions: 10e08508ac0005 Port Guid of host nsn178-42 10e085095a0005 Port Guid of host nsn178-76 10e08b53a80005 Port Guid of host leaf_01 10e09a86500005 Port Guid of host hca-10e09a86500004 2c9030057b4de Port Guid of host nsn178-32
For example:
show ib path brick -clear
See the example in Determine the IB Path Continuity.