2-158
Catalyst 6500 Series Switch Command Reference—Release7.6
78-15328-01
Chapter2 Catalyst 6500 Series Switch and ROM Monitor Commands
dir—switch
dir—switch
To display a list of files on a Flash memory device, use the dir command.
dir [[m/]device:][filename] [all | deleted | long]
Syntax Description
Defaults This command has no default settings.
Command Types Switch command.
Command Modes Normal and privileged.
Usage Guidelines A colon (:) is required after the specified device.
When you specify the all keyword, the file information is displayed in long format.
When you omit all keywords (all, deleted, or long), the system displays file information in short format.
Short format is shown in Table 2 -10.
When you use one of the keywords (all, deleted, or long), the system displays file information in long
format. The long format is shown in Tabl e 2-11 .
m/ (Optional) Module number of the supervisor engine containing the Flash
device.
device:(Optional) Device where the Flash resides.
filename (Optional) Name of the configuration file.
all (Optional) Displays all files, deleted or not.
deleted (Optional) Displays only deleted files.
long (Optional) Displays files that have not been deleted, in long format.
Table2-10 Short Format
Column Heading Description
# File index number
length File length
date/time Date and time the file was created
name Filename