Foundry Networks Switch and Router Installation And Configuration Manual page 153

Switch and router
Table of Contents

Advertisement

Using Redundant Management Modules
To copy a file from a TFTP server to a flash card, enter a command such as the following:
BigIron# copy tftp slot1 192.168.1.17 notes.txt
Downloading from tftp server ...
Tftp 254 bytes done, copy to slot1 ...
Write to slot1 cfg.cfg succeeded
Syntax: copy tftp slot1 | slot2 <ip-addr> <from-name> [[\<to-dir-path>\]<to-name>]
Syntax: ncopy tftp <ip-addr> <from-name> slot1 | slot2 [[\<to-dir-path>\]<to-name>]
If the file name you specify is not on the TFTP server, the CLI displays messages such as those shown in the
following example:
BigIron# copy tftp slot1 192.168.1.17 nots.txt
Downloading from tftp server ...
TFTP: received error request -- code 1 message File not found: C:/TFTP/nots.txt.
Error - can't download data from TFTP server, error code 17. Abort!
To simplify troubleshooting, especially when the file is present on your server but the command doesn't find it, the
messages list the complete TFTP path name on your TFTP server.
Copying the Startup-Config File Between a Flash Card and Flash Memory
Use the following methods to copy a startup-config file between flash memory and a flash card. By default, the
device uses the startup-config in the primary area of flash memory to configure itself when you boot or reload the
device.
NOTE: The device cannot use a startup-config file on a flash card to configure itself. You cannot boot or reload
from a flash card.
USING THE CLI
To copy a startup-config file from a flash card to flash memory, enter a command such as the following:
BigIron# copy slot1 start test2.cfg
..Write startup-config done.
Syntax: copy slot1 | slot2 start [\<from-dir-path>\]<from-name>
Syntax: ncopy slot1 | slot2 [\<from-dir-path>\]<from-name> start
This command copies a configuration file named test2.cfg from the flash card in slot 2 into the device's flash
memory. The next time you reboot or reload the device, it uses the configuration information in test2.cfg.
To copy the device's startup-config file from flash memory onto a flash card, enter a command such as the
following:
BigIron# copy start slot1 mfgtest.cfg
Write to slot1 cfgtest.cfg succeeded
Syntax: copy start slot1 | slot2 [\<to-dir-path>\]<to-name>
Syntax: ncopy start slot1 | slot2 [\<to-dir-path>\]<to-name>
Copying the Running-Config to a Flash Card
Use the following method to copy the device's running-config to a flash card. The running-config contains the
device's currently active configuration information. When you copy the running-config to a flash card, you are
making a copy of the device's current configuration, including any configuration changes you have not saved to the
startup-config file.
USING THE CLI
To copy the device's running configuration into a file on a flash card, enter a command such as the following:
BigIron# copy running slot1 runip.1
Write to slot1 run.sw succeeded
December 2000
5 - 29

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents