How to view log and alarm information on CE series switches

12

Run the following command to view log information:
<HUAWEI> display logbuffer
Run the following command to view alarm information:
<HUAWEI>display trapbuffer

Other related questions:
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.

How to view information such as the interface status and packet statistics on a CE series switch
Perform the operations described on the right to view information such as the interface status and packet statistics.

How to enable or disable terminal information display on a CE series switch
By default, a terminal displays alarm or log information on a device when you log in to a device through a console port. You can run a command to determine whether to allow a terminal to display the information.
 
Disable information display.
<HUAWEI> undo terminal alarm //Disable the alarm information display function on the terminal.
<HUAWEI> undo terminal logging //Disable the log information display function on the terminal.
<HUAWEI> undo terminal debugging //Disable the debugging information display on the terminal.
<HUAWEI> undo terminal monitor //Disable the monitoring information display on the terminal.
After the undo terminal monitor command is executed, all prompt messages are not displayed, including alarms, logs, and debugging information.

Enable information display.
<HUAWEI> terminal monitor //Enable the monitoring information display on the terminal.
<HUAWEI> terminal alarm //Enable the alarm information display function on the terminal.
<HUAWEI> terminal logging //Enable the log information display function on the terminal.
<HUAWEI> terminal debugging //Enable the debugging information display on the terminal.

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