2
cliHistory
cliHistory
Displays switch command history.
SYNOPSIS
clihistory
clihistory --show
clihistory --showuser username
clihistory --showall
clihistory --help
DESCRIPTION
This command saves the following information whenever a command is executed on the switch:
•
•
•
•
•
This command displays the local CLI command history. The information is saved in the SSHOW_SYS file
as part of supportSave. The CLI history is saved persistently to compact flash. The maximum number of
saved entries for this command is 512. CLI history records is wrapped after reaching the maximum limit
specified.
The CLI history is wrapped and saved in a file that is persistent across reboots and firmware download.
Only the command name is stored in the CLI history for commands that requires password; no
arguments are stored.
This command can also be executed on the standby 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.
OPERANDS
This command has the following operand:
--show
--showuser username
--showall
--help
EXAMPLES
To display the command history on a switch:
134
Timestamp
Username
IP address of the Telnet session
Options
Arguments
Displays the CLI history of the current user.
Displays the CLI history of the given user.
Displays the CLI history of all users.
Displays the command usage.
switch:admin> clihistory
Date & Time
Wed Jul 25 22:35:43 2012
Wed Jul 25 22:35:48 2012
Wed Jul 25 22:35:51 2012
Message
admin, 10.70.12.103, help ag
admin, 10.70.12.103, help zone
admin, 10.70.12.103, version
Fabric OS Command Reference
53-1002746-01
Need help?
Do you have a question about the StoreFabric SN6500B and is the answer not in the manual?
Questions and answers