The Copy Tftp Running-Config Cisco command

Command Name: copy tftp running-config

Function: This command is used to copy the running configuration of a Cisco device to a TFTP server. The running configuration is the configuration that is currently active on the device.

Syntax: copy tftp running-config [remote_server_address]

Parameters:

  • destination_file: The name of the file on the TFTP server to which the running configuration will be copied.
  • remote_server_address: The IP address or hostname of the TFTP server.

Usage: This command is typically used to back up the running configuration of a device. The running configuration can also be copied to a TFTP server before making changes to the configuration, so that the original configuration can be restored if necessary.

Supported Equipment: This command can be used on all Cisco devices that support TFTP.

Procedure:

  1. Connect to the device using a console cable or SSH.
  2. Enter the copy tftp running-config command.
  3. Provide the destination file name and the TFTP server address.
  4. Press Enter.

The running configuration will be copied to the specified TFTP server.

Additional Information:

  • The copy tftp running-config command can also be used to copy the running configuration to a local file on the device. To do this, use the following syntax:
copy tftp running-config local:/<destination_file>
  • The copy tftp running-config command can be used to copy the running configuration from one device to another. To do this, use the following syntax:
copy tftp running-config tftp://<remote_device_ip_address>/<destination_file>
  • The copy tftp running-config command can also be used to copy the running configuration to a USB drive. To do this, use the following syntax:
copy tftp running-config usb0:/<destination_file>

copy tftp running-config Usage Examples

The Cisco command ‘copy tftp running-config’ is used to copy the running configuration of a Cisco device to a TFTP server.

Examples:

  1. Copy the running configuration to a TFTP server with the default TFTP server address and default filename:
copy tftp running-config
  1. Copy the running configuration to a TFTP server with the specified TFTP server address and default filename:
copy tftp running-config tftp://192.168.1.1
  1. Copy the running configuration to a TFTP server with the specified TFTP server address and filename:
copy tftp running-config tftp://192.168.1.1 new-config.txt
  1. Copy the running configuration to a TFTP server with the specified TFTP server address, filename, and access list:
copy tftp running-config tftp://192.168.1.1 new-config.txt access-list 10
  1. Copy the running configuration to a TFTP server with the specified TFTP server address, filename, access list, and timeout:
copy tftp running-config tftp://192.168.1.1 new-config.txt access-list 10 timeout 60
  1. Copy the running configuration to a TFTP server with the specified TFTP server address, filename, access list, timeout, and source interface:
copy tftp running-config tftp://192.168.1.1 new-config.txt access-list 10 timeout 60 source GigabitEthernet0/1

Leave a Reply

Your email address will not be published. Required fields are marked *