Guest

IP Application Services

Copy Files to a Router without File Transfer Access

Copy Files to a Router without File Transfer Access

Document ID: 116214

Updated: Aug 02, 2013

Contributed by Martin Nash, Cisco TAC Engineer.

   Print

Introduction

This document describes the process used to copy a configuration or text file to a router that does not have any file transfer access.

Copy Files to a Router through Telnet

If your router supports Tool Command Language (Tcl), you can create a file in the Tcl Shell (Tclsh) interpreter, paste the text through a telnet session into a Tcl string, and write the text string to the file.

In order to do this, complete these steps:

  1. Start the Tclsh interpreter.
  2. Type puts [open "flash:filename" w+] { at the Tcl prompt.

    Note: Do not press the ENTER key at the end of the line.

  3. Copy and paste the file contents into the field. Ensure that each curly bracket is paired correctly (no open-ended brackets).
  4. After the file contents are pasted, enter } into the field and press ENTER.
  5. In order to end the Tclsh session, enter the tclquit command.

Your text file should be on the router flash within the filename specified.

Updated: Aug 02, 2013
Document ID: 116214