![Brocade Communications Systems Brocade 8/12c Command Reference Manual Download Page 154](http://html1.mh-extra.com/html/brocade-communications-systems/brocade-8-12c/brocade-8-12c_command-reference-manual_2817300154.webp)
120
Fabric OS Command Reference
53-1001764-01
cliHistory
22
cliHistory
Displays switch command history.
SYNOPSIS
clihistory
DESCRIPTION
This command saves the following information whenever a command is executed on the switch:
•
Timestamp
•
Username
•
IP address of the Telnet session
•
Options
•
Arguments
This command displays the local CLI command history. The information is saved in the SSHOW_SYS file
as part of
supportSave
and in the CTRACE
traceDump
file, which is also included with the
supportSave
package. In addition, the CLI history is saved persistently to compact flash in the event the
switch panics. The maximum number of saved entries for this command is 512.
The CLI history is erased, if the switch is rebooted or a CP failover has occurred on the active CP.
NOTES
The execution of this command is subject to Virtual Fabric or Admin Domain restrictions that may be in
place. Refer to Chapter 1, "Using Fabric OS Commands" and Appendix A, "Command Availability" for
details.
This command cannot be executed on the standby CP.
OPERANDS
None
EXAMPLES
To display the command history on a switch:
switch:admin>
clihistory
Dec 13 21:23:58.177 1 admin, 10.120.35.35, version
Dec 13 21:24:28.922 1 admin, 10.120.35.35, help ag
Dec 13 21:24:34.786 1 admin, 10.120.35.35, help zone
Dec 13 21:24:42.876 1 admin, 10.120.35.35, help alicreate
Dec 13 21:25:28.198 1 admin, 10.120.35.35, help auditdump
Dec 13 22:57:35.986 1 admin, 10.120.35.35, help authutil
Dec 13 23:03:18.045 1 admin, 10.120.35.35, help bannerset
Dec 13 23:10:02.842 1 admin, 10.120.35.35, help bannershow
Dec 13 23:12:23.025 1 admin, 10.120.35.35, help bcastshow
Dec 13 23:21:46.728 1 admin, 10.120.35.35, help bladecfggemode
Dec 13 23:21:51.452 1 admin, 10.120.35.35, help fcrbcastshow
Dec 13 23:23:23.554 1 admin, 10.120.35.35, help bcastshow
Dec 13 23:23:33.410 1 admin, 10.120.35.35, help ag
Dec 13 23:23:39.232 1 admin, 10.120.35.35, help bcastshow
SEE ALSO
None