How to enable the timestamp in logs for S series switches

3

For S series switches (except the S1700), logs, traps, and debug messages contain a timestamp by default to record the time when the message is generated. If messages do not contain a timestamp, run the display this command in the system view to check whether the following commands are configured and the timestamp function is disabled:
- info-center timestamp log none
- info-center timestamp trap none
- info-center timestamp debugging none
If the timestamp function is disabled, run the undo info-center timestamp command to restore default settings.

Other related questions:
How to disable the timestamp in logs on S series switches
For S series switches (except the S1700), logs, traps and debug messages carry a timestamp by default to record the time when the message is generated. You can run the following commands in the system view to disable the timestamp in logs: - info-center timestamp log none - info-center timestamp trap none - info-center timestamp debugging none

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.

Enable and disable PoE on an S series switch
Enable or disable the PoE function on S series switches:

1. By default, the PoE function is enabled on an interface
2. Enable or disable PoE power supply.
<HUAWEI>system-view
[HUAWEI]interface gigabitethernet 1/0/0
[HUAWEI-GigabitEthernet1/0/0]undo poe enable  //Disable PoE power supply.
[HUAWEI-GigabitEthernet1/0/0]poe enable       //Enable PoE power supply.

The downlink electrical interfaces of PoE switches support PoE power supply, with up to 30 W power on each interface. The maximum power supply distance is 100 m.
Only ES0D0G48VA00 (S7700)/LE0DG48VEA00 (S9300) cards of modular switches (S7700/S9700/S9300/S12700) support PoE power supply.

If the switch connects to 48 V standard PoE powered devices but cannot negotiate power supply capabilities with the devices, you can run poe force-power on the interfaces to forcibly power on the devices.


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