No carrier makes me think there is more to this than that. Even if the LAGG doesn't come up, you should have carrier. I personally loathe forcing speed and duplex. My personal experience is that forcing speed and duplex has caused way more problems than it ever solved, but your mileage may vary. Here is what the TrueNAS side looks like for one of my bare metal TrueNAS systems.
View attachment 75485
And here is what the Cisco switch side look like.
Code:
interface Port-channel45
description FreeNAS2
switchport trunk native vlan 3
switchport trunk allowed vlan 1,3
switchport mode trunk
switchport nonegotiate
spanning-tree portfast
!
interface TenGigabitEthernet1/0/45
description FreeNAS2
switchport trunk native vlan 3
switchport trunk allowed vlan 1,3
switchport mode trunk
switchport nonegotiate
power inline never
channel-group 45 mode active
spanning-tree portfast
!
interface TenGigabitEthernet2/0/45
description FreeNAS2
switchport trunk native vlan 3
switchport trunk allowed vlan 1,3
switchport mode trunk
switchport nonegotiate
power inline never
channel-group 45 mode active
spanning-tree portfast
I have done this with Cisco, HP, and H3C switches, but I don't have any experience with Ubiquiti