Peltokangas Mikko | 11 Oct 15:11 2015
Picon

[rancid] Good guide to install Rancid and differ.

Hello,
is there anywhere a good guide to install Rancid and differ to Ubuntu-server?
Thanks in advance :)

-mikko
_______________________________________________
Rancid-discuss mailing list
Rancid-discuss <at> shrubbery.net
http://www.shrubbery.net/mailman/listinfo/rancid-discuss

David Ahrens | 8 Oct 21:16 2015

[rancid] Rancid with Dell 6248 errors

Hi,

 

I’m testing Rancid 3.2 with a Dell Powerconnect 6248.  The Dell is running version 3.3.3.3 of the firmware.

 

When I run:

   /usr/local/rancid/bin/clogin –f .cloginrc rancid-test

 

I’m able to login and get a prompt  “rancid-test>”.  If I hit return, I immediately get another command prompt.

 

When I run “/usr/local/bin/rancid-run”  The log file shows

             Error: TIMEOUT reached

             Missed cmd(s): all commands

             End of run not found

 

When I run

     /usr/local/rancid/bin/dllogin –f .cloginrc rancid-test

Or

    /usr/local/rancid/bin/hlogin –f .cloginrc rancid-test

 

I get a prompt  “rancid-test>”    but if I hit return at the prompt,  there’s no response and eventually the connection is closed with  “Error: TIMEOUT reached”.  

 

For my router.db file,  I’ve tried both

           rancid-test;smc;up

and

          rancid-test;dell;up

 

For .cloginrc file I have:

       add method {ssh}

       add autoenable rancid-test 1

       add timeout rancid-test {30}

       add cyphertype rancid-test {aes256-crtr}

       add user rancid-test {ranciduser}

       add password {##########}

 

 

Regards,
David

 

 

 

_______________________________________________
Rancid-discuss mailing list
Rancid-discuss <at> shrubbery.net
http://www.shrubbery.net/mailman/listinfo/rancid-discuss
Baird, Josh | 5 Oct 17:00 2015

[rancid] Adding JunOS Commands

Hi,

 

I use configuration groups in JunOS, so I would like to add 'show configuration | display inheritance no comments' to the list of commands that gets executed against Juniper devices.  Can someone point me in the right direction?

 

Thanks,

 

Josh

_______________________________________________
Rancid-discuss mailing list
Rancid-discuss <at> shrubbery.net
http://www.shrubbery.net/mailman/listinfo/rancid-discuss
Frank Fegert | 1 Oct 22:58 2015
Picon
Picon

[rancid] Patch to srancid for improved handling of Dell PowerConnect M-Series switches

Hello all,

i'd like to propose the attached patch to srancid for an improved hand-
ling of Dell PowerConnect M-Series switch devices. The patched version
was successfully tested against the Dell PowerConnect M6348 and M8024-k
models.
Besides some general output beautification -- additional section headers
and newlines -- it basically deals with the system uptime data in the
"show version" output. It also filters the temperature values from the
sensors in the "show system" output. For output samples of both commands
see below.
Can you please consider the provided patch for inclusion in the next
rancid release?

Thanks & best regards,

    Frank Fegert

## "show version" sample ##############################################
switch1# show version

System Description................ Dell Ethernet Switch
System Up Time.................... 90 days, 04h:48m:41s
System Contact.................... <contact email>
System Name....................... <system name>
System Location................... <location>
Burned In MAC Address............. F8B1.566E.4AFB
System Object ID.................. 1.3.6.1.4.1.674.10895.3041
System Model ID................... PCM8024-k
Machine Type...................... PowerConnect M8024-k

unit image1      image2      current-active next-active
---- ----------- ----------- -------------- --------------
1    5.1.3.7     5.1.8.2     image2         image2
2    5.1.3.7     5.1.8.2     image2         image2

## "show system" sample ###############################################
switch1# show system

System Description: Dell Ethernet Switch
System Up Time: 90 days, 04h:48m:19s
System Contact: <contact email>
System Name: <system name>
System Location: <location>
Burned In MAC Address: F8B1.566E.4AFB
System Object ID: 1.3.6.1.4.1.674.10895.3041
System Model ID: PCM8024-k
Machine Type: PowerConnect M8024-k
Temperature Sensors:

Unit     Description       Temperature    Status
                            (Celsius)
----     -----------       -----------    ------
1        System            39             Good
2        System            39             Good

Power Supplies:

Unit  Description    Status

----  -----------  -----------
NA        NA            NA
NA        NA            NA

Attachment (srancid.in.patch): text/x-diff, 2750 bytes
_______________________________________________
Rancid-discuss mailing list
Rancid-discuss <at> shrubbery.net
http://www.shrubbery.net/mailman/listinfo/rancid-discuss
Jack O Regan | 1 Oct 16:07 2015
Picon

[rancid] how to create custom devices

Hi All,

I want to create some custom devices in rancid but I can't find a guide that makes sense to me. I have some virtual contexts that I want to get the config from. I also have some non-cisco devices that I need to get too. I just need to know what are the files I need to create/edit.

Regards,
Jack

_______________________________________________
Rancid-discuss mailing list
Rancid-discuss <at> shrubbery.net
http://www.shrubbery.net/mailman/listinfo/rancid-discuss
Picon

[rancid] MRV optidriver

Hey,

Has anyone managed to get MRVs Optidrivers working in rancid?

This message may be private and confidential. If you have received this message in error, please notify us
and remove it from your system.

Gyron may monitor email traffic data and the content of email for the purposes of security and staff training.

Gyron Internet Ltd is a limited company registered in England and Wales. Registered number: 4239332.
Registered office: 3 Centro, Boundary Way, Hemel Hempstead, HP2 7SU. VAT reg no 804 2532 63. Gyron is a
registered trademark.

Gyron is a Deloitte Technology Fast 50 ranked company.
_______________________________________________
Rancid-discuss mailing list
Rancid-discuss <at> shrubbery.net
http://www.shrubbery.net/mailman/listinfo/rancid-discuss

Andrew Meyer | 28 Sep 15:33 2015
Picon

[rancid] rancid with svn

I was able to setup Ranicd with SVN however I added a new device and made a few changes to my own hardware and I don't see the updates reflecting in in websvn.

Anyone else have this problem?
_______________________________________________
Rancid-discuss mailing list
Rancid-discuss <at> shrubbery.net
http://www.shrubbery.net/mailman/listinfo/rancid-discuss
allonon | 16 Sep 18:06 2015
Picon

[rancid] New Rancid Install

Working through installing rancid on my own for the first time.  I've used it at previous companies but having to install it myself at this company.

So far have managed to get everything mostly working but am confused by rancid-run.  Everything I've read says I need to setup a cron job to have it run. which is fine, that is what I expect.  However in my install it seems that it is already running hourly.  I can't seem to find where that is configured.  Given the CPU hit on the cisco devices, 1 hour is too often for our environment

installed this on fedora 21, directly from the repo


_______________________________________________
Rancid-discuss mailing list
Rancid-discuss <at> shrubbery.net
http://www.shrubbery.net/mailman/listinfo/rancid-discuss
Minh Scholes | 16 Sep 00:41 2015
Picon

Re: [rancid] New installation not working

Thanks.  All the build help docs I was using used the colon instead of the semi-colon.  that was completely throwing me off.

Now I have to figure out websvn permission issue.......
_______________________________________________
Rancid-discuss mailing list
Rancid-discuss <at> shrubbery.net
http://www.shrubbery.net/mailman/listinfo/rancid-discuss
Minh Scholes | 15 Sep 21:54 2015
Picon

[rancid] New installation not working

Installed Rancid and SVN on fedora21 host.   Tested using clogin and tested fine.

added host to router.db and ran rancid-run.   Immediately moves host to router.down.
Only output in log is

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

How to debug why rancid is placing host down?   google search so far has been futile.



_______________________________________________
Rancid-discuss mailing list
Rancid-discuss <at> shrubbery.net
http://www.shrubbery.net/mailman/listinfo/rancid-discuss
Daren McGill | 10 Sep 00:03 2015

[rancid] Palo Alto issue

I just upgraded to 3.2 as Palo Alto was now integrated ran into the following issue. If I run the command in rancid it goes to run the right command but comes back with nothing. However if I run the command for panlogin direct it works great. See output below.

 

[rancid <at> lei-tac-prd-254 ~]$ export NOPIPE=YES; rancid -d -t paloalto crp01-pan02

loadtype: device type paloalto

loadtype: found device type paloalto in /usr/local/rancid/etc/rancid.types.base

executing panlogin -t 90 -c"set cli scripting-mode on;set cli pager off;show system info;show config running" crp01-pan02

crp01-pan02: missed cmd(s): all commands

crp01-pan02: End of run not found

crp01-pan02: End of run not found

 

 

[rancid <at> lei-tac-prd-254 ~]$ panlogin -t 90 -c"set cli scripting-mode on;set cli pager off;show system info;show config running" crp01-pan02

crp01-pan02

spawn ssh -c 3des -x -l svc-rancid crp01-pan02

Password:

Last login: Wed Sep  9 15:59:34 2015 from 10.2.10.254

Welcome svc-rancid.

 

svc-rancid <at> CRP01-PAN02(active)>

svc-rancid <at> CRP01-PAN02(active)>

svc-rancid <at> CRP01-PAN02(active)> set cli scripting-mode on

svc-rancid <at> CRP01-PAN02(active)> set cli pager off

svc-rancid <at> CRP01-PAN02(active)> show system info

 

hostname: CRP01-PAN02

 

The config scrolls after this with no issues.

 

Thanks,
Daren

_______________________________________________
Rancid-discuss mailing list
Rancid-discuss <at> shrubbery.net
http://www.shrubbery.net/mailman/listinfo/rancid-discuss

Gmane