Where Are Log Files of a Switch Saved and How Do I View Log Files?

Latest reply: Apr 2, 2016 06:14:43 1792 1 0 0
Where Are Log Files of a Switch Saved and How Do I View Log Files?
  • x
  • convention:

gennady_fedonov Created Apr 2, 2016 06:14:43 Helpful(0) Helpful(0)


A switch can save logs and alarms in log files. The log file saving method varies depending on product models and versions.
All fixed switches running V200R002C00 or V200R003C00, and S5300SI, S5300EI, S5300HI, and S6300 running V200R005C00 or a later version:

User logs are created after the switch restarts or the save logfile command is executed. These logs are saved in the syslogfile folder in standard zip format. The file name of a log file starts with syslogfile, followed by the time when the file is created, for example, syslogfile-2013-06-26-09-59-10.zip.
Important information log files are created after a system restart and on 00:00 every day. These logs are saved in the resetinfo folder in standard zip format. The name of an important information log file created after a system restart starts with reset-sysinfo, for example, reset-sysinfo-2013-06-06-23-40-32.zip. The name of an important information log file automatically created on 00:00 starts with sysinfo, for example, sysinfo-2013-06-20-00-00-29.zip.
S2350, S5300LI, S5320SI, S5310EI, S5320EI, and S6320EI running V200R005C00 or a later version:

The system periodically saves information in the log buffer to a user log file (log.log) and a diagnostic log file (log.dblg), which are saved in the logfile folder. When the two log files exceed the specified size, the system compresses them into zip packages and names the compressed files date time.log.zip and date time.dblg.zip, for example, 2013-08-14.04-55-23.log.zip and 2013-09-05.05-15-23.dblg.zip.

Important information log files are created after a system restart and on 00:00 every day. These logs are saved in the resetinfo folder in standard zip format. The name of an important information log file created after a system restart starts with reset-sysinfo, for example, reset-sysinfo-2013-06-06-23-40-32.zip. The name of an important information log file automatically created on 00:00 starts with sysinfo, for example, sysinfo-2013-06-20-00-00-29.zip.
Perform the following steps to obtain logs and alarms from log files:
Run the save logfile command to save information in the log buffer to a log file.
Upload all files in flash:/syslogfile/ (or flash:/logfile/ in V200R005C00 and later versions) and flash:/resetinfo/ to your computer through FTP or TFTP.
NOTE:
If a fault occurs in a stack, for example, the stack splits or restarts unexpectedly, collect log files on all the member switches.

  • x
  • convention:

Reply

Reply
You need to log in to reply to the post Login | Register

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " Privacy."
If the attachment button is not available, update the Adobe Flash Player to the latest version!

Login and enjoy all the member benefits

Login
Fast reply Scroll to top