TrueNAS setup is fairly straight forward, and well documented. However, there are a few things the documentation does not cover.
When TrueNAS is first installed, it assumes you will be doing the configuration from the WebUI. However, you can use the cli menu for some basic things.
In my case, I had several instances where I was installing TrueNAS on a network that used DHCP, Link Aggregation (LAGG) and Virtual LAN's (VLAN's) defined on the network switch. The CLI is not exactly self explanatory on how this works.