A-7
Cisco Catalyst Blade Switch 3030 Command Reference
78-17262-01
Appendix A Cisco Catalyst Blade Switch 3030 Boot Loader Commands
dir
dir
Use the
dir
boot loader command to display a list of files and directories on the specified file system.
dir
filesystem
:/
file-url ...
Syntax Description
Command Modes
Boot loader
Command History
Usage Guidelines
Directory names are case sensitive.
Examples
This example shows how to display the files in flash memory:
switch: dir flash:
Directory of flash:/
3 -rwx 1839 Mar 01 2002 00:48:15 config.text
11 -rwx 1140 Mar 01 2002 04:18:48 vlan.dat
21 -rwx 26 Mar 01 2002 00:01:39 env_vars
9 drwx 768 Mar 01 2002 23:11:42 html
16 -rwx 1037 Mar 01 2002 00:01:11 config.text
14 -rwx 1099 Mar 01 2002 01:14:05 homepage.htm
22 -rwx 96 Mar 01 2002 00:01:39 system_env_vars
17 drwx
192 Mar 06 2002 23:22:03 cbs30x0-lanbase-mz.122-25.SEE
15998976 bytes total (6397440 bytes free)
Table A-1
describes the fields in the display.
filesystem
:
Alias for a flash file system. Use
flash:
for the system board flash device.
/
file-url
(Optional) Path (directory) and directory name whose contents you want to
display. Separate each directory name with a space.
Release
Modification
12.2(25)SEE
This command was introduced.
Table A-1
dir Field Descriptions
Field
Description
2
Index number of the file.
-rwx
File permission, which can be any or all of the following:
•
d—directory
•
r—readable
•
w—writable
•
x—executable