White Papers

Table Of Contents
show command-history
Display a buffered log of all commands all users enter along with a time stamp.
Syntax
show command-history
Defaults None
Command Modes
EXEC
EXEC Privilege
Supported Modes All Modes
Command
History
Version Description
9.9(0.0) Introduced on the FN IOM.
9.4(0.0) Supported on the FN I/O Aggregator.
8.3.17.0 Supported on the M I/O Aggregator.
Usage
Information
One trace log message is generated for each command. No password information is saved to this file.
Example Example 1: Default configuration service timestamps log datetime or service
timestamps log datetime localtime
DellEMC#show clock
15:42:42.804 IST Fri May 17 2019
DellEMC(conf)#service timestamps log datetime
DellEMC#show command-history
[May 17 15:38:55]: CMD-(CLI):[service timestamps log datetime]by default
from console
[May 17 15:41:40]: CMD-(CLI):[write memory]by default from console
- Repeated 1 time.
[May 17 15:41:45]: CMD-(CLI):[interface tengigabitethernet 0/1]by
default from console
[May 17 15:41:47]: CMD-(CLI):[shutdown]by default from console
[May 17 15:41:50]: CMD-(CLI):[no shutdown]by default from console
[May 17 15:42:42]: CMD-(CLI):[show clock]by default from console
[May 17 15:42:52]: CMD-(CLI):[write memory]by default from console
DellEMC#
Example 2: service timestamps log datetime utc
DellEMC#show clock
15:47:05.661 IST Fri May 17 2019
DellEMC(conf)#service timestamps log datetime utc
DellEMC# show command-history
[May 17 10:16:53]: CMD-(CLI):[service timestamps log datetime utc]by
default from console
[May 17 10:17:05]: CMD-(CLI):[show clock]by default from console
[May 17 10:17:20]: CMD-(CLI):[show running-config]by default from console
[May 17 10:17:30]: CMD-(CLI):[interface tengigabitethernet 0/2]by
default from console
[May 17 10:17:32]: CMD-(CLI):[shutdown]by default from console
[May 17 10:17:34]: CMD-(CLI):[no shutdown]by default from console
[May 17 10:17:40]: CMD-(CLI):[write memory]by default from console
Example 3: service timestamps log uptime
DellEMC#show clock
15:51:47.534 IST Fri May 17 2019
102
Control and Monitoring