Re: [rancid] Unable to figure out "end of run not found"

2019-07-03 Thread 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

On Wed, Jul 3, 2019 at 2:52 PM Piegorsch, Weylin William 
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 
> *Date: *Wednesday, July 3, 2019 at 3:18 PM
> *To: *john heasley 
> *Cc: *Weylin Piegorsch , 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  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  >
> > 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
> > > > !
> > >
> > > 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$"
>
>
>
>
> --
>
> *Kevin Morales*
>


-- 
*Kevin Morales*
___
Rancid-discuss mailing list
Rancid-discuss@shrubbery.net
http://www.shrubbery.net/mailman/listinfo/rancid-discuss


Re: [rancid] Unable to figure out "end of run not found"

2019-07-03 Thread Kevin Morales
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  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  >
> > 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
> > > > !
> > >
> > > 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$"
>


-- 
*Kevin Morales*
___
Rancid-discuss mailing list
Rancid-discuss@shrubbery.net
http://www.shrubbery.net/mailman/listinfo/rancid-discuss


Re: [rancid] Unable to figure out "end of run not found"

2019-07-03 Thread 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.




On Wed, Jul 3, 2019 at 11:29 AM Piegorsch, Weylin William 
wrote:

> If you do the “NOPIPE” thing and run rancid with the -d flag, that will
> create two files: .new, and .raw.  Examine the .raw file, which is the
> byte-for-byte capture of the CLI session.
>
> weylin
>
>
>
> *From: *Kevin Morales 
> *Date: *Wednesday, July 3, 2019 at 1:24 PM
> *To: *john heasley 
> *Cc: *Nick Nauwelaerts , Weylin Piegorsch <
> wey...@bu.edu>, "rancid-discuss@shrubbery.net" <
> rancid-discuss@shrubbery.net>
> *Subject: *Re: [rancid] Unable to figure out "end of run not found"
>
>
>
> ok, but  rancid do not save the output of command.,
>
>
>
> How I can fix this problem?
>
>
>
> On Wed, Jul 3, 2019 at 11:12 AM john heasley  wrote:
>
> Wed, Jul 03, 2019 at 07:48:09AM -0600, Kevin Morales:
> > Hello!,
> >
> > How I can fix the problem when I run rancid for ZTE Router?. I get this
> > error: *End of run not found*
> >
> > the two file 172.17.1.6.new and 172.17.1.6.raw don't show any error!.
> >
> > NOPIPE=yes ./rancid -d -t cisco 172.17.1.6
> >
> > loadtype: device type cisco
> > loadtype: found device type cisco in
> /usr/local/rancid/etc/rancid.types.base
> > executing clogin -t 90 -c"show version;show install active;show vlan;show
> > running-config" 172.17.1.6
> > PROMPT MATCH: RT-ZTE#
> > HIT COMMAND: RT-ZTE  #show version
> > In ShowVersion:  RT-ZTE  #show version
> > HIT COMMAND: RT-ZTE  #show install active
> > In ShowInstallActive:  RT-ZTE  #show install active
> > HIT COMMAND: RT-ZTE  #show vlan
> > In ShowVLAN:  RT-ZTE  #show vlan
> > HIT COMMAND: RT-ZTE  #show running-config
> > In WriteTerm:  RT-ZTE  #show running-config
> > *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
> > !
>
> 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$"
>
>
>
>
> --
>
> *Kevin Morales*
>


-- 
*Kevin Morales*
___
Rancid-discuss mailing list
Rancid-discuss@shrubbery.net
http://www.shrubbery.net/mailman/listinfo/rancid-discuss


Re: [rancid] Unable to figure out "end of run not found"

2019-07-03 Thread Kevin Morales
ok, but  rancid do not save the output of command.,

How I can fix this problem?

On Wed, Jul 3, 2019 at 11:12 AM john heasley  wrote:

> Wed, Jul 03, 2019 at 07:48:09AM -0600, Kevin Morales:
> > Hello!,
> >
> > How I can fix the problem when I run rancid for ZTE Router?. I get this
> > error: *End of run not found*
> >
> > the two file 172.17.1.6.new and 172.17.1.6.raw don't show any error!.
> >
> > NOPIPE=yes ./rancid -d -t cisco 172.17.1.6
> >
> > loadtype: device type cisco
> > loadtype: found device type cisco in
> /usr/local/rancid/etc/rancid.types.base
> > executing clogin -t 90 -c"show version;show install active;show vlan;show
> > running-config" 172.17.1.6
> > PROMPT MATCH: RT-ZTE#
> > HIT COMMAND: RT-ZTE  #show version
> > In ShowVersion:  RT-ZTE  #show version
> > HIT COMMAND: RT-ZTE  #show install active
> > In ShowInstallActive:  RT-ZTE  #show install active
> > HIT COMMAND: RT-ZTE  #show vlan
> > In ShowVLAN:  RT-ZTE  #show vlan
> > HIT COMMAND: RT-ZTE  #show running-config
> > In WriteTerm:  RT-ZTE  #show running-config
> > *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
> > !
>
> 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$"
>
>

-- 
*Kevin Morales*
___
Rancid-discuss mailing list
Rancid-discuss@shrubbery.net
http://www.shrubbery.net/mailman/listinfo/rancid-discuss


[rancid] Fwd: Problema with Rancid and ZTE Routers

2019-06-10 Thread Kevin Morales
Hi, I am trying to configure RANCID for backup ZTE Router Device, but I get
this error message:

[root@localhost logs]# more ZTE.20190610.103748
starting: Mon Jun 10 10:37:48 CST 2019

property 'svn:ignore' set on '.'
property 'svn:ignore' set on 'configs'
Updating '.':
At revision 6.


Trying to get all of the configs.
172.27.0.101:* End of run not found*
!
=

When I try clogin -c "show running-config" 172.27.0.101 I get this:

packet_write_wait: Connection to 172.27.0.101 port 22: Broken pipe

and I can see that the command work fine!


-- 
*Kevin Morales*
___
Rancid-discuss mailing list
Rancid-discuss@shrubbery.net
http://www.shrubbery.net/mailman/listinfo/rancid-discuss