Displaying detail Hardware NIC information
Monitoring the hardware NIC is important because interface errors indicate data link or physical layer issues which may impact the performance of the FortiGate.
To monitor hardware network operations in the CLI:
diagnose hardware deviceinfo nic <interface>
or
diagnose netlink interface list <interface>
Sample output:
The following is sample output when the <interface>
is set to port1
:
# diagnose netlink interface list port1
if=port1 family=00 type=1 index=3 mtu=1500 link=0 master=0 flags=up broadcast run multicast Qdisc=mq hw_addr=00:0c:29:fc:18:54 broadcast_addr=ff:ff:ff:ff:ff:ff stat: rxp=61149 txp=81109 rxb=5839308 txb=52396373 rxe=0 txe=0 rxd=0 txd=0 mc=95 collision=0 @ time=1678486883 re: rxl=0 rxo=0 rxc=0 rxf=0 rxfi=0 rxm=0 te: txa=0 txc=0 txfi=0 txh=0 txw=0 misc rxc=0 txc=0
Field descriptions
The diagnose hardware deviceinfo nic
and diagnose netlink interface list
commands display lists of error names and values that are related to hardware.
The following table describes possible hardware errors:
Field |
Description |
---|---|
Rx packets (rxp) |
Number of received packets. |
Tx packets (txp) |
Number of transmitted packets. |
Rx bytes (rxb) |
Number of received bytes. |
Tx bytes (txb) |
Number of transmitted bytes. |
Rx_Errors (rxe) = rx error count |
Bad frame was marked as error by PHY. |
Tx_Errors (txe) = Tx_Aborted_Errors |
ECOL (Excessive Collisions Count); only valid in half-duplex mode. |
Rx_CRC_Errors + Rx_Length_Errors - Rx_Align_Errors |
This error is only valid in 10/100M mode. |
Rx_Dropped (rxd) or Rx_No_Buffer_Count |
Running out of buffer space. |
Tx_Dropped (txd) |
Number of dropped packet. |
Multicast (mc) |
Number of multicast packets received. |
Collisions |
Total number of collisions experienced by the transmitter; valid in half-duplex mode. |
Rx_Length_Errors (rxl) |
Number of packets dropped due to invalid length. |
Rx_Over_Errors (rxo) |
Receive FIFO overflow event counter. |
Rx_CRC_Errors (rxc) |
Number of received packets with Frame CRC error. |
Rx_Frame_Errors (rxf) |
Same as Rx_Align_Errors. This error is only valid in 10/100M mode. |
Rx_FIFO_Errors (rxfi) |
Same as Rx_Missed_Errors - a missed packet count |
Rx_Missed_Errors (rxm) |
Equals Rx_FIFO_Errors + CEXTERR (Carrier Extension Error Count). Only valid in 1000M mode, which is marked by PHY. |
Tx_Aborted_Errors (txa) |
See Tx_Errors. |
Tx_Carrier_Errors (txc) |
The PHY should assert the internal carrier sense signal during every transmission. Failure to do so may indicate that the link has failed or the PHY has an incorrect link configuration. This register only increments if transmits are enabled. This register isn't valid in internal SerDes 1 mode (TBI mode for the 82544GC/EI) and is valid only when the Ethernet controller is operating at full duplex. |
Tx_FIFO_Errors (txfi) |
Number of Frame transmission error due to underflow. |
Tx_Heartbeat_Errors (txh) |
Number of heartbeat error. |
Tx_Window_Errors (txw) |
Late Collisions (LATECOL) Count Late collisions are collisions that occur after 64-byte time into the transmission of the packet while working in 10 to 100 Mb/s data rate and 512-byte time into the transmission of the packet while working in the 1,000 Mb/s data rate. This register only increments if transmits are enabled and the device is in half-duplex mode. |
Rx compressed (misc rxc) |
Number of received compressed packets. |
Tx compressed (misc txc) |
Number of transmitted compressed packets. |
Tx_Single_Collision_Frames |
Counts the number of times that a successfully transmitted packet encountered a single collision. The value increments only if transmits are enabled and the Ethernet controller is in half-duplex mode. |
Tx_Multiple_Collision_Frames |
A Multiple Collision Count which indicates the number of times that a transmit encountered more than one collision, but less than 16. The value increments only if transmits are enabled and the Ethernet controller is in half-duplex mode. |
Tx_Deferred |
Counts defer events. A deferred event occurs when the transmitter cannot immediately send a packet due to:
This register only increments if transmits are enabled. This counter does not increment for streaming transmits that are deferred due to TX IPG. |
Rx_Frame_Too_Longs |
The Rx frame is oversized. |
Rx_Frame_Too_Shorts |
The Rx frame is too short. |
Rx_Align_Errors |
This error is only valid in 10/100M mode. |
Symbol Error Count |
Counts the number of symbol errors (SYMERRS) between reads. The count increases for every bad symbol that's received, whether or not a packet is currently being received and whether or not the link is up. This register increments only in internal SerDes mode. |