Configuring the Basic Network Settings using the Command Line Interface

Configuring the Basic Network Settings using the Command Line Interface

The network settings can be configured manually via Command Line if there are no DHCP servers in the network or it is to be changed to dynamic IP to static IP.
Follow the steps to configure the Network settings via CLI
  1. When the prompt appears type cd /settings/network_connections/ETH0/
  2. Configure the settings as below
    1. set description=management-port
    2. set connect_automatically=yes
    3. set ipv4_mode=static
    4. set ipv4_address=<IPv4 Address>
    5. set ipv4_bitmask=<Subnet mask>
    6. set ipv4_gateway=<IPv4 Gateway Address>
    7. set ipv4_dns_server=<DNS server>
    8. set ipv4_dns_search=<DNS Lookup>
  3. Enter show to verify the changes.
  4. For changes to be saved type commit. 


    • Related Articles

    • export_settings and import_settings

      The export_settings and import_settings are CLI features that allow you to export/import the entire or partial (subtree or the configuration of a given path) configuration in a text format. The input and output can be a file or standard input/output ...
    • Configuring the Basic Network Settings using the Command Line Interface

    • LLDP Settings

      Nodegrid supports LLDP on its network interfaces. The Nodegrid advertises its identity and capabilities information on the LAN, as well as receiving same information from other devices with this feature enabled. To enable LLDP on the NodeGrid, follow ...
    • Network Configuration via CLI

      Example of configuring the ETH0 interface via CLI (please, replace the network values with your own information). Log in as admin to the Nodegrid console port or HDMI Type the following commands (in bold): [admin@nodegrid /]# cd ...
    • Network Failover with Huawei E3276 USB Wireless Modem

      The E3276 USB wireless modem reports itself as a network device. So you will have to add a network connection in Nodegrid that binds to it. Here are the steps: 1. Login as admin in the Web UI and browse to Network, then Connections. Click Add and ...