Wed, Jul 03, 2019 at 02:53:14PM -0600, Kevin Morales: > Yes, my Router is ZTE and I am using CISCO type, because the command is the > same to see the configuration..show running-config
I have no idea what ZTE is; does it behave *exactly* the same as IOS? It seems not. > > > > found end means that it found the end of the config; for type cisco, > > > > that means "^end". Does it's config end with: " end "? > > > > clean run means that it found the cli logout; for type cisco, that > > > > means "prompt[>#] exit$" in your .raw file, does the last prompt where clogin exited the cli, match the regex "prompt[>#] exit$" ? clearly these sanity checks are not working with your ZTE device. You need to figure-out why and correct it, likely by creating your own rancid module for ZTE with a customized inloop() function. you can probably use the parsing functions from the ios module, like the 'ciscoshtech' example that comes with rancid uses 2 modules. > On Wed, Jul 3, 2019 at 2:52 PM Piegorsch, Weylin William <wey...@bu.edu> > wrote: > > > Hi Kevin, > > > > I think you said this is a ZTE device, but that you’re using -t cisco. is > > ZTE a cisco device? > > > > weylin > > > > > > > > *From: *Kevin Morales <kevin.mora...@gmail.com> > > *Date: *Wednesday, July 3, 2019 at 3:18 PM > > *To: *john heasley <h...@shrubbery.net> > > *Cc: *Weylin Piegorsch <wey...@bu.edu>, Nick Nauwelaerts < > > nick.nauwelae...@aquafin.be>, "rancid-discuss@shrubbery.net" < > > rancid-discuss@shrubbery.net> > > *Subject: *Re: [rancid] Unable to figure out "end of run not found" > > > > > > > > I am sorry, I dont get you, What do you want I do? > > > > > > > > on my Rancid Server I execute: > > > > [rancid@localhost bin]$ NOPIPE=yes ./rancid -d -t cisco 172.17.1.6 > > > > > > > > On Wed, Jul 3, 2019 at 12:43 PM john heasley <h...@shrubbery.net> wrote: > > > > Wed, Jul 03, 2019 at 11:33:08AM -0600, Kevin Morales: > > > Thanks Piegorsh, > > > > > > I did it.. > > > > > > NOPIPE=yes ./rancid -d -t cisco 172.17.1.6 > > > > > > but in the two file 172.17.1.6.new and 172.17.1.6.raw don't see anything > > > about this error. both show the correct command output. > > > > correct command output and matching the criteria that i described below > > for type cisco are not necessarily the same thing. read it again. > > > > > On Wed, Jul 3, 2019 at 11:29 AM Piegorsch, Weylin William <wey...@bu.edu > > > > > > wrote: > > > > > *172.17.1.6 <http://172.17.1.6>: End of run not found* > > > > > 172.17.1.6: clean_run is false > > > > > 172.17.1.6: found_end is false > > > > > !</isis> > > > > > > > > found end means that it found the end of the config; for type cisco, > > > > that means "^end". > > > > > > > > clean run means that it found the cli logout; for type cisco, that > > > > means "prompt[>#] exit$" _______________________________________________ Rancid-discuss mailing list Rancid-discuss@shrubbery.net http://www.shrubbery.net/mailman/listinfo/rancid-discuss