Ntp Configuration Example - Zte ZXR10 2900 Series User Manual

Intelligent
Table of Contents

Advertisement

ZXR10 2900 Series User Manual
184
Confidential and Proprietary Information of ZTE CORPORATION
Command
set ntp {enable | disable}
zte(cfg)#
set ntp authenticate {enable |
zte(cfg)#
disable}
set ntp add authentication-key
zte(cfg)#
<keyid> md5 <string>
set ntp add trusted-key <keyid>
zte(cfg)#
set ntp delete authentication-
zte(cfg)#
key <keyid>
set ntp delete trusted-key
zte(cfg)#
<keyid>
set ntp server <A.B.C.D> key
zte(cfg)#
<keyid>
set ntp clock-period
zte(cfg)#
<5-2147483647>
set ntp server <A.B.C.D>[vers
zte(cfg)#
ion <1,2,3>]
set ntp source <A.B.C.D>
zte(cfg)#
set ntp timezone <(-12)-(+13)>
zte(cfg)#
show ntp
zte(cfg)#

NTP Configuration Example

Suppose that switch and NTP server ( IP address is 202.10.10.10
) implement time synchronization. Make sure that switch and NTP
server can ping each other successfully. The NTP module is con-
figured as follows:
zte(cfg)#set ntp server 202.10.10.10
zte(cfg)#set ntp enable
zte(cfg)#show ntp
ntp protocol is enable
ntp protocol version : 3
ntp server address
ntp source address
ntp is_synchronized
ntp rcv stratum
: 202.10.10.10
: None
: No
: 16
Function
This enables or disables
NTP.
This enables or disable
NTP authentication.
This sets NTP
authentication-key.
< string > has 1–16
characters.
This sets NTP
trusted-key.
This deletes NTP
authentication-key.
This deletes NTP
trusted-key.
This sets NTP server
key.
This sets the period of
NTP synchronization.
The unit is second, the
default is 10s.
This sets ip address and
version id of NTP server.
This sets the source IP
address that is used
for switch to send NTP
packet.
This sets NTP
time-zone.
This views the current
status and configuration
information of NTP
module.

Advertisement

Table of Contents
loading

Table of Contents