ZXR102900SeriesUserManual
CommandFunction
zte(cfg)#setntp{enable|disable}Thisenablesordisables
NTP .
zte(cfg)#setntpauthenticate{enable|
disable}
Thisenablesordisable
NTPauthentication.
zte(cfg)#setntpaddauthentication-key
<keyid>md5<string>
ThissetsNTP
authentication-key.
<string>has1–16
characters.
zte(cfg)#setntpaddtrusted-key<keyid>ThissetsNTP
trusted-key.
zte(cfg)#setntpdeleteauthentication-
key<keyid>
ThisdeletesNTP
authentication-key.
zte(cfg)#setntpdeletetrusted-key
<keyid>
ThisdeletesNTP
trusted-key.
zte(cfg)#setntpserver<A.B.C.D>key
<keyid>
ThissetsNTPserver
key.
zte(cfg)#setntpclock-period
<5-2147483647>
Thissetstheperiodof
NTPsynchronization.
Theunitissecond,the
defaultis10s.
zte(cfg)#setntpserver<A.B.C.D>[vers
ion<1,2,3>]
Thissetsipaddressand
versionidofNTPserver .
zte(cfg)#setntpsource<A.B.C.D>
ThissetsthesourceIP
addressthatisused
forswitchtosendNTP
packet.
zte(cfg)#setntptimezone<(-12)-(+13)>ThissetsNTP
time-zone.
zte(cfg)#showntpThisviewsthecurrent
statusandconguration
informationofNTP
module.
NTPConfigurationExample
SupposethatswitchandNTPserver(IPaddressis202.10.10.10
)implementtimesynchronization.MakesurethatswitchandNTP
servercanpingeachothersuccessfully.TheNTPmoduleiscon-
guredasfollows:
zte(cfg)#setntpserver202.10.10.10
zte(cfg)#setntpenable
zte(cfg)#showntp
ntpprotocolisenable
ntpprotocolversion:3
ntpserveraddress:202.10.10.10
ntpsourceaddress:None
ntpis_synchronized:No
ntprcvstratum:16
184CondentialandProprietaryInformationofZTECORPORATION