![background image](http://html.mh-extra.com/html/foundry-networks/switch-and-router/switch-and-router_installation-and-configuration-manual_2324275152.webp)
Foundry Switch and Router Installation and Configuration Guide
5 - 28
December 2000
USING THE CLI
To copy a file from one flash card to the other, enter the following command:
BigIron# copy slot1 slot2 sales.cfg
Syntax:
copy <from-card> <to-card> [\<from-dir-path>\]<from-name> [[\<to-dir-path>\]<to-name>]
Syntax:
ncopy <from-card> [\<from-dir-path>\]<from-name> <to-card> [[\<to-dir-path>\]<to-name>]
The command shown in the example above copies a file from the flash card in slot 1 to the flash card in slot 2. In
this case, the software uses the same name for the original file and for the copy. Optionally, you can specify a
different file name for the copy.
Copying Files Between a Flash Card and Flash Memory
Use the following methods to copy files between a flash card and the management module’s flash memory.
USING THE CLI
To copy a file from a flash card to the primary area in flash memory, enter a command such as the following:
BigIron# copy slot1 flash B2P07000.bin primary
BigIron# Flash Erase ---------------------------
Flash Memory Write (8192 bytes per dot) ........
................................................
......code flash copy done
Syntax:
copy slot1 | slot2 flash [\<from-dir-path>\]<from-name> primary | secondary
Syntax:
ncopy slot1 | slot2 [\<from-dir-path>\]<from-name> flash primary | secondary
To copy a file from flash memory to a flash card, enter a command such as the following:
BigIron# copy flash slot2 BIS07000.bin primary
Flash Card Write (128 KBytes per dot) .......
Write to slot2 BIS07000.bin succeeded
The command in this example copies a software image file from the primary area in flash memory onto the flash
card in slot 2.
If the copy does not succeed, the software lists messages to indicate the reason the copy did not work. For
example, the following messages indicate that the copy did not work because the slot specified for the copy does
not contain a flash card.
BigIron# copy flash slot2 m4s.car secondary
The system can not find the drive specified
Write to slot2 m4s.car failed
Syntax:
copy flash slot1 | slot2 [\<to-dir-path>\]<to-name> primary | secondary
Syntax:
ncopy flash primary | secondary slot1 | slot2 [\<to-dir-path>\]<to-name>
Copying Files Between a Flash Card and a TFTP Server
Use the following methods to copy files between a flash card and a TFTP server.
NOTE:
The Foundry device must have network access to the TFTP server.
USING THE CLI
To copy a file from a flash card to a TFTP server, enter a command such as the following:
BigIron# copy slot1 tftp 192.168.1.17 notes.txt
Uploading 254 bytes to tftp server ...
Upload to TFTP server done.
Syntax:
copy slot1 | slot2 tftp <ip-addr> [\<from-dir-path>\]<from-name> [<to-name>]
Syntax:
ncopy slot1 | slot2 [\<from-dir-path>\]<from-name> tftp <ip-addr> [<to-name>]
Summary of Contents for Switch and Router
Page 2: ...December 2000 Copyright 2000 by Foundry Networks Inc ...
Page 26: ...Foundry Switch and Router Installation and Configuration Guide xxvi December 2000 ...
Page 64: ...Foundry Switch and Router Installation and Configuration Guide 2 34 December 2000 ...
Page 162: ...Foundry Switch and Router Installation and Configuration Guide 5 38 December 2000 ...
Page 196: ...Foundry Switch and Router Installation and Configuration Guide 6 34 December 2000 ...
Page 208: ...Foundry Switch and Router Installation and Configuration Guide 7 12 December 2000 ...
Page 236: ...Foundry Switch and Router Installation and Configuration Guide 8 28 December 2000 ...
Page 258: ...Foundry Switch and Router Installation and Configuration Guide 9 22 December 2000 ...
Page 420: ...Foundry Switch and Router Installation and Configuration Guide 13 32 December 2000 ...
Page 442: ...Foundry Switch and Router Installation and Configuration Guide 14 22 December 2000 ...
Page 554: ...Foundry Switch and Router Installation and Configuration Guide 15 112 December 2000 ...
Page 574: ...Foundry Switch and Router Installation and Configuration Guide 16 20 December 2000 ...
Page 626: ...Foundry Switch and Router Installation and Configuration Guide 17 52 December 2000 ...
Page 682: ...Foundry Switch and Router Installation and Configuration Guide 18 56 December 2000 ...
Page 826: ...Foundry Switch and Router Installation and Configuration Guide 20 20 December 2000 ...
Page 994: ...Foundry Switch and Router Installation and Configuration Guide 26 10 December 2000 ...
Page 1004: ...Foundry Switch and Router Installation and Configuration Guide B 6 December 2000 ...
Page 1044: ...Foundry Switch and Router Installation and Configuration Guide C 40 December 2000 ...
Page 1048: ...Foundry Switch and Router Installation and Configuration Guide D 4 December 2000 ...
Page 1070: ...Foundry Switch and Router Installation and Configuration Guide Index 18 December 2000 ...