How to disable the log display function on the terminal or console

5

For S series switches (except the S1700), run the following commands in the user view to disable the log display function on the terminal or console:
- Run the undo terminal debugging command to disable debug message display on the terminal or console.
- Run the undo terminal logging command to disable log display on the terminal or console.
-Run the undo terminal monitor command to disable the terminal or console from displaying messages sent by the information center, such as the messages displayed upon console login.
- Run the undo terminal trapping command to disable trap display on the terminal or console.

Other related questions:
How to enable log display on the terminal or console for S series switches
For S series switches (except the S1700), you can use the following commands to enable log display on the terminal or console: - terminal debugging: enables the debug message display function on the terminal or console. - terminal logging: enables the log display function on the terminal or console. - terminal trapping: enables the trap display function on the terminal or console. - terminal monitor: enables the terminal or console to display messages sent from the information center. The terminal or console displays messages only after the terminal monitor command and any of the other three commands are configured. This function is enabled by default if you log in to the console through the console port. This function is disabled by default if you log in to the terminal using Telnet, and must be enabled using the terminal monitor command.

How do I disable the function of allowing terminals to dynamically register with the SC?
The function of allowing terminals to dynamically register with the SC can be disabled on the SMC2.0 R3. Log in to the SMC2.0 web interface, choose Devices > Switch Centers, and select the desired SC. On the Zone Management tab, select the defaultEPZone node and click Edit. In the window that is displayed, select Require authentication and click Save.

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.

Why cannot logs of CE series switches be exported to the console
Logs cannot be exported to the console if the log or console display is disabled. To export logs to the console, enable the log and console display.
<HUAWEI> terminal logging
<HUAWEI> terminal monitor

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