56 BigIron RX Series Configuration Guide
53-1002253-01
Flash memory and PCMCIA flash card file management commands
3
Syntax: ncopy slot1 | slot2 [\<from-dir-path>\]<from-name> running
The command in this example changes the device’s active configuration based on the information 
in the file.
To copy a running-config from a TFTP server, enter a command such as the following.
BigIron RX# copy tftp running-config 10.10.10.1 run.cfg overwrite
Syntax: copy tftp running-config <ip-addr> [/<from-dir-path>/]<from-name> [overwrite]
This command copies a running-config from a TFTP server and overwrites the device’s active 
configuration.
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