Uploading a configuration file to a remote TFTP host

Uploading a configuration file from a remote TFTP host

To upload a configuration file to a remote TFTP host through the out-of-band management interface, do one of the following:

Prerequisites

Before you upload a configuration file to a remote TFTP host, you must insure that the switch has a separate out-of-band management port if the traffic is being transmitted through the out-of-band management interface.

Procedure
  1. Use the copy config <src-file> tftp <ip-addr> <remote-file> pc oobm command to upload a configuration file to a remote TFTP PC host.
  2. Use the copy config <src-file> tftp <ip-addr> <remote-file> unix oobm command to upload a configuration file to a remote TFTP UNIX host.

To upload a configuration file to a remote TFTP host through the data interface, do one of the following:

  • Use the copy config <src-file> tftp <ip-addr> <remote-file> pc command to upload a configuration file to a remote TFTP PC host.

  • Use the copy config <src-file> tftp <ip-addr> <remote-file> unix command to upload a configuration file to a remote TFTP UNIX host.

For more information on using TFTP to upload a file to a remote server, see "TFTP: Copying a Configuration File to a Remote Host" in Appendix A of the Management and Configuration Guide for your switch.

Example

The following command uploads a startup-config file named test01 from the switch to a (UNIX) TFTP server at IP address 10.10.28.14:

switch(config)# copy config test-01 tftp 10.10.28.14 test-01.txt unix