I was having a hell of a time configuring Rancid with the Brocade ICX series switches. As with most things, the solution is very simple – after about 10 attempts of doing it wrong. The right solution is always the last one you try!
Anyway, you just need to use the ‘foundry’ rancid scripts. I tried the ones listed here: http://www.gossamer-threads.com/lists/rancid/users/5454 But they didn’t do it for me. The brocaderancid/brocadelogin scripts use these weird commands like chassisShow, fosConfig —show, and configShow. If your equipment has those commands then stop reading my post now and go read that email thread. if your switch does show version and show configuration, then read on!
Anyway, here are the few simple steps to get you going. I have a Brocade ICX6610-48 running Version:07.3.00cT7f3 (FCXR07300c.bin). This worked for me, YMMV.
Step 1: Add your RANCID user to your switch:
1 2 3 4 5 6 7
Step 2: Add your switch to RANCID:
1 2 3 4 5 6 7
Run RANCID by hand to verify:
1 2 3
If you screwed up somewhere, first doublecheck that you have the IP addresses and hostnames correct in .cloginrc and router.db, and second, you can do some RANCID debugging. Checking IP addresses is much easier than debugging RANCID.
If you need to debug RANCID:
1 2 3 4 5 6
From here you are on your own. I am assuming you know RANCID well enough. Good Luck!