User Guide

Flash/File Commands
7-55
7
Flash/File Commands
These commands are used to manage the system code or configuration files.
bootfile
This command specifies the image used to start up the system.
Syntax
bootfile <filename>
filename - Name of the image file.
Default Setting
None
Command Mode
Exec
Command Usage
The file name should not contain slashes (\ or /), the leading letter of the file
name should not be a period (.), and the maximum length for file names is
32 characters. (Valid characters: A-Z, a-z, 0-9, “.”, “-”, “_”)
If the file contains an error, it cannot be set as the default file.
Example
Table 7-10. Flash/File Commands
Command Function Mode Page
bootfile Specifies the file or image used to start up the system GC 7-56
copy Copies a code image or configuration between flash
memory and a FTP/TFTP server
Exec 7-57
delete Deletes a file or code image Exec 7-58
dir Displays a list of files in flash memory Exec 7-59
show bootfile Displays the name of the current operation code file that
booted the system
Exec 7-59
Enterprise AP#bootfile -img.bin
Enterprise AP#