[rancid] CISCO username problem

Stephane Malo stephane.malo at gmail.com
Thu Jan 11 16:43:34 UTC 2007


 Hello all,
I`m new to RANCID and i was just assigned to work on it.
I've read some of the threads but due to my lack of knowledge i would need
an "idiot proof" explanation.

Problem is with CISCO CAT switches.
Q1 What is the difference that RANCID needs to know if its a CISCO CAT IOS
or if its a CISCO IOS?

When i try to do a clogin SW1 it gets stuck on the username
$ clogin sw1
sw1
 Tryning with username : password : password : telnet : 3des :
spawn telnet sw1
Destination sw1 found for customer XYZ.

Trying 10.x.x.x...
Connected to 10.x.x.x.
Escape character is '^]'.

Cisco Systems, Inc. Console


##################################################################################
#
#
#               You are about to access an Enterprise
Network                    #
#
#
#     The programs and data stored on this system are licensed to or are
the     #
#     private property of the enterprise and are lawfully available only
to      #
#     authorized users for approved purposes. Unauthorized access to
any         #
#     program or data on this system is not permitted, and any
unauthorized      #
#     access beyond this point may lead to
prosecution.                          #
#
#
#     This system may be monitored at any time for operational
reasons.          #
#     Therefore, if you are not an authorized user, do not attempt to log
in.    #
#
#
##################################################################################
#     Vous etes sur le point d'acceder au reseau de
l'entreprise                 #
#
#
#     Les programmes et les donnees compris dans ce systeme sont
regis           #
#     par une licence ou sont la propriete privee de l'entreprise et ils
ne      #
#     sont accessibles legalement qu'aux usagers autorises a des
fins            #
#     autorisees. Il est interdit d'y acceder sans autorisation et tout
acces    #
#     non autorise au-dela de ce point peut entrainer des
poursuites.            #
#
#
#     Le systeme peut en tout temps faire l'objet d'une surveillance. Si
vous    #
#     n'etes pas un usager autorise  n'essayez pas d'y
acceder.                  #
#
v1.1 #
##################################################################################


Username:

Username:


My .cloginrc file looks like:
add password    sw1 password
add user        sw1 username
add method      sw1 telnet
add autoenable  sw1 1


When i log manually into my CISCO the prompt look like:
SW1 (enable)

Q2. Do i need to change it? If yes then what command should i do on the
CISCO?
Q3. Should i put:
set prompt SW1#

Q4. Should autoenable be set to 0 or 1

In general i saw multiple threads with various loggin problems on the CISCO
cat switches.
Q5. Is there a permanent fix?

Thanks for your help


-- 
Best regards
Stephane Malo
514-963-6256
"Insanity is doing the same thing over and over, and expecting a different
result."
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20070111/ef070de0/attachment.html 


More information about the Rancid-discuss mailing list