We have CiscoWorks RME's Netconfig tool but I don't see how to answer input from the 'copy run tftp' command.
router1#copy run tftp
Address or name of remote host ? 10.10.10.1
Destination filename [router1-confg]? < The Enter key has to be pressed for this prompt>
12286 bytes copied in 0.472 secs
Any suggestions or input is appreciated
this is from the on-line help:
Using NetConfig User-defined Templates and Adhoc Tasks
You can enter an interactive command in the Enter CLI Commands area, using the following syntax:
CLI Commandcommand response 1 command response 2
tag is case-sensitive and this must be entered in uppercase only.
For a Catalyst device, a clear counters command will give the following output
c5000# (enable) clear counters This command will reset all MAC and port counters reported
in CLI and SNMP. Do you want to continue (y/n) [n]?
To clear the counter, the syntax is:
clear counters y
To accept the default, the syntaxes are:
clear counters n
To accept the default value, you do not need o enter any values after the tag .
and that is what Joe wrote in another thread about the meaning of :
This is a popular misconception. The actually means "response to follow". A without a response means "accept the default". If you wanted to use a different file for a write net, the command would be:
And if you wanted to acknowledge each prompt explicitly:
Note: there is no trailing as the 'y' does not generate a new interactive prompt.
It is also important to note that for a given command, all responses must follow on the SAME LINE. That is, this will NOT work:
and be aware that you need to have the permission to create files on you tftp server!(otherwise they must yet exist)