Brocade Communications Systems 53-1002163-02 manual Flash file management commands

Models: 53-1002163-02

1 168
Download 168 pages 40.76 Kb
Page 45
Image 45

Flash file management commands

3

Archiving the startup configuration file

This tasks allows you to archive the startup configuration to an archive folder on an FTP site. To archive the startup configuration, perform the following task from privileged EXEC mode.

Enter the copy command to archive the startup configuration file.

switch#copy startup-config ftp://jsmith:password@10.24.48.51/archive/config_file]

Restore an archived startup configuration file

To restore the startup configuration, perform the following task from privileged EXEC mode. Enter the copy command to restore the startup configuration file.

switch#copy startup-config ftp://jsmith:password@10.24.48.51/archive/config_file]

Flash file management commands

Table 7 describes the common tasks used to manage Flash files. The Converged Enhanced Ethernet Command Reference contains complete information on all available CLI commands.

NOTE

Use of the flash:// prefix is optional.

The tasks listed in Table 7 are performed from privileged EXEC mode.

TABLE 7

CEE Flash memory file management commands

 

 

 

Task

 

Command

 

 

List the files in the Flash memory directory.

switch#dir

Delete a file from the Flash memory directory.

switch#delete flash://example_filename

Erase all the files in the Flash memory directory.

switch#erase flash

NOTE: This command erases all the files in the

% Warning: Erasing flash filesystem will

 

Flash directory except the default startup

remove all files in flash://.

 

configuration file which is programmed as

Continue to erase?(y/n):y

 

a manufacturing default.

 

 

 

Rename a file in the Flash.

switch#rename filename new_filename

Display the contents of a file in the Flash memory

switch#show file flash://example_filename

directory.

 

 

 

 

Debugging and logging commands

Table 8 describes the tasks related to debugging and logging commands. The Converged Enhanced Ethernet Command Reference contains complete information on all available CLI commands.

Converged Enhanced Ethernet Administrator’s Guide

23

53-1002163-02

 

Page 45
Image 45
Brocade Communications Systems 53-1002163-02 manual Flash file management commands, Debugging and logging commands