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

  • 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 84
Configuring Syslog Servers, Applications, and Console Logging
Matrix DFE Series and N-SA User’s Guide 6-7
Enabling Console Logging and File Storage
YoucanconfigureloggingtodisplaymessagestothecurrentconsoleCLIsessiononly,orto
displaytotheconsoleandsavetoapersistentfile.Consoleloggingallowsyoutoviewonlyas
manymessagesaswillfitonthescreen.Asnewmessagesappear,oldmessagessimplyscrolloff
theconsole.Whilethisisatemporarymeansoflogginginformation,itallowsadministratorsto
trackveryspecificactivitiesquicklyandeasily.Consolelogmessagescanalsobesavedtoa
persistentfileattwolocations:
slotX/logs/current.logLocationofcurrentsystemlogmessages(upto256k),whereX
specifies
theslotlocationofthedevice.
slotX/logs/old.logLocationofprevioussystemlogmessages,whereXspecifiestheslot
locationofthedevice.Currentmessageswillbemovedtotheold.logwhencurrent.logfile
exceeds256k.
Usethefollowingcommandstoreviewandconfigureconsoleloggingandfilestorage.
Displaying to the console and saving to a file
Todisplaylogmessagestotheconsoleandsavetoapersistentfile:
set logging local console enable file enable
Displaying to the current CLI session
TodisplayloggingtothecurrentCLIconsolesession:
set logging here enable
ThisaddsthecurrentCLIsessiontothelistofSyslogdestinations,andwillbetemporaryif
thecurrentCLIsessionisusingTelnetorSSH.
Displaying a log file
Todisplaythecontentsofthepersistentlogfile:
show file slotslotnumber/logs/current.log|old.log
Note: These log files may also be copied to another device using FTP or TFTP.
Zobrazit stránku 84
1 2 ... 80 81 82 83 84 85 86 87 88 89 90 ... 137 138

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

Žádné komentáře