Raritan Computer EMX2-111 Manuale Utente

Pagina di 379
 
Chapter 10: Using the Command Line Interface 
 
 
243
 
 
Configuring the IPv4 Parameters 
An IPv4 configuration command begins with network ipv4
The commands are case sensitive so ensure you capitalize them 
correctly. 
 
Setting the IPv4 Configuration Mode 
This command syntax determines the IP configuration mode. 
config:# 
network ipv4 ipConfigurationMode <mode> 
 
Variables: 
 
<mode> is one of the modes: dhcp or static
Mode 
Description 
dhcp 
The IPv4 configuration mode is set to DHCP. 
static 
The IPv4 configuration mode is set to static IP 
address. 
  
 
Example 
The following command enables the Static IP configuration mode. 
config:# 
network ipv4 ipConfigurationMode static 
 
 
Setting the IPv4 Preferred Host Name 
After selecting DHCP as the IPv4 configuration mode, you can specify 
the preferred host name, which is optional. The following is the command 
syntax: 
config:# 
network ipv4 preferredHostName <name> 
 
Variables: 
 
<name> is a host name which: 
  Consists of alphanumeric characters and/or hyphens 
  Cannot begin or end with a hyphen 
  Cannot contain more than 63 characters 
  Cannot contain punctuation marks, spaces, and other symbols