Enterasys Enterasys Matrix DFE-Gold Series Uživatelská příručka Strana 82

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 138
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 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
Zobrazit stránku 81
1 2 ... 77 78 79 80 81 82 83 84 85 86 87 ... 137 138

Komentáře k této Příručce

Žádné komentáře