
heas at shrubbery
Feb 16, 2002, 10:16 AM
Post #2 of 3
(284 views)
Permalink
|
Sat, Feb 16, 2002 at 01:03:42PM -0500, Seguin, Ron: > Hi, > > I currently have a user/pass within .cloginrc in the Rancid home directory...works > fine for Cisco devices, however I have a number of Redbacks that I want to > introduce that does not have the same user/pass combo... > > Can we somehow have multiple .cloginrc's being accessed based upon Vendor type?? > > --thanks > echo "add password * {redbackpwd}" > ~/.cloginrc.rb clogin -f ~/.cloginrc.rb redbackhostname or alias the command. there are no knobs within clogin to do selection based on manufacturer or platform nor does it consider the router.db file which has that data. the most convenient way imo is via dns; redback -> nas0.city router -> r0.city switch -> s0.city echo "add password nas* {redbackpwd}" >> ~/.cloginrc
|