On Fri, 11 Mar 2016, R P wrote:
I have made some tests with uploading config file to
cisco in few ways
The Telnet way is very slow it take to upload the whole gateways command about 5
minutes
Today i have done config network (it is doing TFTP for the config file )
the whole procedure took 3 seconds
The disadvantage that this way require TFTP server ... but i know it can be done with
web also i will check tat too ...
The script is also very simple
all it have to do is to connect ... to wait for # prompt then to give the command
conf network and to give some parameters such as the TFTP server address and file name
and in the end to wait for OK
When i will have fully automatic and running script (i will have to ask some of the
local Script gurus to make it for me ) i will post it here and update the WIKI page
If the cisco in question has ssh enabled, then you might consider copying
the new config directly to the router flash using scp, followed by a
command line 'copy flash:xyz running-config'. This doesn't require a tftp
server.
Antonio Querubin
e-mail: tony(a)lavanauts.org
xmpp: antonioquerubin(a)gmail.com