Raritan Computer EMX2-111 Manuale Utente

Pagina di 379
 
Chapter 10: Using the Command Line Interface 
 
 
305
 
 
Determining the Time Setup Method 
This command syntax determines the method to configure the system 
date and time. 
config:# 
time method <method> 
 
Variables: 
 
<method> is one of the time setup options: manual or ntp
Mode 
Description 
manual 
The date and time settings are customized. 
ntp 
The date and time settings synchronize with a 
specified NTP server. 
 
 
Example 
The following command sets the date and time settings by using the NTP 
servers. 
config:# 
time method ntp 
 
 
Setting the NTP Parameters 
A time configuration command that is used to set the NTP parameters 
begins with time ntp
 
 
Specifying the Primary NTP Server 
This command syntax specifies the primary time server if 
synchronization with the NTP server is enabled. 
config:# 
time ntp firstServer <first_server> 
 
Variables: 
 
The <first_server> is the IP address or host name of the primary 
NTP server.