Configuration manual

1262 | E-Series ExaScale Debugging and Diagnostics
www.dell.com | support.dell.com
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. When the
show command-history
command is entered, the system displays a trace message for each executed command. No password
information is saved to the file. The trace messages are not saved to a file or directory on the internal
system flash.
To view the command-history trace, use the
show command-history command, as shown in Figure 63-16.
Figure 63-16. Command Example: show command-history
Clearing the command history
Clear the command history buffer using the command clear command-history from EXEC Privilege mode,
as shown in Figure 63-17.
Figure 63-17. Clearing the Command History
Software exception handling on line cards
If a line card CPU experiences a software exception, the system:
Uploads the contents of the buffered trace logs to persistent memory on the RPM. The files are written
to the TRACE_LOG directory, and they use the naming convention
crash_trace_LPslot#_timestamp.
Force10#show command-history
[6/16 16:22:3]: CMD-(CLI):[enable]by default from console
[6/16 16:22:6]: CMD-(CLI):[show cam-profile]by default from console
[6/16 16:38:9]: CMD-(TEL0):[enable]by admin from vty0 (10.11.48.30)
[6/16 16:38:10]: CMD-(CLI):[show qos statistics]by default from console
[6/16 16:38:21]: CMD-(TEL0):[show command-history]by admin from vty0 (10.11.48.30)
Force10#show command-history 10
[12/3 15:40:17]: CMD-(CLI):[show config]by default from console
[12/3 15:40:22]: CMD-(CLI):[ping 10.11.80.201]by default from console
[12/3 15:40:46]: CMD-(CLI):[show interfaces managementethernet 0/0]by default from console
[12/3 15:40:49]: CMD-(CLI):[shutdown]by default from console
[12/3 15:40:59]: CMD-(CLI):[no shutdown]by default from console
[12/3 15:41:1]: CMD-(CLI):[interface managementethernet 0/0]by default from console
[12/3 15:41:2]: CMD-(CLI):[shutdown]by default from console
[12/3 15:41:7]: CMD-(CLI):[ping 10.11.80.201]by default from console
[12/3 21:45:46]: CMD-(CLI):[enable]by default from console
[12/3 21:47:18]: CMD-(CLI):[show command-history 10]by default from console
Force10#clear command-history
Force10#show command-history 10
[12/3 21:47:43]: CMD-(CLI):[show command-history 10]by default from console
Force10#