Administrator Guide

Example of the show running-config Command
Dell#show running-config
Current Configuration ...
! Version 1-0(0-4013)
! Last configuration change at Wed Jun 3 16:24:25 2015 by admin
!
boot system rpm0 primary system: A:
boot system rpm0 secondary tftp://10.16.127.35/DT-MAA-C9000-3
boot system rpm0 default system: A:
boot system rpm1 primary system: A:
boot system rpm1 secondary tftp://10.16.127.35/DT-MAA-C9000-3
boot system rpm1 default system: A:
boot system gateway 10.16.127.148
!
service timestamps log datetime
!
logging coredump
!
hostname Dell
!
Viewing Command History
The command-history trace feature captures all commands entered by all users of the system with a time stamp and writes these
messages to a dedicated trace log buffer.
The system generates a trace message for each executed command. No password information is saved to the file.
NOTE:
The timestamps display format of the show command history output changes based on the service timestamps
log datetime configuration. The time format can be in uptime, local time zone time or UTC time.
If timestamp is disabled (no service timestamps log) then command history time format is shown with timestamp
defaults (service timestamps log datetime localtime).
To view the command-history trace, use the show command-history command.
Example of the show command-history Command
Example 1: Default configuration service timestamps log datetime or service timestamps log datetime
localtime
DellEMC(conf)#service timestamps log datetime
DellEMC# show command-history
- Repeated 1 time.
[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 1/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
- Repeated 1 time.
[May 17 15:43:08]: CMD-(CLI):[end]by default from console
[May 17 15:43:16]: CMD-(CLI):[show logging]by default from console
[May 17 15:43:22]: CMD-(CLI):[show command-history]by default from console
DellEMC#
Example 2: service timestamps log datetime utc
DellEMC(conf)#service timestamps log datetime utc
DellEMC# show command-history
- Repeated 1 time.
[May 17 15:46:44]: CMD-(CLI):[configure]by default from console
- Repeated 1 time.
50
Getting Started