Viewing a history of command line entries, Clihistory, Clihistory - -show – Brocade Fabric OS Administrators Guide (Supporting Fabric OS v7.3.0) User Manual
Page 41
Help topic contents (Continued)
TABLE 5
Topic name
Help contents description
routeHelp
Routing help information
trackChangesHelp
Track Changes help information
zoneHelp
Zoning help information
Viewing a history of command line entries
The CLI command history log file saves the last 512 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 ins entered in the switch CLI:
• Timestamp
• Username
• 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 (see below for arguments). Entering no
specific argument displays only the command line history of the currently logged-in user.
cliHistory
Entering the cliHistory command with no arguments displays the command line history for the currently
logged-in user only (even for the root user).
Example of cliHistory command output from 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]
Example of cliHistory command output from root 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
cliHistory - -show
Using the "- -show" argument displays the same results as entering "cliHistory" without any arguments.
Viewing a history of command line entries
Fabric OS Administrators Guide
41
53-1003130-01