Managing flash files, Listing the contents of the flash memory, Deleting a file from the flash memory – Brocade Network OS Administrator’s Guide v4.1.1 User Manual

Page 109: Renaming a flash memory file, Viewing the contents of a file in the flash memory

Advertising
background image

1. Configure one switch.
2. Copy the running configuration to the startup configuration as described in

Saving the running

configuration

on page 104.

3. Upload the configuration to an external host (

Uploading the startup configuration to an external host

on page 105) or to an attached USB device as described in

Backing up the startup configuration to a

USB device

on page 105.

4. Download the configuration file to each of the target switches. Refer to

Configuration restoration

on

page 105 for more information.

Managing flash files

Brocade Network OS provides a set of tools for removing, renaming, and displaying files you create in
the switch flash memory. You can use the display commands with any file, including the system
configuration files. The rename and delete commands only apply to copies of configuration files you
create in the flash memory. You cannot rename or delete any of the system configuration files.

Listing the contents of the flash memory

To list the contents of the flash memory, enter the dir command in privileged EXEC mode.

switch# dir

drwxr-xr-x 2 root sys 4096 Feb 13 00:39 .

drwxr-xr-x 3 root root 4096 Jan 1 1970 ..

-rwxr-xr-x 1 root sys 417 Oct 12 2010 defaultconfig.novcs

-rwxr-xr-x 1 root sys 697 Oct 12 2010 defaultconfig.vcs

-rw-r--r-- 1 root root 6800 Feb 13 00:37 startup-config

Deleting a file from the flash memory

To delete a file from the flash memory, enter the delete file command in privileged EXEC mode.

switch# delete myconfig

Renaming a flash memory file

To rename a file in the flash memory, enter the rename source_file destination_file command in
privileged EXEC mode.

switch# rename myconfig myconfig_20101010

Viewing the contents of a file in the flash memory

To investigate the contents of a file in the flash memory, enter the show file file command in privileged
EXEC mode.

switch# show file defaultconfig.novcs

!

no protocol spanning-tree

!

vlan dot1q tag native

!

cee-map default

remap fabric-priority priority 0

remap lossless-priority priority 0

priority-group-table 1 weight 40 pfc on

Managing flash files

Network OS Administrator’s Guide

109

53-1003225-04

Advertising