Chapter4ServiceConguration
Syntax
commandlogtoFile
Guidelines
Thelogsareinthecommand_log.datleintheFlashmemory.Whenthecomman
d_log.datisdetectedduringdevicerestart,theleisbackedupasthecommand_
log_backup.datleautomatically.Theprimarycommand_log_backup.datleis
overwritten.Youcanmodifythenameofthecommand_log_backup.datlemanually
onthebootManagerscreenifnecessary.
4.1.80commandlogtimer
Purpose
Thiscommandsetstheautomaticsavingfunctionofloginformation.
CommandMode
Globalcongurationmode
Syntax
commandlogtimer{enable|disable|interval<1-720>}
ParameterDescription
ParameterDescription
enableEnablestheautomaticsavingfunction.
disableDisablestheautomaticsavingfunction.
intervalSetstheintervalofsavingloginformationtotheFlashmemory.
<1-720>Intervalofsavingloginformation,unit:hours.
Default
24hours
Example
Thefollowingexamplesetstheintervalofsavingloginformationautomaticallyto10hours:
zte(cfg)#commandlogtimerinterval10
4.1.81showcommandloguser
Purpose
Thiscommandshowshistoricalcongurationcommandsbasedonusers.
4-41
SJ-20130731155059-003|2013-11-27(R1.0)ZTEProprietaryandCondential