Chapter4ServiceConīæguration
zte(cfg-router)#setipport1enable
zte(cfg-router)#exit
4.22SyslogConīguration
SyslogOverview
SyslogisanimportantpartofEthernetswitchandistheinformationjunctioncenterof
systemsoftwaremodule.Syslogmanagesmostofimportantinformationoutputand
classiīæesindetail,whichīælterstheinformationeffectivelyandprovidesthestrongsupport
fornetworkadministratoranddevelopmentstafftomonitornetworkrunningstatusand
diagnosenetworkfault.
Syslogisclassiīæedbyinformationsourceandinformationisīælteredbyfunctionmodule,
whichsatisīæesusercustomizeddemand.
AsshowninTable4-2,syslogcanclassifytheloginformationfromthetopdownintoeight
levelsaccordingtoimportance.Informationīæltersfromlowleveltohighlevel.
Table4-2SyslogLogInformation
SeverityLevelDescription
Emergenciescrucialfault
Alertsthefaultthatmustbecorrectedquickly
Criticalkeyfault
Errorsthefaultneedtobenoticedbutnotimportant
Warningswarn,maybeamistakeexists
Notiīæcationstheinformationthatneedstobenoticed
Informationalgeneralpromptinformation
Debuggingdebuginformation
ConīguringSyslog
TheSyslogconīægurationincludesthefollowingcommands:
CommandFunction
zte(cfg)#setsyslogmodule{all|arp-inspection|commandlog|dhcp|radius
|AAA}{enable|disable}
Enablesordisablessyslogmodule.
zte(cfg)#setsysloglevel{emergencies|alerts|critical|errors|warnings|
notifications|informational|debugging}
Deīænessysloginformationlevel.
zte(cfg)#setsyslogaddserver<1-5>ipaddress<A.B.C.D>[name
<name>][<0-65535>]
Setssyslogserver.
zte(cfg)#setsyslogdeleteserver<1-5>Deletessyslogserver.
4-77
SJ-20120409144109-002|2012-07-02(R1.0)ZTEProprietaryandConīædential