The new docs.trellix.com features a modernized UI and AI-powered conversational search. Content is currently available in English, with additional languages launching in early November 2026. We hope you enjoy the updated experience.

Configuring basic network settings using the CLI

Prev Next

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