How to enable the timestamp in logs for S series switches

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.

Scroll to top