Reference Guide
Brocade Fabric OS Command Reference 123
53-1004112-02
cliHistory
cliHistory
Displays switch command history.
Synopsis clihistory
clihistory --show
clihistory --showuser username
clihistory --showall
clihistory --clear
clihistory --help
Description This command saves the following information whenever a command is executed on the switch:
• Timestamp
• Username
• FID (VF mode only)
• 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. The CLI history is saved persistently to compact flash. The maximum number of saved entries for
this command is 1680. 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 restrictions that may be in place. Refer to "Using Fabric
OS Commands" and "Command Availability" for details.
Operands This command has the following operand:
--show
Displays the CLI history of the current user.
--showuser username
Displays the CLI history of the given user.
--showall
Displays the CLI history of all users.
--clear
Clears the CLI history.