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.
|