[rancid] Doubling characters on some devices
Walt Howd
walthowd at gmail.com
Wed Feb 8 20:55:44 UTC 2012
I'm running rancid 2.3.6-8 with expect 5.44.1.14 on Ubuntu 10.04.3 LTS 32bit.
I'm backing up configurations on approximately 200 devices without issues but two devices will sometimes double or omit a character on one or more lines. Example:
diff --git a/cisco/configs/4507-1 b/cisco/configs/4507-1
index 97a63fc..30c6d3e 100644
--- a/cisco/configs/4507-1
+++ b/cisco/configs/4507-1
@@ -2915,7 +2915,7 @@
interface GigabitEthernet6/22
switchport port-security maximum 4
switchport port-security
storm-control broadcast level 10.00
- sstorm-control action shutdown
+ storm-control action shutdown
spanning-tree portfast
!
<snip>
@@ -4704,7 +4704,7 @@
interface GigabitEthernet9/41
switchport mode access
switchport block multicast
switchport block unicast
- switchport port-security maximumm 4
+ switchport port-security maximum 4
switchport port-security
storm-control broadcast level 10.00
storm-control action shutdown
I've looked through the archives but havent' found others experiencing this problem. My rancid.conf is below:
TERM=network;export TERM
umask 027
TMPDIR=/tmp; export TMPDIR
BASEDIR=/var/lib/rancid; export BASEDIR
PATH=/usr/lib/rancid/bin:/usr/bin:/usr/sbin:/bin:/usr/local/bin:/usr/bin; export PATH
CVSROOT=$BASEDIR/CVS; export CVSROOT
LOGDIR=$BASEDIR/logs; export LOGDIR
RCSSYS=git; export RCSSYS
NOPIPE=YES; export NOPIPE
FILTER_PWDS=YES; export FILTER_PWDS
NOCOMMSTR=YES; export NOCOMMSTR
PAR_COUNT=3; export PAR_COUNT
LIST_OF_GROUPS="cisco"
HTMLMAILS=YES; export HTMLMAILS
I've turned on NOPIPE and also turned PAR_COUNT down to 3 but the issue still randomly occurs.
I have also tested manually pulling configs (via TFTP) from the problematic switches and have not found any unexpected differences.
Walt Howd
Network Manager
Information Technology Services
Truman State University
100 East Normal Street
Kirksville, MO 63501
More information about the Rancid-discuss
mailing list