--- title: "Configuring basic network settings using the CLI" slug: "configuring-basic-network-settings-using-the-cli-3" tags: ["File Protect (FX)", "Product Usage"] updated: 2026-09-08T23:38:14Z published: 2026-09-08T23:38:14Z canonical: "docs.trellix.com/configuring-basic-network-settings-using-the-cli-3" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.trellix.com/llms.txt > Use this file to discover all available pages before exploring further. # Configuring basic network settings using the CLI Use the commands in this topic to configure the network settings manually. To configure basic network settings: 1. Go to CLI configuration mode: ``` hostname > enable hostname # configure terminal ``` 2. To disable DHCP for the interface: ``` hostname (config) # no interface ether1 dhcp ``` ### Note If you use DHCP and there is no network connection for the management interface, do the following: 1. Restore the network connection. 2. Disable DHCP. 3. Enable DHCP. 3. Set the interface IP address and network mask. For example: ``` hostname (config) # interface ether1 ip address 1.1.1.1 255.240.0.0 ``` 4. Specify the default gateway. For example: ``` hostname (config) # ip default-gateway 1.1.1.2 ether1 ``` 5. Specify a DNS server. For example: ``` hostname (config) # ip name-server 10.10.20.5 ``` 6. Save your changes. ``` hostname (config) # write memory ``` :