beautypg.com

Loading the software – Brocade Multi-Service IronWare Switching Configuration Guide (Supporting R05.6.00) User Manual

Page 111

background image

Multi-Service IronWare Switching Configuration Guide

81

53-1003036-02

Verifying available flash space on the management module before an image is copied

3

Copy files from flash memory to a flash card or vice versa

Copy files from one flash card to another flash card

The software will copy a file in a file system to another location in the file system that has the
current management focus (flash memory by default). However, you do not need to change the
focus to copy a file from one location to another in a file system that does not currently have
management focus. In this case, you can specify the /source-dir-path/ or /dest-dir-path/
parameters with the cp command to copy a file to or from a file system that does not have current
management focus.

For example, to copy a file from flash memory, which has the current management focus, to flash
memory, enter a command similar to the following.

Brocade# cp primary primary2

For example, to copy a file from flash memory, which has the current management focus, to the
flash card in slot 2, enter a command similar to the following.

Brocade# cp new.cfg /slot2/cfg/new.cfg

Syntax: cp [source-dir-path] source-file-name [dest-dir-path] dest-file-name

The source-dir-path parameter specifies the directory pathname of the source file. Specify this
parameter if the source file is in a file system that does not have current management focus. The
source-file-name specifies the name of the file you want to copy.

The dest-dir-path parameter specifies the directory pathname of the destination file. Specify this
parameter if you want to copy the source file to a file system that does not have current
management focus. The dest-file-name specifies the name of the file you copied to a new
destination.

For example, to copy a file from a flash card in slot 2 to flash memory, which has current
management focus, enter the following command.

Brocade# cp /slot2/cfg/new.cfg new.cfg

For example, to copy a file from a flash card in slot 1 to a flash card in slot 2, neither of which has
current management focus, enter the following command.

Brocade# cp /slot1/cfg/new.cfg /slot2/cfg/new.cfg

Loading the software

By default, the management module loads an Brocade Multi-Service IronWare image from the
primary location in flash memory. You can change the Brocade Multi-Service IronWare image
source for the system to one of the following sources for a single reboot or for all future reboots:

The secondary location in flash memory

A flash card inserted in slot 1 or 2

A TFTP server

A BOOTP server

If you specify a source other than the primary location in flash memory and for some reason the
source or the Brocade Multi-Service IronWare image is unavailable, the system uses the primary
location in flash memory as a default backup source.