TrueNAS SCALE Documentation Archive
This content follows the TrueNAS SCALE 22.12 (Bluefin) releases. Archival documentation is provided for reference only and not actively maintained.
Use the Product and Version selectors above to view content specific to different TrueNAS software or major versions.
Interface
2 minute read.
Last Modified 2024-03-19 08:47 EDTThe SCALE CLI guide is a work in progress! New namespace and command documentation is continually added and maintained, so check back here often to see what is new!
The interface namespace has 24 commands based on functions found in the SCALE API and web UI. These commands return interface and options by type (bridge, VLAN, etc.), allow you to add or manage settings, get interface and IP address information, and commit or roll back network changes for interfaces on the system. Options can vary by the type of system and license applied (i.e., an HA system).
You can enter commands from the main CLI prompt or from a network namespace prompt.
This section covers assigning an IP address to a network interface.
Enter network interface.
If you do not already know the interface you want to configure, enter query to display a list of all physical network interfaces.

To edit the interface, enter update interfacename aliases=["ipaddress/subnetmask"] ipv4_dhcp=false
The CLI displays the message: “You have pending network interface changes. Please run ’network interface commit’ to apply them.”
Enter commit to apply the changes, then enter checkin to make them permanent.

Enter query to make sure the TrueNAS applies the changes successfully.
Enter .. to exit interface and go up one level to the network menu.



 
 TrueNAS Enterprise
TrueNAS Enterprise TrueNAS SCALE
TrueNAS SCALE TrueNAS CORE
TrueNAS CORE Compare Editions
Compare Editions TrueCommand
TrueCommand Software Status
Software Status FreeNAS
FreeNAS Compare Systems
Compare Systems F-Series
F-Series M-Series
M-Series H-Series
H-Series R-Series
R-Series Mini Series
Mini Series Download TrueNAS SCALE
Download TrueNAS SCALE Download TrueNAS CORE
Download TrueNAS CORE Get TrueNAS Enterprise
Get TrueNAS Enterprise Contact an Enterprise Specialist
Contact an Enterprise Specialist