Clihistory – Dell POWEREDGE M1000E User Manual

Page 162

Advertising
background image

134

Fabric OS Command Reference

53-1002746-01

cliHistory

2

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:

Timestamp

Username

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 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

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.

--help

Displays the command usage.

EXAMPLES

To display the command history on a switch:

switch:admin> clihistory
Date & Time Message
Wed Jul 25 22:35:43 2012 admin, 10.70.12.103, help ag
Wed Jul 25 22:35:48 2012 admin, 10.70.12.103, help zone
Wed Jul 25 22:35:51 2012 admin, 10.70.12.103, version

Advertising