FortiGate
FortiGate Next Generation Firewall utilizes purpose-built security processors and threat intelligence security services from FortiGuard labs to deliver top-rated protection and high performance, including encrypted traffic.
bstefanovski
Staff
Staff
Article Id 393185
Description

This article discusses Port Link showing up without an SFP Inserted.

Scope FortiGate.
Solution

Sometimes, on some firmware versions of FortiGate, users might see that an interface shows Link Up status even when no SFP module is inserted.

 

Example:

Port status shows as up, regardless of whether an SFP is present.

 

Run this command:

 

diagnose hardware deviceinfo nic <interface>.

 

Transceiver information:

 

==== Current Link Settings =====

auto-nego :Disable

s_status :Up

s_speed :10000

s_duplex :Full

 

This can bring confusion during troubleshooting or network changes, as the interface falsely appears operational.

 

This behavior can appear due to how signal detection thresholds are managed in the firmware. When the signal threshold is set too low, the port may incorrectly detect a link as up.

 

Note:

Commands from this article are available from v7.4.4 and above. After v7.6.4 or v8.0.0, this behavior will be fully fixed.

 

Solution:

To overcome this behavior, manually adjust the physical signal detection threshold.

 

config system interface

    edit "portX"

        config phy-setting
            set signal-ok-threshold-value 12 <----- This is the maximum value available by default, it is 0.
end

 

Config should look something like this:

 

config system interface

    edit "portX"

        set vdom "root"

        set type physical

        set mediatype sr

            config phy-setting

                set signal-ok-threshold-value 12

            end

        set snmp-index 33

        set forward-error-correction

        set speed 25000full

    next

end

 

This setting guarantees the port only reports a link up when the signal strength is genuinely sufficient, when a proper SFP is inserted and operational.