Network port(s) running in half duplex for Fortinet

Vendor

Fortinet

Description

Indeni will alert one or more network ports is running in half duplex.

Remediation Steps

Many times ports are in half duplex due to an autonegotation error or a misconfiguration.

1. Monitor hardware network operations and speed by using the "diag hardware deviceinfo nic " FortiOS command.

2. Run the command "diag hardware deviceinfo nic " command to display a list of hardware related names and values. Review the next link for more details: http://help.fortinet.com/fos50hlp/54/Content/FortiOS/fortigate-toubleshooting-54/troubleshooting_tools.htm

3. Run the hidden FortiOS command "fnsysctl cat /proc/net/dev" to get a summary of the interface statistics.

4. Check for a mismatch in the speed and duplex interface settings on both sides of a cable, or for a damaged cable. Try to manually configure both sides to the same mode when you can. Review the next link "Symptoms of Ethernet speed/duplex mismatches" for more info: http://kb.fortinet.com/kb/documentLink.do?externalID=10653

How does this work?

This script logs into the Fortinet firewall using SSH and retrieves the output of the "get system interface physical" FortiOS command. The output includes all the interface related information and statistics.

Why is this important?

This script logs into the Fortinet firewall using SSH and retrieves the output of the "get system interface physical" FortiOS command. The output includes all the interface related information and statistics.

Without Indeni how would you find this?

It is possible to poll this data through SNMP.


View Source Code