
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
Summary of Contents for BigIron RX Series
Page 228: ...152 BigIron RX Series Configuration Guide 53 1002253 01 Enabling WAN PHY mode support 6 ...
Page 312: ...236 BigIron RX Series Configuration Guide 53 1002253 01 Displaying IP information 7 ...
Page 356: ...280 BigIron RX Series Configuration Guide 53 1002253 01 Resetting LLDP statistics 9 ...
Page 402: ...326 BigIron RX Series Configuration Guide 53 1002253 01 Transparent firewall mode 11 ...
Page 432: ...356 BigIron RX Series Configuration Guide 53 1002253 01 SuperSpan 12 ...
Page 500: ...424 BigIron RX Series Configuration Guide 53 1002253 01 MRP CLI example 14 ...
Page 591: ...BigIron RX Series Configuration Guide 515 53 1002253 01 Displaying traffic reduction 19 ...
Page 592: ...516 BigIron RX Series Configuration Guide 53 1002253 01 Displaying traffic reduction 19 ...
Page 598: ...522 BigIron RX Series Configuration Guide 53 1002253 01 Viewing Layer 2 ACLs 20 ...
Page 656: ...580 BigIron RX Series Configuration Guide 53 1002253 01 Trunk formation 22 ...
Page 754: ...678 BigIron RX Series Configuration Guide 53 1002253 01 Displaying RIP filters 24 ...
Page 814: ...738 BigIron RX Series Configuration Guide 53 1002253 01 Displaying OSPF information 25 ...
Page 980: ...904 BigIron RX Series Configuration Guide 53 1002253 01 Clearing IS IS information 28 ...
Page 1000: ...924 BigIron RX Series Configuration Guide 53 1002253 01 Using secure copy 30 ...
Page 1088: ...1012 BigIron RX Series Configuration Guide 53 1002253 01 IP source guard 35 ...
Page 1108: ...1032 BigIron RX Series Configuration Guide 53 1002253 01 Reading CDP packets 37 ...
Page 1126: ...1050 BigIron RX Series Configuration Guide 53 1002253 01 Clearing sFlow statistics 39 ...
Page 1324: ...1248 BigIron RX Series Configuration Guide 53 1002253 01 Displaying OSPFv3 information 48 ...
Page 1363: ...BigIron RX Series Configuration Guide 1287 53 1002253 01 Continuous System Monitor 51 ...
Page 1364: ...1288 BigIron RX Series Configuration Guide 53 1002253 01 Continuous System Monitor 51 ...
Page 1404: ...1328 BigIron RX Series Configuration Guide 53 1002253 01 Commands That Require a Reload D ...
Page 1458: ...1382 BigIron RX Series Configuration Guide 53 1002253 01 VSRP E ...