Copying a Configuration File To or From a TFTP Server

You can upload a copy of the running configuration file from a Layer 2 or Layer 3 switch to a Trivial File Transfer Protocol (TFTP) server. The following task copies the startup-config or running-config file to or from a TFTP server.
Note: You can name the configuration file when you copy it to a TFTP server. However, when you copy a configuration file from the server to a RUCKUS device, the file is always copied as "startup-config" or "running-config", depending on which type of file you saved to the server.
Note: You should use a script or the copy running-config tftp command for extensive configuration. You should not use the copy and paste for configurations with more than 2000 characters into.

When an external configuration is copied to a running configuration, the following error message is displayed if any config parsing fails.

device# copy tftp running-config 10.177.16.144 fi/test/runn
Parameter Validation Successful
Running Config Download Started
....
Running Config Download Done
Running Config Download Complete
Failed to apply a few configurations, 
Please execute "show log debug management cfg_par err" for more details

For show log debug management cfg_par err command, refer to the RUCKUS FastIron Debug Command Reference.

The following example copies the external configuration file to a running-configuration successfully..

device# copy tftp running-config 10.22.141.59 fi/test/runn
Copy running config Completed

The following example uploads a copy of the startup configuration file from the Layer 2 Switch or Layer 3 Switch to a TFTP server.

device# copy startup-config tftp 10.2.2.2 file4

The following example uploads a copy of the running configuration file from the Layer 2 Switch or Layer 3 Switch to a TFTP server.

device# copy running-config tftp 10.1.1.1 copyrun
Parameter Validation Successful
....File Upload Complete

The following example downloads a copy of the startup configuration file from a TFTP server to a Layer 2 Switch or Layer 3 Switch.

device# copy tftp startup-config 10.4.4.4 configfile
Parameter Validation Successful
Startup Config Download started
....Startup Config Download Done
Startup Config Write Done
Startup Config Download Complete