ZXR108900SeriesUserManual(BasicCongurationVolume)
CommandFunction
ZXR10#writecmdlog{flash|sd}[start-time
<date><time>][end-time<date><time>][filename
<filepath/file>]
Thissavesthecontentsin
commandlogbufferasale.
Theleissavedinash/data
directory.
Parameterdescriptions:
Parameter
Description
start-time<date><time>Thestartingtimewhenalarms
begintoberecorded.Bydefault,
itisthetimeoftheearliestalarm
logincurrentalarmbuffer .
end-time<date><time>Thetimewhenalarmoccurs.By
default,itisthetimeofthelatest
alarmlogincurrentalarmbuffer .
flashCommandlogleissavedto
ash.
sd
LogleissavedtoSDcard.By
default,itissavedtoash.
filename<filepath/file>Thepathandnameoflog
le,within32characters.By
default,thepathandnameis
/data/cmd.log.
ConfiguringSavingTimeofAlarm
Log
Eventinformationiskeptinsystembufferofaswitch.Whenthe
bufferisfull,systemclearstheearliesteventinformation.Ifsav-
ingtimeiscongured,systemclearscorrespondingeventsauto-
maticallywhenitistime.Whentherearealotofeventsandbuffer
isfullbeforesavingtimecomes,eventsareclearedaccordingto
congurationofloggingbufferclearing.Errorofsavingtimeis
within1minute.Savingtimecanbe0oravalueintherangeof
30to65335minutes.Bydefault,itis0,indicatingthatsystem
clearseventsaccordingtocongurationofloggingbufferclearing
whenbufferisfull.
Toconguresavingtimeofalarmlog,usethefollowingcommand.
CommandFunction
ZXR10(config)#writealarmlog{flash|sd}[start-time
<date><time>][end-time<date><time>][filename
<filepath/file>]
Thissavescontentsinalarmlog
bufferindesignatedleformon
otherdevices
Parameterdescriptions:
32CondentialandProprietaryInformationofZTECORPORATION