Reference Guide

TABLE 2 Help topic contents (continued)
Topic name Help contents description
zoneHelp Zoning help information
Viewing a history of command line entries
The CLI command history log file saves the last 1680 commands from all users on a FIFO basis, and this log is persistent across
reboots and firmware downloads. This command is also supported for standby CPs.
The log records the following information whenever a command is entered in the switch CLI:
Timestamp
User name
IP address of the Telnet session
Options
Arguments
Use the following procedure to view the CLI command log:
1. Connect to the switch and log in.
2. Enter the cliHistory command with the desired argument (refer to the following arguments for the cliHistory command).
Entering no specific argument displays only the command line history of the currently logged-in user.
NOTE
Commands entered through an interactive SSH login session are recorded in the command line history. However, if a
command is entered as a single line with SSH login (for example, ssh admin@10.20.x.x switchshow), the entire
command is not recorded.
cliHistory
Entering cliHistory with no keywords displays the command line history for the currently logged-in user only. This is true for the root user
account as well.
The following example shows the output of the cliHistory command for the root login.
switch:root> clihistory
CLI history
Date & Time Message
Thu Sep 27 04:58:00 2012 root, 10.70.12.101, firmwareshow -v
Thu Sep 27 04:58:19 2012 root, 10.70.12.101, telnet 127.1.10.1
Thu Sep 27 05:25:45 2012 root, 10.70.12.101, ipaddrshow]
The following example shows the output of the cliHistory command for the admin login.
switch:admin> clihistory
CLI history
Date & Time Message
Thu Sep 27 10:14:41 2012 admin, 10.70.12.101, clihistory
Thu Sep 27 10:14:48 2012 admin, 10.70.12.101, clihistory --show
The following example shows the output of the cliHistory command with FIDs in virtual fabric mode.
switch:admin> clihistory
CLI history
Date & Time Message
Performing Basic Configuration Tasks
Brocade Fabric OS Administration Guide, 8.0.1
53-1004111-02 41