Reference Guide
Fri Sep 19 09:41:08 2014 root, FID 128, console, clihistory --clear
Fri Sep 19 09:41:41 2014 root, FID 128, console, lscfg --create 10
Fri Sep 19 09:42:10 2014 root, FID 128, console, lscfg --create 120
Fri Sep 19 09:42:54 2014 root, FID 128, console, lscfg --create 30
Fri Sep 19 09:42:59 2014 root, FID 128, console, setcontext 30
Fri Sep 19 09:43:14 2014 root, FID 30, console, rasdecode -m 65
Fri Sep 19 09:43:32 2014 root, FID 30, console, tracecfg -p -m 138
Fri Sep 19 09:43:42 2014 root, FID 30, console, setcontext 10
The following example shows the output of the cliHistory command without the FIDs in non-virtual fabric mode. The output shows that
the firmwareShow and errDump commands were executed in non-virtual fabric mode.
switch:admin> clihistory
Fri Sep 19 09:43:53 2014 root, FID 10, console, tracedump
Fri Sep 19 09:43:59 2014 root, FID 10, console, coreshow
Fri Sep 19 09:44:21 2014 root, , console, firmwareshow
Fri Sep 19 09:44:25 2014 root, , console, errdump
cliHistory --show
Using the --show keyword displays the same results as entering cliHistory alone.
cliHistory --showuser username
Using the --showuser
username
keyword displays the command line history for the named user. This argument is available only to
Root, Admin, and Securityadmin RBAC roles.
The following example shows the output of the clihistory --showuser admin for the “admin” user account.
switch:root> clihistory --showuser admin
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
Thu Sep 27 10:15:00 2012 admin, 10.70.12.101, clihistory
cliHistory --showall
Using the --showall keyword displays the command line history for all users. This allows admin, factory, and securityadmin users to see
the root user command history. This argument is available only to Root, Admin, and Securityadmin RBAC roles.
The following example displays the command history for all users.
switch:admin> clihistory --showall | more
CLI history
Date & Time Message
Mon Oct 5 10:44:05 2015 admin, FID 128, 172.26.3.86, setcontext 20
Mon Oct 5 10:44:17 2015 admin, FID 20, 172.26.3.86, firmwareshow
Mon Oct 5 10:44:32 2015 admin, FID 20, 172.26.3.86, islshow
Mon Oct 5 10:44:20 2015 admin, FID 20, 172.26.3.86, version
Mon Oct 5 10:44:36 2015 admin, FID 20, 172.26.3.86, switchshow
Mon Oct 5 10:44:40 2015 admin, FID 20, 172.26.3.86, trunkshow
cliHistory --help
Using the --help argument displays a list of the available command arguments.
Performing Basic Configuration Tasks
Brocade Fabric OS Administration Guide, 8.0.1
42 53-1004111-02