[rancid] juniper devices

heas at shrubbery.net heas at shrubbery.net
Tue Oct 30 15:41:33 UTC 2018


Tue, Oct 30, 2018 at 01:43:33PM +0000, Andrew Meyer:
> Also I installed this from CentOS 7 EPEL repo. 

well, it appears to have a flaw.  either fix the PATH or install 3.8 from
source.

>     On Monday, October 29, 2018 7:29 PM, Andrew Meyer <andrewm659 at yahoo.com> wrote:
>  
> 
>  Amazon Linux 2 is based on redhat/centos 7.
> 
> Sent from Yahoo Mail on Android 
>  
>   On Mon, Oct 29, 2018 at 19:02, heasley<heas at shrubbery.net> wrote:   > Mon, Oct 29, 2018 at 09:11:31PM +0000, Andrew Meyer:
> > I am having some issues with rancid-3.2-2 on Amazon Linux 2.  I am trying to    
> > get rancid to talk to my Juniper (junos) switches and SRX firewalls and am
> > stuck.
>> > Juniper EX2200
> > Juniper SRX650
> > 
> > I have everything setup in my config.
> > 
> > router.db
> > [rancid at rancid01 configs]$ cat ../router.db
> > fw.location.example.net;juniper-srx;up
> > sw1.location.example.net;junos;up
> > sw2.location.example.net;juniper;up
> > sw3.location.example.net;juniper;up
> > sw4.location.example.net;juniper;up
> > sw5.location.example.net;juniper;up
> > aruba1.location.example.net;aruba;up
> > aruba2.location.example.net;aruba;down
> > [rancid at rancid01 configs]$
> > 
> > 
> > Here is my logs.
> > =====================================
> > Getting missed routers: round 4.
> > unknown router manufacturer for sw1.location.example.net: junos
>   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> type should be juniper
> 
> > sh: jlogin: command not found
>   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> > fw.location.example.net: missed cmd(s): all commands
> > fw.location.example.net: End of run not found
> > sh: jlogin: command not found
> > sw2.location.example.net: missed cmd(s): all commands
> > sw2.location.example.net: End of run not found
> > #
> > #
> > sh: clogin: command not found
>   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> I do not know what an Amazon Linux 2 is nor how you installed rancid,
> but because you can run clogin from your shell prompt, i assume you are
> not missing prerequisite packages.  so, you probably just have a deficient
> PATH in your rancid.conf.
> 
> > aruba1.location.example.net: missed cmd(s): all commands
> > aruba1.location.example.net: End of run not found
> > !
> > sh: jlogin: command not found
> > sw3.location.example.net: missed cmd(s): all commands
> > sw3.location.example.net: End of run not found
> > sh: jlogin: command not found
> > sw4.location.example.net: missed cmd(s): all commands
> > sw4.location.example.net: End of run not found
> > #
> > #
> > sh: jlogin: command not found
> > sw5.location.example.net: missed cmd(s): all commands
> > sw5.location.example.net: End of run not found
> > #
>> > On branch master
> > Your branch is up-to-date with 'origin/master'.
> > 
> > nothing to commit, working tree clean
> > Everything up-to-date
> > 
> > ending: Mon Oct 29 21:01:01 UTC 2018
> > [rancid at rancid01 logs]$
> > 
> > When I run a clogin command on its own, I can ssh in just fine but there is a
> > sligh issue with the terminal.  I suspect it's pagination.
> > 
> > 
> > It has been while since having to do this so I'm not sure where I got this
> > mixed up.
> > 
> > Any thoughts?
> > 
> > Regards,
> > Andrew
> > 
> > 
> > _______________________________________________
> > Rancid-discuss mailing list
> > Rancid-discuss at shrubbery.net
> > http://www.shrubbery.net/mailman/listinfo/rancid-discuss
> 
>   
> 
> 
>    



More information about the Rancid-discuss mailing list