Foundry Networks Switch and Router Installation And Configuration Manual page 152

Switch and router
Table of Contents

Advertisement

Foundry Switch and Router Installation and Configuration Guide
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>]
5 - 28
December 2000

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents