A-8
Catalyst 3750-X and 3560-X Switch Command Reference
OL-29704-01
Appendix A Catalyst 3750-X and 3560-X Switch 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 c3750x-universal-mz.122-53.SE2
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(53)SE2 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
1644045 Size of the file.