Chapter8log
logcount
Command
Function
Thiscommandisusedtoviewthetotalnumberoflogs.
CommandFormatlogcount
ExampleT oviewthetotalnumberoflogs,executethefollowingcommand:
#logcountTotallog:351
loglevel_set
Command
Function
Thiscommandisusedtosetthelevelsatwhichlogsaretransmit-
tedtologserver .
CommandFormatloglevel_set<number>
Parameter
Description
Parameter
Description
<number>Thisisonenumber,indicatingloglevel,
rangingfrom0to8,where0indicates
seriouserrorsthatcauseunavailabilityof
system,1indicatesalarmmessages,2
indicateserrorsthatcauseunavailability
ofpartialsystemfunctions,3indicates
commonerrormessages,4indicates
allattacksandunauthorizedaccesses
(exceptforcommunicationlog),5indicates
operationrecordofadministrator,6indicates
commoneventrecord,7indicatesdebugging
informationofdeveloper,and8indicates
diagnosislog.
ExampleT otransmitlevel5(andbelow)logtologserver ,executethefol-
lowingcommand:
#loglevel_set5
logtype_setadd
Command
Function
Thiscommandisusedtoaddlogtypetransmittedtologserver .
CommandFormatlogtype_setadd<string>
Parameter
Description
Parameter
Description
<string>
Thisisonestring,indicatinglogtype,
including:mgmt,system,pf,conn,ac,
secure,dpi,vpn,avse,sslvpn_conn,
sslvpn_admin,sslvpn_system,allornone.
ExampleT otransmitvpn-typlogstologserver ,executethefollowingcom-
mand:
ConfidentialandProprietaryInformationofZTECORPORATION91