scripting on a router

From: Radioactive Frog (pbhatkoti@gmail.com)
Date: Sun May 25 2008 - 02:59:31 ART


Group,
Just wondering if it is possible to run a small script on Cisco router...

I have 2 files in the router flash:

1. fresh_vlan.dat <---- default vlan information
2. start-newlab <---- Base configuration

I want to run a batch script which runs below commands:

copy flash:start-newlab startup-config
copy flash:fresh_vlan.dat flash:vlan.dat (with /yes patch)
reload (with /y option)

So what it shuld do, I just run a sort of TCL script and it should do above
3 actions and I am ready to do the new lab.

--Frog



This archive was generated by hypermail 2.1.4 : Mon Jun 02 2008 - 06:59:18 ART