ZXR102900ESeriesCongurationGuide
CommandFunction
zte(cfg)#setntpsource<A.B.C.D>SetsthesourceIPaddressthatis
usedfortheswitchtosendNTP
packets.
zte(cfg)#setntpclock-period<5-2147483647>SetstheperiodofNTP
synchronization.
zte(cfg)#setntptimezone<(-12)-(+13)>SetsNTPtime-zone.
zte(cfg)#setntp{enable|disable}EnablesordisablesNTP .
zte(cfg)#setntpsrc-udp-port{123|1000}SetstheIDoftheudpportthrough
whichNTPmessagesaresent.
showntp(allcongurationmodes)DisplaysNTPconguration.
NTPCongurationInstance
lCongurationDescription
SupposethattheswitchandNTPserver1(IPaddressis202.10.10.10)andNTP
server2(IPaddressis201.10.10.10)implementtimesynchronization.Makesure
thattheswitchandNTPservercanpingeachothersuccessfully.TheNTPmoduleis
conguredasfollows:
lCongurationProcedure
zte(cfg)#setntpserver202.10.10.10
zte(cfg)#setntpsecond-server201.10.10.10
zte(cfg)#setntpenable
lCongurationVerication
zte(cfg)#showntp
ntpprotocolisenable
ntpserveraddress:202.10.10.10
ntpsourceaddress:None
ntpsourceudpport:1000
ntpis_synchronizedforsecondserver:Yes
ntprcvstratum:16
noreferenceclock.
ntptimezone:0
Inthedisplayedinformation,“ntpis_synchronizedforsecondserver”meansthe
currentswitchtimeissynchronizedwiththatoftheserver2.
5-92
SJ-20130731155059-002|2013-11-27(R1.0)ZTEProprietaryandCondential