How to view logs and alarms on S series switches

For S series switches (except the S1700), logs are stored first in the log buffer. When the number of logs reaches the threshold, they will be stored in the syslogfile or logfile folder of the storage card on the device. To view log files and the log buffer, run the following commands:
- To view log files in the logfile folder, run the following commands in the user view:
cd logfile//Access the root directory of the logfile folder
dir//Display all files in the root directory
Directory of flash:/logfile/


Idx Attr Size(Byte) Date Time FileName
0 -rw- 516,885 Feb 14 2009 02:13:14 2009-02-14.02-13-00.dblg.zip
1 -rw- 479,440 Jan 17 2009 04:10:43 2009-01-17.04-10-30.dblg.zip
2 -rw- 484,459 Jan 25 2009 19:35:59 2009-01-25.19-35-45.dblg.zip
3 -rw- 160,660 Mar 17 2009 14:27:58 2009-03-17.12-27-52.dblg.zip
- To check the detailed logs in the log files, run the display logfile logfile/xxxx command, in which xxxx indicates the log file name.
- To view logs in the log buffer, run the display logbuffer command.
- To view logs in the trap buffer, run the display trapbuffer command.
- To view the uncleared alarms after the device starts, run the display alarm active command.
- To view historical alarms recorded after the device starts, run the display alarm history command.
- To view alarms related to device hardware management, run the display alarm urgent [ slot slot-id | time interval ] command. This command applies only to S series fixed switches.
For the meaning of logs, you can log in to Huawei Enterprise Product & Service Support , download the appropriate Log Reference and Alarms Handling documents, and find the meaning for specific logs.

Scroll to top