beautypg.com

Archiving the startup configuration file, Restore an archived startup configuration file, Flash file management commands – Brocade Communications Systems Converged Enhanced Ethernet 53-1002163-02 User Manual

Page 45: Debugging and logging commands, Table 7

background image

Converged Enhanced Ethernet Administrator’s Guide

23

53-1002163-02

Flash file management commands

3

DRAFT: BROCADE CONFIDENTIAL

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:[email protected]/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:[email protected]/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.

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.

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.
NOTE: This command erases all the files in the

Flash directory except the default startup
configuration file which is programmed as
a manufacturing default.

switch#erase flash
% Warning: Erasing flash filesystem will
remove all files in flash://.
Continue to erase?(y/n):y

Rename a file in the Flash.

switch#rename filename new_filename

Display the contents of a file in the Flash memory
directory.

switch#show file flash://example_filename