2-31
Cisco SFS 7000 Series Product Family Command Reference Guide
OL-9163-02
Chapter2 Administrative Commands
dir
dir
To list the configuration files, log files, and system image files on your Server Switch, enter the
dir
command in Privileged Exec mode.
dir
[slot-number
:
]{
config
|
image
|
syslog
}
Syntax Description
Defaults This command has no default settings.
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-only user.
Use this command to list the files on your Server Switch. This command requires one of three arguments:
config
,
image
, or
syslog
. Files reside on the Server Switch in separate file systems. The CLI
automatically tracks these file systems, so you do not need to include file-path information to administer
these files.
Use the
dir
command with the
image
keyword to see the installed image directories on your Server
Switch.
On the Cisco SFS 3012, use the slot-number variable to view files on the controller card in slot 1 or slot
14. The
dir
command lists the files of the active controller by default.
Examples The following example displays the configuration files on the Server Switch:
SFS-7000P# dir config
============================================================================
Existing Configurations on System
============================================================================
slot-number (Optional) Slot of the controller card (1 on the Cisco SFS 3001 and Cisco
SFS 7000, 1 or 14 on the Cisco SFS 3012, 11 or 12 on the Cisco SFS 7008).
config Lists all configuration files in the config directory.
image Lists the current image files and system images in the image directo ry . Image
files end with a .img extension. Installed system images look like path
names.
Note You must unpack and install image files before they can boot the
system. For more information, refer to this command: install, page
2-42.
syslog Lists the log files in the syslog directory.