Chapter5ServiceConguration
zte(cfg)#setsyslogmodulecommandlogenable
zte(cfg)#setsyslogaddserver1ipaddress192.168.1.1nameserver1
lCongurationVerication
zte(cfg)#showsyslogstatus
Syslogstatus:enable
Sysloglevel:informational
Syslogenabledmodules:
commandlogAAAradius
Syslogdisabledmodules:
all-others
SyslogserverIPUDPportName
1192.168.1.1514server1
5.25NTPConguration
NTPOverview
NetworkTimeProtocol(NTP)istheprotocolusedtosynchronizetheclocksbetween
networkdevices.TheZXR105250providesNTPclientfunctionandsynchronizesthe
clockwithotherNTPservers,theZXR105250alsosupportssecond-serverfunction,so
thatthetwoserversgetthetimeatthesametime.
ConguringNTP
TheNTPcongurationincludesthefollowingcommands:
CommandFunction
zte(cfg)#setntpaddauthentication-key<1-255>md5<string>SetstheNTPauthenticationkey.
zte(cfg)#setntpdeleteauthentication-key<1-255>DeletestheNTPauthentication
key.
zte(cfg)#setntp{add|delete}trusted-key<1-255>AddsordeletestheNTPtrusted
key.
zte(cfg)#setntpauthenticate{enable|disable}EnablesordisablestheNTP
authenticationfunction.
zte(cfg)#setntpserver<A.B.C.D>[version<1,2,3>|key
<1-255>]
SetstheNTPserver.
zte(cfg)#setntpsecond-server<A.B.C.D>[version<1,2,3>|key
<1-255>]
SetstheNTPsecondserver.
zte(cfg)#setntpsource<A.B.C.D>SetsthesourceIPaddressthatis
usedfortheswitchtosendNTP
packets.
zte(cfg)#setntpclock-period<5-2147483647>SetstheperiodofNTP
synchronization.
5-91
SJ-20131111172707-002|2013-11-27(R1.0)ZTEProprietaryandCondential