Discussion:
[rancid] Rancid and Cisco Small Business SG500
Richard Savage
2016-04-13 09:44:49 UTC
Permalink
Hi All

Im using rancid 2.3.8 and am backup up around 100 cisco small business switches SG300's and SG500's. Im using the type cisco-sb.

When backing up the SG500's on every diff the following is coming up:

Index: configs/rc-pr-sw1
===================================================================
- -- configs/rc-pr-sw1 (revision 1333)
@@ -16,12 +16,12 @@
!---- ------------------------- -------------------------
! 1 24 OK
! 2 23 OK
- ! 3 24 OK
+ ! 3 22 OK
!Unit Up time
!---- ---------------
- ! 1 06,07:16:42
- ! 2 06,07:16:46
- ! 3 06,07:16:42
+ ! 1 06,13:16:41
+ ! 2 06,13:16:45
+ ! 3 06,13:16:41
!
! Unit SW version Boot version HW version
!------------------- ------------------- ------------------- -------------------

Is there a way that rancid can ignore this so that we don't get a diff everytime rancid is run?

Many thanks

Rich
This e-mail is sent on behalf of Timico Partner Services Limited, a company registered in England and Wales, registered number 03128506, registered office Beacon Hill Park, Newark, Nottinghamshire, NG24 2TN and regulated by Ofcom. The information in this e-mail is confidential and is intended solely for the use of that individual or entity to which it is addressed. Unauthorised use, dissemination, distribution, publication or copying of this communication is strictly prohibited. If you receive this in error, please notify us by email to ***@timico.co.uk<mailto:***@timico.co.uk> and delete any copies. For information about how we process data and monitor communications please see our privacy statement<http://www.timico.co.uk/downloads/terms/Privacy_Statement.pdf>.
Alex DEKKER
2016-12-20 11:57:48 UTC
Permalink
Post by Richard Savage
+ ! 1 06,13:16:41
+ ! 2 06,13:16:45
+ ! 3 06,13:16:41
!
! Unit SW version Boot version HW version
!------------------- ------------------- ------------------- -------------------
Is there a way that rancid can ignore this so that we don't get a diff
everytime rancid is run?
I've imported a version of cisco-sb for rancid 4.0, but need a little
more
info to address this problem. Can you tell me from which command this
output comes and show me the raw output?
show system:

$ csblogin sg500x



User Name:cisco
Password:***********


SG500X#sho system
System Description: SG500X-24P 24-Port Gigabit
with 4-Port 10-Gigabit PoE Stackable Managed Switch
System Up Time (days,hour:min:sec): 486,05:08:01
System Contact:
System Name: SG500X
System Location: SG500X
System MAC Address: d4:d7:48:d3:8e:16
System Object ID: 1.3.6.1.4.1.9.6.1.85.24.2

Fans Status: OK


Unit Temperature (Celsius) Status
------------------------ ------------------------
------------------------
1 39 OK


SG500X#quit


alexd
heasley
2016-12-20 15:05:06 UTC
Permalink
Thats not the output that richard is complaining about, but the temperature
(per card?) that you have supplied seems like it needs to be filtered. Does
the following do it?
blech; that patch shouldnt be necessary.

Loading...