2-62
Cisco SFS 7000 Series Product Family Command Reference Guide
OL-9163-02
Chapter2 Administrative Commands
save-log
save-log
To save a log file of the last 40 commands that you entered, enter the
save-log
command in Privileged
Exec mode.
save-log
[filename]
Syntax Description
Defaults If you do not provide a name for the log file, your Server Switch assig ns a na me w ith t h e fol lowing
format:
savelog.mmddhhmmss
where mmddhhmmss represents the system UTC time.
Command Modes Privileged Execute mode.
Usage Guidelines Platform Availability:
Cisco SFS 3001, Cisco SFS 7000, Cisco SFS 7008, Cisco SFS 3012, Cisco 4x InfiniBand Switch Module
for IBM BladeCenter
Privilege Level:
General read-write user.
Your Server Switch stores sa ve-l og files to the sy slog direct ory. To execute the comman ds in the sa ve -log
file, copy the file to a host, edit it appropriately, copy it to the config file system on a Server Switch, and
run the
exec
command.
Examples The following example saves the last 40 commands as a file called mylog.lo g:
SFS-7000P# save-log mylog.log
Related Commands exec
history
filename (Optional) Name of the file you create to store your command history.