Mailing List Archive

what to do with "proceed (y/n) [n]?"
How would you use Rancid to handle situations like one below?

1km-dmz-cx1> (enable) copy config slot0:config
This command uploads non-default configurations only.
Use 'copy config <file-id> all' to upload both default and non-default
configurations.

Upload configuration to slot0:config

18355672 bytes available on device slot0, proceed (y/n) [n]? y
...............
what to do with "proceed (y/n) [n]?" [ In reply to ]
On Tue, May 04, 2004 at 02:07:41PM -0700, Anchi Zhang wrote:
> How would you use Rancid to handle situations like one below?
>
> 1km-dmz-cx1> (enable) copy config slot0:config
> This command uploads non-default configurations only.
> Use 'copy config <file-id> all' to upload both default and non-default
> configurations.
>
> Upload configuration to slot0:config
>
> 18355672 bytes available on device slot0, proceed (y/n) [n]? y
> ...............
>
> --0-1985934314-1083704861=:17368--

Take a look at cisco-load.exp and cisco-reload.exp (both distributed
as example scripts with rancid) and see if either can be modified
to do what you need.
--asp