BigIron RX Series Configuration Guide
57
53-1001810-01
Flash memory and PCMCIA flash card file management commands
3
Copying files using the cp command
Using the cp command, you can do the following:
•
Copy files from flash memory to flash memory.
•
Copy files from flash memory to a flash card or vice versa.
•
Copy files from one flash card to another flash card.
The software attempts to copy a file in a file system to another location 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 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 such as the following.
BigIron RX# 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 such as the following.
BigIron RX# 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.
BigIron RX# 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.
BigIron RX# cp /slot1/cfg/new.cfg /slot2/cfg/new.cfg
Loading the software
By default, the management module loads its RX Series IronWare image from the primary location
in flash memory. You can change the system’s RX Series IronWare image source to one of the
following sources for one 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.
Summary of Contents for Brocade DCX
Page 40: ...xl BigIron RX Series Configuration Guide 53 1001810 01 ...
Page 72: ...lxxii BigIron RX Series Configuration Guide 53 1001810 01 ...
Page 88: ...16 BigIron RX Series Configuration Guide 53 1001810 01 Searching and filtering output 1 ...
Page 300: ...228 BigIron RX Series Configuration Guide 53 1001810 01 Displaying IP information 7 ...
Page 318: ...246 BigIron RX Series Configuration Guide 53 1001810 01 Deploying a LAG 8 ...
Page 418: ...346 BigIron RX Series Configuration Guide 53 1001810 01 SuperSpan 12 ...
Page 482: ...410 BigIron RX Series Configuration Guide 53 1001810 01 MRP CLI example 14 ...
Page 506: ...434 BigIron RX Series Configuration Guide 53 1001810 01 Displaying VSRP information 15 ...
Page 582: ...510 BigIron RX Series Configuration Guide 53 1001810 01 Viewing Layer 2 ACLs 20 ...
Page 634: ...562 BigIron RX Series Configuration Guide 53 1001810 01 Troubleshooting ACLs 21 ...
Page 642: ...570 BigIron RX Series Configuration Guide 53 1001810 01 Trunk formation 22 ...
Page 746: ...674 BigIron RX Series Configuration Guide 53 1001810 01 Displaying RIP filters 24 ...
Page 808: ...736 BigIron RX Series Configuration Guide 53 1001810 01 Displaying OSPF information 25 ...
Page 938: ...866 BigIron RX Series Configuration Guide 53 1001810 01 Displaying MBGP information 27 ...
Page 950: ...878 BigIron RX Series Configuration Guide 53 1001810 01 Using secure copy 28 ...
Page 988: ...916 BigIron RX Series Configuration Guide 53 1001810 01 Clearing IS IS information 29 ...
Page 1054: ...982 BigIron RX Series Configuration Guide 53 1001810 01 Sample 802 1x configurations 33 ...
Page 1108: ...1036 BigIron RX Series Configuration Guide 53 1001810 01 sFlow 39 ...
Page 1190: ...1118 BigIron RX Series Configuration Guide 53 1001810 01 Displaying RIPng information 44 ...
Page 1270: ...1198 BigIron RX Series Configuration Guide 53 1001810 01 Displaying ACLs 47 ...
Page 1310: ...1238 BigIron RX Series Configuration Guide 53 1001810 01 Displaying OSPFv3 information 48 ...
Page 1382: ...1310 BigIron RX Series Configuration Guide 53 1001810 01 Commands That Require a Reload D ...
Page 1435: ...BigIron RX Series Configuration Guide 1363 53 1001810 01 VSRP E ...
Page 1436: ...1364 BigIron RX Series Configuration Guide 53 1001810 01 VSRP E ...