ZXR102900ESeriesCongurationGuide
TheSyslogprotocolisclassiedbyinformationsourceandtheinformationislteredby
functionmodule,whichsatisescustomizeduserdemands.
TheSyslogprotocolcanclassifytheloginformationintoeightlevelsfromthehighestto
thelowestlevelofimportance.Foradescriptionofthelevels,refertoT able5-2.
Table5-2SyslogLogInformation
SeverityLevelDescription
EmergenciesCrucialfault.
AlertsFaultthatmustbecorrectedquickly.
CriticalKeyfault.
ErrorsFaultthatneedstobenoticedbutnotimportant
WarningsWarning,indicatingapotentialfault.
NoticationsInformationthatneedstobenoticed.
InformationalGeneralpromptinformation.
DebuggingDebuginformation.
ConguringSyslog
TheSyslogcongurationincludesthefollowingcommands:
CommandFunction
zte(cfg)#setsyslogmodule{all|arp-inspection|commandlog|
dhcp|radius|AAA}{enable|disable}
Enablesordisablesthesyslog
module.
zte(cfg)#setsysloglevel{emergencies|alerts|critical|errors|
warnings|notifications|informational|debugging}
Denesthesysloginformation
level.
zte(cfg)#setsyslogaddserver<1-5>ipaddress
<A.B.C.D>[name<name>][<0-65535>]
Setsthesyslogserver.
zte(cfg)#setsyslogdeleteserver<1-5>Deletesthesyslogserver.
zte(cfg)#setsyslog{enable|disable}Enablesordisablesthesyslog
functionglobally.
showsyslogstatus(allcongurationmodes)Displaysthesyslogconguration.
SyslogCongurationInstance
lCongurationDescription
Supposethatthesyslogfunctionoftheswitchisenabled,informationlevelis
informational,allfunctionmodulesareenabled,theserverIPaddressis192.168.1.1,
andthenameisSrv1.
lCongurationProcedure
zte(cfg)#setsyslogenable
zte(cfg)#setsysloglevelinformational
5-90
SJ-20130731155059-002|2013-11-27(R1.0)ZTEProprietaryandCondential