35
File Management Commands
• File information is shown below:
Column Heading
file name
file type
startup
size
Example
The following example shows how to display all file information:
Console#dir
File name
-------------------------------------
Unit1:
D1007
V10028
Factory_Default_Config.cfg
startup
startup1.cfg
---------------------------------------------------------------------------
Console#
whichboot
This command displays which files were booted when the system powered up.
Syntax
whichboot [unit]
unit - Stack unit. (Range: Always 1)
Default Setting
None
Command Mode
Privileged Exec
Example
This example shows the information displayed by the whichboot command. See
the table under the dir command for a description of the file information displayed by
this command.
Console#whichboot
-------------------------------- -------------- ------- -----------
Unit1:
D1007
V10028
startup
Console#
35-6
Table 35-2 File Directory Information
Description
The name of the file.
File types: Boot-Rom, Operation Code, and Config file.
Shows if this file is used when the system is started.
The length of the file in bytes.
File name
File type Startup Size (byte)
File type
Startup Size (byte)
--------------
------- -----------
Boot-Rom Image
Y
Operation Code
Y
Config File
N
Config File
Y
Config File
N
Total free space:
Boot-Rom Image
Y
Operation Code
Y
Config File
Y
1531520
3862936
455
4555
3675
26345472
1531520
3862936
4555