This function takes effect only on display commands.
Enable the session command timestamp function.
Run terminal command timestamp
The command timestamp function is enabled for an existing session.
After this function is enabled, the device displays the current system date and time once you enter any command and press Enter.
The terminal command timestamp command takes effect on commands executed only within the existing user session. After you log out of and log in to the device, the command timestamp function becomes invalid and needs to be reconfigured.
If you run the timestamp enable command and then the undo terminal command timestamp command, the timestamps are displayed after you run display commands, but are not displayed after you run non-display commands.