Start a conversation

Exinda CLI: IP

Overview

 

This article provides information regarding the Exinda CLI command ip which is used to configure IP network settings.

 


Information

 

NOTE:  The following syntax convention is used:
  • {}: Options are enclosed in braces and are separated by '|'
  • []: Optional keywords are enclosed in brackets
  • <>: User input is required where variables are enclosed in greater-than and less-than symbols

The table below details the different commands which are used for the configuration of the IP network settings:

Action Description 

Commands  Parameter Description 
To configure a default IPv4 gateway ip default-gateway {<IPv4 address>|<interface>}
  • <IPv4 address> - Set the next-hop IP address
  • <interface> - Set the interface name
To configure a DNS server ip name-server <IPv4 or IPv6 address>

Not Applicable

To configure the kernel neighbor table size

ip neighbour size <size> Not Applicable 

To ensure a static host mapping for the current hostname

ip map-hostname Not Applicable 

To add a domain name to use when resolving hostnames

ip domain-list <domain-name> Not Applicable 
To add a static IPv4 route ip route <network-prefix> [{<netmask>|<mask-length>} <next hop IP address or interface name>
  • <network-prefix> - IP address
  • <netmask> - e.g. 255.255.255.0
  • <mask-length> - e.g. /24
To configure netflow export ip flow-export

For more information refer to CLI: Netflow.

 

Configuring Global DHCP Settings

You can also configure the global DHCP settings by using the ip command.

 

 Action Description

Commands

Configure DHCP settings for the default gateway. Do not install a default gateway from DHCP if there is already a statically configured one.

ip dhcp default-gateway yield-to-static

Specify the hostname to be sent during DHCP client negotiation (if send-hostname is enabled)

ip dhcp hostname <homename>

Set the interface from which non-interface-specific configuration (resolver and routes) will be accepted via DHCP

ip dhcp primary-intf <interface-name>

Enable the DHCP client to send a hostname during the negotiation

ip dhcp send-hostname

 

Examples

  • Configure eth1 with address 192.168.0.98 /24, gateway 192.168.0.1 and Bridge br1 enabled.

    interface eth1 ip address 192.168.0.98 /24
    ip default-gateway 192.168.0.1
    bridge br1 enable
  • Enable IPv6 autoconfig (SLAAC) on interface eth1

    interface eth1 ipv6 address autoconfig
  • Configure a DNS server

    ip name-server 192.168.0.1

 

Notes

  • To configure interface specific settings (e.g., address or speed/duplex/mtu), use the interface command.
  • To configure the IPv6 settings, use the ipv6 command.

Find more CLI commands.

Back to Top

Choose files or drag and drop files
Was this article helpful?
Yes
No
  1. Priyanka Bhotika

  2. Posted
  3. Updated

Comments