meta data for this page
  •  

Сброс статистики ошибок на портах Brocade

Before you start working with a brocade switch or when trouble shooting it can be useful to clear the port stats. We will look at how to clear individual ports stats and clear all the stats from the brocade switch.

To view the current stats and errors for a port use the following command:

porterrshow

The following commands will allow us to clear these stats to see if any error counters are increasing.

To clear the stats for a single port:

portstatsclear portindex

For example to clear the stats on port 1

portstatsclear 1

To clear the stats for a range of ports

portstatsclear -i portindex1-portindex2

For example to clear the stats on port 1-5

portstatsclear -i 1-5

To clear all the switch port and diagnostic switch in one go

statsclear