How to use logs to view operation records on S series switches


To record operation commands in logs on S series switches (except the S1700), run the following command:
info-center source SHELL channel logbuffer log level debugging state on
You can then run the display logbuffer command to view the commands executed after you log in to the device.

Other related questions:
Checking historical operation records on an S series switch
By default, an S series switch (except the S1700) saves a maximum of 10 historical commands for each user. You can run the history-command max-size size-value command in the user interface view to reset the number of historical commands that can be saved. The maximum number is 256. You can also run the display history-command [ all-users ] command in any view to check historical commands stored on a switch. Note: If all-users is not specified in this command, the historical commands entered by the current user are displayed. If all-users is specified in this command, the historical commands entered by all users are displayed. (Only users at level 3 or a higher level can specify this parameter in this command.)

Does the log buffer of S series switches record all logs
The log buffer only records some logs. For S series switches (except the S1700), two factors determine the logs recorded by log buffer. - By default, the log buffer only records logs at levels lower than the warning level (level 4); therefore, logs at levels 0 to 4 are recorded in the log buffer, whereas logs at levels 5 to 7 are not recorded. You can run the info-center source { module-name | default } channel { channel-number | channel-name } log { state { off | on } | level severity } * command to configure the levels of logs that can be recorded in the log buffer. - The space of the log buffer is limited. If the number of logs in the log buffer reaches the maximum, new logs will replace the earliest logs in the log buffer. By default, the log buffer can hold a maximum of 512 logs. You can run the info-center logbuffer size size command to configure the maximum number as 1024.

How to view log history on S series switches
For S series switches (except the S1700), you can only view the latest cached logs and traps in the buffer. If you want to view earlier messages, run the display logfile file-name command to check log files stored in the logfile or syslogfile folder on the storage card.

In FusionStorage,How to View and Export Operation Logs.
1. On FusionStorage, choose System > Tasks and Logs > Operation Logs. The Operation Logs page is displayed. The operation logs of the FusionStorage system are displayed in the log list. 2. Check whether the logs need to be exported. ? If yes, go to Step 3. ? If no, no further action is required. 3. Click Export and save the logs to a required directory as prompted. The operation logs are successfully exported.

If you have more questions, you can seek help from following ways:
To iKnow To Live Chat
Scroll to top