[rancid] Re: Not working rancid with Cisco without enable.
Aleksey P
paleola at gmail.com
Fri Jun 11 08:45:53 UTC 2010
Hello.
In my rancid file i delete all commands, except "show configuration". This
work fine with Juniper switches (becouse they don't have enable mode and
have '>' in command line (i think)).
I did as you say:
In racid.conf i have:
NOPIPE=YES; export NOPIPE
Then i did:
]# /usr/local/libexec/rancid/rancid -d 172.16.2.2
executing /usr/local/libexec/rancid/clogin -t 90 -c"show configuration"
172.16.2.2
172.16.2.2: missed cmd(s): show configuration
172.16.2.2: missed cmd(s): show configuration
172.16.2.2: End of run not found
172.16.2.2: End of run not found
!
]# cat /usr/local/libexec/rancid/172.16.2.2.new
!RANCID-CONTENT-TYPE: cisco
!
!
!
!
and that is all that in this file.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20100611/24b096f9/attachment.html
More information about the Rancid-discuss
mailing list