Appending a file to another file, Copying files using the copy command – Brocade Multi-Service IronWare Switching Configuration Guide (Supporting R05.6.00) User Manual
Page 106
76
Multi-Service IronWare Switching Configuration Guide
53-1003036-02
Verifying available flash space on the management module before an image is copied
3
To end the undelete process, enter CTRL + C.
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 will append one file to another in the file system that has the current management
focus (flash memory by default). 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 similar to the following.
Brocade# append newacls.cfg startup-config.cfg
Syntax: [no] 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 similar to the following.
Brocade# 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,
refer to “Basic Tasks in the Software Upgrade Process” in the appropriate 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 flash memory on the management module
•
Copy software images between active and standby management modules
•
Copy files from a management module to an interface module
•
Copy Brocade Multi-Service IronWare management module 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 flash memory on the management module