[rancid] Re: RANCID CISCO CAT OS prompt problem

Lance rancid at gheek.net
Wed Feb 21 20:07:46 UTC 2007


Stephane,

What exactly are you having problems with? You are running catos. Make
sure in your router.db you have c3c01s defined as cat5. Make sure you
have your proper login username/password specified in your .cloginrc

Your router.db should look something like this if you only have that one
device in it.
/usr/local/rancid/var/<network group>/router.db
c3c01s:cat5:up

Have you tried doing a "clogin c3c01s"?


1- command prompt which is c3c01s> (enable)
How do I change it so that I have # instead of >?
Your prompts are fine. That is normal for a catos device.
 

2-Do I need to upgrade my version of Rancid and/or expect?
If yes how can I determine which version I’m currently running?

Your Rancid version should be fine if you downloaded it anytime in the
last 5 years. The version I am running are listed below.

Check your perl/expect version too.

perl -v
expect -v

I am running the following with no problem on a suse box.
expect -v
expect version 5.41.0

perl -v
This is perl, v5.8.6 built for i586-linux-thread-multi


Simply do this to get your version of your scripts (if you installed to
the default location).
cd /usr/local/rancid/bin
grep 'Id:' * | grep in

alogin:## $Id: alogin.in,v 1.30 2005/06/14 20:20:43 heas Exp $
arancid:## $Id: arancid.in,v 1.20 2005/09/25 17:48:28 heas Exp $
blogin:## $Id: blogin.in,v 1.28 2005/06/14 20:20:43 heas Exp $
brancid:## $Id: brancid.in,v 1.22 2005/09/25 17:48:28 heas Exp $
cat5rancid:## $Id: cat5rancid.in,v 1.45 2005/09/25 17:48:29 heas Exp $
clogin:## $Id: clogin.in,v 1.94 2006/04/28 15:37:40 heas Exp $
control_rancid:## $Id: control_rancid.in,v 1.76 2006/05/04 21:31:20 heas
Exp $
cssrancid:## $Id: cssrancid.in,v 1.11 2005/09/25 17:48:29 heas Exp $
elogin:## $Id: elogin.in,v 1.33 2005/06/14 20:20:43 heas Exp $
erancid:## $Id: erancid.in,v 1.24 2005/09/25 17:48:29 heas Exp $
f10rancid:## $Id: f10rancid.in,v 1.17 2005/09/25 17:48:29 heas Exp $
flogin:## $Id: flogin.in,v 1.39 2005/06/14 20:20:43 heas Exp $
fnrancid:## $Id: fnrancid.in,v 1.9 2005/09/25 17:48:29 heas Exp $
francid:## $Id: francid.in,v 1.35 2005/09/25 17:48:29 heas Exp $
hlogin:## $Id: hlogin.in,v 1.31 2006/02/07 19:06:55 heas Exp $
hrancid:## $Id: hrancid.in,v 1.23 2005/09/25 17:48:29 heas Exp $
htlogin:## $Id: htlogin.in,v 1.13 2005/06/14 20:20:43 heas Exp $
htrancid:## $Id: htrancid.in,v 1.11 2005/09/25 17:48:30 heas Exp $
jerancid:## $Id: jerancid.in,v 1.34 2005/09/25 17:48:30 heas Exp $
jlogin:## $Id: jlogin.in,v 1.51 2005/06/14 20:20:43 heas Exp $
jrancid:## $Id: jrancid.in,v 1.70 2005/09/28 22:07:57 heas Exp $
lg.cgi:## $Id: lg.cgi.in,v 1.52 2005/12/07 19:19:46 heas Exp $
lgform.cgi:## $Id: lgform.cgi.in,v 1.29 2004/09/03 18:41:25 heas Exp $
mrancid:## $Id: mrancid.in,v 1.16 2005/09/25 17:48:30 heas Exp $
nclogin:## $Id: clogin.in,v 1.89 2005/08/14 20:18:19 heas Exp $
nlogin:## $Id: nlogin.in,v 1.27 2006/01/26 22:14:28 heas Exp $
nrancid:## $Id: nrancid.in,v 1.25 2005/10/12 01:35:31 heas Exp $
nslogin:## $Id: nslogin.in,v 1.17 2005/06/14 22:23:44 heas Exp $
nsrancid:## $Id: nsrancid.in,v 1.12 2005/09/25 17:48:30 heas Exp $
par:## $Id: par.in,v 1.11 2005/06/14 20:20:44 heas Exp $
prancid:## $Id: prancid.in,v 1.33 2005/09/25 17:48:30 heas Exp $
rancid:## $Id: rancid.in,v 1.203 2006/04/06 21:14:05 heas Exp $
rancid-cvs:## $Id: rancid-cvs.in,v 1.17 2005/08/15 00:42:50 heas Exp $
rancid-fe:## $Id: rancid-fe.in,v 1.37 2005/06/14 20:20:44 heas Exp $
rancid-run:## $Id: rancid-run.in,v 1.32 2005/06/14 20:20:44 heas Exp $
rivlogin:## $Id: rivlogin.in,v 1.19 2005/06/14 20:20:44 heas Exp $
rivrancid:## $Id: rivrancid.in,v 1.15 2005/09/25 17:48:30 heas Exp $
rrancid:## $Id: rrancid.in,v 1.24 2005/09/25 17:48:31 heas Exp $
tntlogin:## $Id: tntlogin.in,v 1.17 2005/06/14 20:20:44 heas Exp $
tntrancid:## $Id: tntrancid.in,v 1.15 2005/09/25 17:48:31 heas Exp $
wlclogin:## $Id: clogin.in,v 1.89 2005/08/14 20:18:19 heas Exp $
xrancid:## $Id: xrancid.in,v 1.39 2006/03/23 18:43:01 heas Exp $
zrancid:## $Id: zrancid.in,v 1.12 2005/09/25 17:48:31 heas Exp $


-lance

> -------- Original Message --------
> Subject: [rancid]  RANCID CISCO CAT OS prompt problem
> From: Stephane.Malo at bell.ca
> Date: Fri, February 16, 2007 12:08 pm
> To: <rancid-discuss at shrubbery.net>
> Cc: stephane.malo at gmail.com
> 
>        Im sorry to be bringing this up again but Ive search in the past post but never found any step-by-step (idiot proof) instructions for my problem.   I have a Cisco  WS-C6509 and would need RANCID to be able to get its configuration. As Im not CISCO switch savy nor a Rancid expert Im left turning in circles and loosing my hair.   I must have multiple problems like:             1- command prompt which is c3c01s> (enable)             How do I change it so that I have # instead of >?               2-Do I need to upgrade my version of Rancid and/or expect?             If yes how can I determine which version Im currently running?   Here is a snapshot of a manual telnet session to the switch: [smadmin at dcoc4v etc]$ telnet c3c01s Destination c3c01s found for customer 3CS. Connecting to c3c01s using source IP of the client 3CS (198.235.125.28)    Trying 192.168.248.65... Connected to 192.168.248.65. Escape character is '^]'.     Cisco Systems Console     c  **************
 **************************************************************** *  SYSTEME INFORMATIQUE PRIVE. RESERVE AUX PERSONNES AUTORISEES. TOUT ACCES  * *  NON AUTORISE AU DELA DE CE POINT ENTRAINERA DES POURSUITES JUDICIAIRES.   * *---------------------------------------------------------------------------* *  PRIVATE COMPUTER SYSTEM, RESERVED FOR AUTHORIZED USERS.                   * *  ANY NON-AUTHORIZED ACCESS BEYOND THIS POINT MAY INVOLVE PROSECUTION.      * *----------------------------------------------------------------------------* *         Gere par/Managed by BELL CANADA et/by Connexim                     * ******************************************************************************       Enter password:  c3c01s> en   Enter password:  c3c01s> (enable) sh ver WS-C6509 Software, Version NmpSW: 8.3(6) Copyright (c) 1995-2005 by Cisco Systems NMP S/W compiled on Feb  8 2005, 13:10:10   System Bootstrap Version: 5.3(1) System Boot Image File is 'bootflash:cat6000-supk8.8-3-6.
 bin' System Configuration register is 0x2122   Hardware Version: 2.0  Model: WS-C6509  Serial #: SCA044000YW   PS1  Module: WS-CAC-1300W    Serial #: SON04331283 PS2  Module: WS-CAC-1300W    Serial #: SON04330467   Mod Port Model               Serial #    Versions --- ---- ------------------- ----------- -------------------------------------- 1   2    WS-X6K-SUP1A-2GE    SAD05020STG Hw : 7.3                                          Fw : 5.3(1)                                          Fw1: 5.4(2)                                          Sw : 8.3(6)                                          Sw1: 8.3(6)          WS-F6K-PFC          SAD050303KG Hw : 1.1                                             Sw :           WS-X6K-SUP1A-2GE    SAD05020STG Hw : 7.3                                             Sw :  2   2    WS-X6K-SUP1A-2GE    SAD05020R9G Hw : 7.0                                          Fw : 5.3(1)                                          Fw1: 5.4(2)                           
                Sw : 8.3(6)                                          Sw1: 8.3(6)          WS-F6K-PFC          SAD05020EE6 Hw : 1.1                                             Sw :           WS-X6K-SUP1A-2GE    SAD05020R9G Hw : 7.0                                             Sw :  3   48   WS-X6348-RJ-45      SAD04340E68 Hw : 1.1                                          Fw : 5.4(2)                                          Sw : 8.3(6) 4   48   WS-X6348-RJ-45      SAL050958KT Hw : 2.2                                          Fw : 5.4(2)                                          Sw : 8.3(6) 5   8    WS-X6408A-GBIC      SAL05031CNP Hw : 1.3                                          Fw : 5.4(2)                                          Sw : 8.3(6) 6   8    WS-X6408A-GBIC      SAL05031FWA Hw : 1.3                                          Fw : 5.4(2)                                          Sw : 8.3(6) 8   48   WS-X6148-GE-TX      SAD07510BEK Hw : 6.1                                    
       Fw : 7.2(1)                                          Sw : 8.3(6) 9   8    WS-X6608-T1         SAD075001YG Hw : 1.4                                          Fw : 5.4(2)                                          Sw : 8.3(6)                                          HP1: D004040009E2; DSP1: D0054320 (4.3.201)                                          HP2: D004040009E2; DSP2: D0054320 (4.3.201)                                          HP3: D004040009E2; DSP3: D0054320 (4.3.201)                                          HP4: D004I3A0; DSP4: D005H300 (3.6.12)                                          HP5: C00104000001; DSP5: C002E031 (3.3.2)                                          HP6: C00104000001; DSP6: C002E031 (3.3.2)                                          HP7: C00104000001; DSP7: C002E031 (3.3.2)                                          HP8: C00104000001; DSP8: C002E031 (3.3.2) 15  1    WS-F6K-MSFC2        SAD050301BS Hw : 1.7                                          Fw :
  12.1(20)E2                                          Sw : 12.1(20)E2 16  1    WS-F6K-MSFC2        SAD05020GLD Hw : 1.1                                          Fw : 12.1(20)E2                                          Sw : 12.1(20)E2          DRAM                    FLASH                   NVRAM Module Total   Used    Free    Total   Used    Free    Total Used  Free ------ ------- ------- ------- ------- ------- ------- ----- ----- ----- 1      130944K  62471K  68473K  16384K  12611K   3773K  512K  374K  138K   Uptime is 213 days, 10 hours, 18 minutes c3c01s> (enable) 
> 
> Stéphane Malo
>  Bell Solutions d'impartition en T.I.C.
>  Spécialiste gestion des systèmes
>  Bureau : (514) 499-7273
>  Cellulaire: (514) 514-963-6256
>  stephane.malo at bell.ca      
> ---------------------------------------------------------------------
> _______________________________________________
> Rancid-discuss mailing list
> Rancid-discuss at shrubbery.net
> http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss




More information about the Rancid-discuss mailing list