Appending a file to another file, Copying files using the copy command – Brocade BigIron RX Series Configuration Guide User Manual

Page 121

Advertising
background image

BigIron RX Series Configuration Guide

43

53-1002484-04

Flash memory and PCMCIA flash card file management commands

2

Appending a file to another file

You can append a file in flash memory or on a flash card to the end of another file in one of these
file systems.

The software attempts to append one file to another in the file system that has the current
management focus. By default, flash memory has the management focus. However, you do not
need to change the focus to append one file 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 append command to append one file to another in the desired file system.

To append one file to another in flash memory, if flash memory has the current management focus,
enter a command such as the following.

BigIron RX# append newacls.cfg startup-config.cfg

Syntax: append [<source-file-system> <dest-file-system>]

[/<source-dir-path>/]<source-file-name> [/<dest-dir-path>/]<dest-file-name>

Specify the <source-file-system> and <dest-file-system> parameters when you are appending a file
on one file system to a file on another file system.

The [/<source-dir-path>/] <source-file-name> parameter specifies the file you are appending to
the end of another file. If the file is not located in the current subdirectory (the subdirectory that
currently has the management focus), specify the subdirectory path in front of the file name.

The [/<dest-dir-path>/]<dest-file-name> parameter specifies the file to which you are appending
the other file. If the file is not located in the current subdirectory, specify the subdirectory path in
front of the file name.

For example, to append a file in the root directory of slot 1 to another file in a subdirectory of slot 2,
enter a command such as the following.

BigIron RX# append slot1 slot2 newacls.cfg /TEST/startup-config.cfg

Copying files using the copy command

For information about copying files using the copy command while upgrading software images, see
Basic Tasks in the Software Upgrade Process in the Brocade BigIron RX Series Hardware
Installation Guide
.

You can perform the following additional copy operations using the copy command:

Copy files from one flash card to the other.

Copy files between a flash card and the management module’s flash memory.

Copy software image from a flash card to the management module’s flash memory.

Copy software images between active and standby management modules.

Copy files from a management module to an interface module.

Copy management module BigIron RX Series Multi-Service IronWare images from flash
memory to a TFTP server.

Copy files between a flash card and a TFTP server.

Copy a startup-config file between a flash card and the management module’s flash memory.

Copy a startup-config file between the management module’s flash memory and a TFTP server.

Copy the running-config to a flash card or a TFTP server.

Advertising