Enterasys Enterasys Matrix DFE-Gold Series Guide de l'utilisateur Page 82

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 138
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 81
Configuring Syslog Servers, Applications, and Console Logging
6-4 Managing Syslog
About Server Versus Application Severity Levels
ThedefaultSyslogconfigurationallowsclientapplicationstogeneratemessagesonaseverity
levelof6andtheSyslogservertologmessagesfromclientsataseveritylevelof8.Thismeansthat
allenabledserverswillacceptmessagesfromallloggingapplicationsgeneratedforerror
conditionsatlevels6,
7and8.Youcanusetheproceduresdescribedinthischaptertochange
theseparameters,modifyingtheloggingbehaviorbetweenoneormoreclientapplicationsand
oneormoreservers.
Enabling Syslog Server(s)
UsethefollowingcommandstoenableSyslogononeormoreserversandverifythe
configuration:
1. EnableSyslogonaserverIP:
set logging server index ip-addr ip-addr state enable
Indexisavaluefrom1to8thatspecifiestheservertableindexnumberforthisserver.
2. (Optional)Verifytheserverconfiguration:
show logging server [index]
Ifindexisnotspecified,informationforallconfiguredSyslogserverswillbedisplayed.
Example
ThissampleoutputfromtheshowloggingservercommandshowsthatSysloghasbeen
enabledontwoservers.TheseserversareusingthedefaultUDPport514toreceivemessages
fromclientsandareconfiguredtologmessagesfromthelocal1andlocal2facilities,
respectively.Loggingseverityonbothserversis
setat5,whichwillrecordwarning
conditions.Thesesettingscanbe changedonaperserverbasis,orforallserversusingthe
commandsdescribedinthenextsection.
Modifying Syslog Server Defaults
Unlessotherwisespecified,serversenabledforSyslogwillautomaticallyadoptfactorydefault
settingsforfacilitynameanddescription,messageseveritylevel,andUDPportnumber.Usethe
followingcommandstochangethesesettingseitherduringorafterenablinganewserver.
Displaying system logging defaults
Todisplaysystemloggingdefaults,oralllogginginformation,includingdefaults:
show logging {default|all}
Matrix(rw)->show logging server
IP Address Facility Severity Description Port Status
-------------------------------------------------------------------------
1 132.140.82.111 local1 warning(5) default 514 enabled
2 132.140.90.84 local2 warning(5) default 514 enabled
Vue de la page 81
1 2 ... 77 78 79 80 81 82 83 84 85 86 87 ... 137 138

Commentaires sur ces manuels

Pas de commentaire