[rancid] 'changeto context' Issue

Daniel Tuecks dtuecks at googlemail.com
Tue Jul 24 09:47:09 UTC 2007


Hello,

I am trying to backup various fwsm contexts. Using rancid 2.3.2a6, i can
issue a command similar to

clogin -c 'changeto context <my_context>;show running-config'
fwsm0.my.domain

clogin displays the config, exits and everything is fine.

How can I configure rancid to do this automatically? I'd like to have each
context-config treated as a separate device. How would I specify this in the
router.db file? I cannot access the context directly.

It would be nice if something like this existed

router.db
---------

fwsm0:cisco-fwcontext[my_context]:up

  or alternatively

fwsm0[my_context]:cisco:up


-- Daniel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20070724/600833a4/attachment.html 


More information about the Rancid-discuss mailing list