Skip to main content
srajeswaran
Staff
Staff
Oct 6, 2026 1:00 PM UTC

Troubleshooting Tip: Unable to add FortiSwitch ports to a manual trunk when ports are members of an auto-ISL trunk

Description

This article describes how to resolve the 'entry not found in datasource' error when adding FortiSwitch ports to a manual trunk.

Scope

FortiSwitch.

Solution

When two FortiSwitches are directly connected, an ISL trunk is automatically created between the connected ports by default.


For example, the following auto-ISL trunk uses port3 and port4:

config switch trunk
    edit "8DVQY7RFQH946-0"
        set mode lacp-active
        set auto-isl 1
        set members "port3" "port4"
    next
end


When attempting to use the same ports in a manually configured trunk:

config switch trunk
    edit "AE22"
        set mode lacp-active
        set members "port3" "port4"


The configuration fails with the following error:

entry not found in datasource

value parse error before 'port3'
Command fail. Return code -3


This occurs because port3 and port4 are already members of the auto-ISL trunk.


Deleting the auto-ISL trunk while the FortiSwitches remain connected may not be sufficient, as the auto-ISL trunk can be created again automatically.


To release the required ports, temporarily move the auto-ISL trunk to an unused port:

config switch trunk
    edit "8DVQY7RFQH946-0"
        set members "port7"
    next
end


The required ports can then be assigned to the manual trunk:

config switch trunk
    edit "AE22"
        set mode lacp-active
        set members "port3" "port4"
    next
end


After the manual trunk is created, delete the temporary auto-ISL trunk:

config switch trunk
    delete "8DVQY7RFQH946-0"
end


Verify the trunk configuration:

show switch trunk

config switch trunk
    edit "AE20"
        set mode lacp-active
        set members "port5" "port6"
    next
    edit "AE22"
        set mode lacp-active
        set members "port3" "port4"
    next
end


This confirms that port3 and port4 are now assigned to the manually configured trunk.

    Risk and Resilience in the Age of AI. An OT Thought Leadership Summit for Houston's Critical Infrastructure Leaders. Date: Thursday, December 3, 2026. Time: 8:30 am - 1:30 pm (CT). Location: The Westin Houston, Memorial City | 945 Gessner Road, Houston, TX 77024