Alcatel Carrier Internetworking Solutions Switch/Router 用户手册

下载
页码 1100
NTP Configuration Menu
Page 12-6
NTP Configuration Menu
To view the 
NTP
 configuration menu, enter the 
ntconfig
 command at the system prompt. If 
you are in verbose mode the 
NTP
 configuration menu is displayed. Otherwise, enter a ques-
tion mark (
?
) at the prompt to display this menu:
Command      
NTP Configuration Menu
--------------- 
--------------------------------------------------------
ntpiconfig   
Initial NTP configuration
ntpaddpeer   
configure a new peer association
ntpaddserv   
configure a new server
ntpbcast     
configure broadcasting time service
ntpunconfig 
unconfigure existing peer assocations
ntpprec      
set the server's advertised precision
ntpfudge     
set/change one of a clock's fudge factors
 
      Related Menus:
      Ntconfig    Ntinfo    Ntstats    Ntadmin    Ntaccess
The main menu options are shown in the 
Related Menus
 list for quick access if you need to 
change menus.
A switch can be configured to act as an 
NTP
 client, or an 
NTP
 client/server. An 
NTP
 client 
receives updates from an 
NTP
 server without passing on time information to other clients, 
while and 
NTP
 client/server receives time information from a server, and acts as a server for 
other clients in a higher stratum. 
Configuring an NTP Client
To set up the NTP client, use the 
ntpiconfig
 command as follows:
1. Enter the command as shown, at the system prompt:
ntpiconfig
The following menu appears:
NTP Startup Configuration
1) Response timeout
: 0
2) Authentication delay
: No
3) Authentication key file name
: UNSET
4) NTP client mode
: Ucast
5) Enable monitor
: No
6) Enable NTP server
: No
2. Adjust the configurable variables for this 
NTP
 client as needed by entering the line 
number, and equal sign, and a new value at the system prompt, as shown:
<lineNumber>=<value>
For example, to change the 
Response timeout
 to 10, you would enter 
1
 (the line number 
for 
Response timeout
), an equal sign (
=
), and the number 
10
 (the new value), as shown:
1=10
After enabling 
NTP
 for this switch, you need to configure at least one peer association, unless 
you will be supplying time synchronization. In that case, you need to configure a reference 
clock.