
The following is an example of copying the
Switch# copy | ? |
|
Copy to | startup configuration | |
tftp:[//A.B.C.D/filename] | Copy to | tftp: file system |
Switch# copy | tftp |
|
Enter TFTP Server IP Address | [A.B.C.D]? | |
Enter file name | to copy? |
|
Reply to any prompts for additional information or confirmation. The prompt depends on how much information has been provided in the copy command and the current setting of the file prompt command.
The command can also look like this example:
Switch# copy running-config tftp://192.168.0.1/my-config
Upload file
[OK] 487 bytes copied in time <1 sec
5.2.3 Copying Configuration Files from a Network Server to the Switch
You can copy configuration files from a TFTP server to the running configuration or startup configuration of the switch. You may want to do this for one of the following reasons:
1.To restore a previously backed up configuration file.
2.To use the same configuration file for another switch. For example, you may add another switch to your network and want it to have a similar configuration to the original switch. By copying the file to the new switch, you can change the relevant parts rather than
3.To load the same configuration commands onto all the switches in your network so that they all have the same configurations.
The copy tftp
In order to restore a configuration file to an exact copy of a file stored on a server, you need to copy the configuration file directly to the startup configuration (using the copy tftp
To copy a configuration file from a TFTP server to the switch, use one of the following commands in EXEC mode:
Command | Purpose |
|
|
copy tftp:[[[//location]/directory]/filename] | Copy a file from a TFTP server to the switch. |
copy tftp:[[[//location]/directory]/filename] |
|
|
|
Reply to any switch prompts for additional information or confirmation. Additional prompts depend on how much information is provided in the copy command and the current setting of the file prompt command.
42 | Asante IntraCore IC36240 | User’s Manual |