Brocade Adapters Troubleshooting Guide
65
53-1001582-01
Statistics
3
Displaying statistics through BCU
Use the BCU ethioc command to display Ethernet input/output controller (IOC) statistics such as
serial number, model, PWWN, NWWN, firmware version, operating status, vendor ID, IOC type,
interrupt coalescing status, and interrupt delay value.
ethioc --query <port_id>
ethioc --stats <port_id>
ethioc --statsclr <port_id>
--query
Displays attributes of the Ethernet IOC.
port_id
Specifies the ID of the Ethernet port for which you will display attributes. This
could be the PWWN, port hardware path, or user-specified port name. This
could also be the adapter-index/port-index. For example, to specify adapter 1,
port 1 you would use 1/1 as the port identification.
--stats
Displays the Ethernet IOC statistics.
port_id
Specifies the ID of the Ethernet port for which you will display the statistics.
--statsclr
Clears the Ethernet IOC-level statistics.
port_id
Specifies the ID of the Ethernet port for which you will reset the statistics.
FCoE statistics (CNAs only)
Use BCU and HCM to display statistical information related to a selected Fibre Channel over
Ethernet (FCoE) port. Statistics include the number of transmitted and received packets and
transmitted and received bytes. You can also select options to continue running data, configure
polling frequency, and start polling.
Displaying FCoE statistics through HCM
To display FCoE statistics through HCM, use the following steps.
1. Select an FCoE port from the device tree.
2. Select Monitor > Statistics > FCoE Statistics from the device tree.
OR
Right-click the FCoE port and select Statistics > FCoE Statistics from the list.
The FCoE Statistics dialog box at the host level displays.
Fabric statistics
Use BCU and HCM to display statistics for fabric login (FLOGI) activity and fabric offlines and
onlines detected by the port. Use these statistics to help isolate fabric login problems. Examples
include number of FLOGIs sent, FLOGI response errors, FLOGI accept errors, FLOGI accepts
received, FLOGI rejects received, unknown responses for FLOGI, allocation waits prior to sending,
the number of delayed fabric login allocations, FLOGIs received, and incoming FLOGIs rejected.
Following are two examples of how to use these statistics for troubleshooting: