Discussion:
[rancid] Cannot log into Cisco
Edward Markiewicz
2012-08-02 15:06:55 UTC
Permalink
Hello,

Here is my problem. I have new devices I want to add to RANCID but it looks like my old devices use a "#" at the end of a prompt and the new devices use a ">". The error I get is;

!
<device name> clogin error: Error: TIMEOUT reached
<device name>: missed cmd(s): write term,show running-config,more system:running-config
<device name>: End of run not found
!

I've added in the .cloginrc file the following;

add user <device name> <UID>
add password <device name> {<PWD>}
add method <device name> ssh telnet
add noenable <device name> 1

But it still doesn't work. I thought I saw at one time a patch that addressed this but can't fine it now. Can someone point me in the right direction?
Tyler J. Wagner
2012-08-02 15:29:01 UTC
Permalink
Judging from the > prompt, the new devices need to set enable mode first.
Remove the "noenable" line or set it to 0.

Regards,
Tyler
Post by Edward Markiewicz
Hello,
Here is my problem. I have new devices I want to add to RANCID but it
looks like my old devices use a “#” at the end of a prompt and the new
devices use a “>”. The error I get is;
!
<device name> clogin error: Error: TIMEOUT reached
<device name>: missed cmd(s): write term,show running-config,more system:running-config
<device name>: End of run not found
!
I’ve added in the .cloginrc file the following;
add user <device name> <UID>
add password <device name> {<PWD>}
add method <device name> ssh telnet
add noenable <device name> 1
But it still doesn’t work. I thought I saw at one time a patch that
addressed this but can’t fine it now. Can someone point me in the right
direction?
_______________________________________________
Rancid-discuss mailing list
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
--
"By definition ... alternative medicine ... has either not been proved to
work, or has been proved not to work. You know what they call alternative
medicine that’s been proved to work? Medicine."
-- Tim Minchin
Edward Markiewicz
2012-08-02 15:42:52 UTC
Permalink
Tyler,
I made the changes as you suggested, but unfortunately it did not work. I still get the following errors;

!
<device name> clogin error: Error: TIMEOUT reached
<device name>: missed cmd(s): write term,show running-config,more system:running-config
<device name>: End of run not found
!

~Ed



-----Original Message-----
From: Tyler J. Wagner [mailto:***@tolaris.com]
Sent: Thursday, August 02, 2012 9:29 AM
To: Edward Markiewicz
Cc: rancid-***@shrubbery.net
Subject: Re: [rancid] Cannot log into Cisco

Judging from the > prompt, the new devices need to set enable mode first.
Remove the "noenable" line or set it to 0.

Regards,
Tyler
Post by Edward Markiewicz
Hello,
Here is my problem. I have new devices I want to add to RANCID but it
looks like my old devices use a "#" at the end of a prompt and the new
devices use a ">". The error I get is;
!
<device name> clogin error: Error: TIMEOUT reached
<device name>: missed cmd(s): write term,show running-config,more system:running-config
<device name>: End of run not found
!
I've added in the .cloginrc file the following;
add user <device name> <UID>
add password <device name> {<PWD>}
add method <device name> ssh telnet
add noenable <device name> 1
But it still doesn't work. I thought I saw at one time a patch that
addressed this but can't fine it now. Can someone point me in the
right direction?
_______________________________________________
Rancid-discuss mailing list
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
--
"By definition ... alternative medicine ... has either not been proved to work, or has been proved not to work. You know what they call alternative medicine that's been proved to work? Medicine."
-- Tim Minchin
Danilo Gouveia
2012-08-02 15:46:40 UTC
Permalink
Can you ping it using the hostname ?

On Thu, Aug 2, 2012 at 12:42 PM, Edward Markiewicz <
Post by Edward Markiewicz
Tyler,
I made the changes as you suggested, but unfortunately it did not work. I
still get the following errors;
!
<device name> clogin error: Error: TIMEOUT reached
<device name>: missed cmd(s): write term,show running-config,more system:running-config
<device name>: End of run not found
!
~Ed
-----Original Message-----
Sent: Thursday, August 02, 2012 9:29 AM
To: Edward Markiewicz
Subject: Re: [rancid] Cannot log into Cisco
Judging from the > prompt, the new devices need to set enable mode first.
Remove the "noenable" line or set it to 0.
Regards,
Tyler
Post by Edward Markiewicz
Hello,
Here is my problem. I have new devices I want to add to RANCID but it
looks like my old devices use a "#" at the end of a prompt and the new
devices use a ">". The error I get is;
!
<device name> clogin error: Error: TIMEOUT reached
<device name>: missed cmd(s): write term,show running-config,more system:running-config
<device name>: End of run not found
!
I've added in the .cloginrc file the following;
add user <device name> <UID>
add password <device name> {<PWD>}
add method <device name> ssh telnet
add noenable <device name> 1
But it still doesn't work. I thought I saw at one time a patch that
addressed this but can't fine it now. Can someone point me in the
right direction?
_______________________________________________
Rancid-discuss mailing list
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
--
"By definition ... alternative medicine ... has either not been proved to
work, or has been proved not to work. You know what they call alternative
medicine that's been proved to work? Medicine."
-- Tim Minchin
_______________________________________________
Rancid-discuss mailing list
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
--
Atenciosamente / Best Regards,

Danilo Marques de Gouveia
IT - Network Administrator
(19) 3847 8424
Edward Markiewicz
2012-08-02 16:07:04 UTC
Permalink
Oh yes. And I can ssh with no issues;
Warning: Permanently added '<device name>,<device IP>' (RSA) to the list of known hosts.

*******************************************************************
This is a private computer system containing information that is
proprietary and confidential to the owner of the system. Only
individuals or entities authorized by the owner of the system are
allowed to access or use them. Any unauthorized access or use
of the system or information is strictly prohibited. All violators
will be prosecuted to the fullest extent permitted by law.
*******************************************************************

<UID>@<device name>'s password:

<device name>> show version
Cisco IOS Software, c7600s72033_rp Software (c7600s72033_rp-ADVENTERPRISEK9-M), Version 12.2(33)SRE3, RELEASE SOFTWARE (fc1)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2011 by Cisco Systems, Inc.
Compiled Wed 26-Jan-11 03:05 by prod_rel_team

~A bunch more verbiage~

<device name>>quit



From: Danilo Gouveia [mailto:***@motorola.com]
Sent: Thursday, August 02, 2012 9:47 AM
To: Edward Markiewicz
Cc: Tyler J. Wagner; rancid-***@shrubbery.net
Subject: Re: [rancid] Cannot log into Cisco

Can you ping it using the hostname ?
On Thu, Aug 2, 2012 at 12:42 PM, Edward Markiewicz <***@cricketcommunications.com<mailto:***@cricketcommunications.com>> wrote:
Tyler,
I made the changes as you suggested, but unfortunately it did not work. I still get the following errors;

!
<device name> clogin error: Error: TIMEOUT reached
<device name>: missed cmd(s): write term,show running-config,more system:running-config
<device name>: End of run not found
!
~Ed



-----Original Message-----
From: Tyler J. Wagner [mailto:***@tolaris.com<mailto:***@tolaris.com>]
Sent: Thursday, August 02, 2012 9:29 AM
To: Edward Markiewicz
Cc: rancid-***@shrubbery.net<mailto:rancid-***@shrubbery.net>
Subject: Re: [rancid] Cannot log into Cisco
Judging from the > prompt, the new devices need to set enable mode first.
Remove the "noenable" line or set it to 0.

Regards,
Tyler
Post by Edward Markiewicz
Hello,
Here is my problem. I have new devices I want to add to RANCID but it
looks like my old devices use a "#" at the end of a prompt and the new
devices use a ">". The error I get is;
!
<device name> clogin error: Error: TIMEOUT reached
<device name>: missed cmd(s): write term,show running-config,more system:running-config
<device name>: End of run not found
!
I've added in the .cloginrc file the following;
add user <device name> <UID>
add password <device name> {<PWD>}
add method <device name> ssh telnet
add noenable <device name> 1
But it still doesn't work. I thought I saw at one time a patch that
addressed this but can't fine it now. Can someone point me in the
right direction?
_______________________________________________
Rancid-discuss mailing list
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
--
"By definition ... alternative medicine ... has either not been proved to work, or has been proved not to work. You know what they call alternative medicine that's been proved to work? Medicine."
-- Tim Minchin
_______________________________________________
Rancid-discuss mailing list
Rancid-***@shrubbery.net<mailto:Rancid-***@shrubbery.net>
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss



--
Atenciosamente / Best Regards,

Danilo Marques de Gouveia
IT - Network Administrator
(19) 3847 8424
Daniel Schmidt
2012-08-02 16:01:43 UTC
Permalink
Have you tried clogin alone to see if it can login?

-----Original Message-----
From: rancid-discuss-***@shrubbery.net
[mailto:rancid-discuss-***@shrubbery.net] On Behalf Of Edward
Markiewicz
Sent: Thursday, August 02, 2012 9:43 AM
To: Tyler J. Wagner
Cc: rancid-***@shrubbery.net
Subject: Re: [rancid] Cannot log into Cisco

Tyler,
I made the changes as you suggested, but unfortunately it did not work. I
still get the following errors;

!
<device name> clogin error: Error: TIMEOUT reached <device name>: missed
cmd(s): write term,show running-config,more system:running-config <device
name>: End of run not found !

~Ed



-----Original Message-----
From: Tyler J. Wagner [mailto:***@tolaris.com]
Sent: Thursday, August 02, 2012 9:29 AM
To: Edward Markiewicz
Cc: rancid-***@shrubbery.net
Subject: Re: [rancid] Cannot log into Cisco

Judging from the > prompt, the new devices need to set enable mode first.
Remove the "noenable" line or set it to 0.

Regards,
Tyler
Post by Edward Markiewicz
Hello,
Here is my problem. I have new devices I want to add to RANCID but it
looks like my old devices use a "#" at the end of a prompt and the new
devices use a ">". The error I get is;
!
<device name> clogin error: Error: TIMEOUT reached
<device name>: missed cmd(s): write term,show running-config,more system:running-config
<device name>: End of run not found
!
I've added in the .cloginrc file the following;
add user <device name> <UID>
add password <device name> {<PWD>}
add method <device name> ssh telnet
add noenable <device name> 1
But it still doesn't work. I thought I saw at one time a patch that
addressed this but can't fine it now. Can someone point me in the
right direction?
_______________________________________________
Rancid-discuss mailing list
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
--
"By definition ... alternative medicine ... has either not been proved to
work, or has been proved not to work. You know what they call alternative
medicine that's been proved to work? Medicine."
-- Tim Minchin
_______________________________________________
Rancid-discuss mailing list
Rancid-***@shrubbery.net
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
E-Mail to and from me, in connection with the transaction
of public business, is subject to the Wyoming Public Records
Act and may be disclosed to third parties.
Edward Markiewicz
2012-08-02 15:41:06 UTC
Permalink
Danilo,
Thank you for your suggestion but it did not work.
~Ed

From: Danilo Gouveia [mailto:***@motorola.com]
Sent: Thursday, August 02, 2012 9:23 AM
To: Edward Markiewicz
Cc: rancid-***@shrubbery.net
Subject: Re: [rancid] Cannot log into Cisco

I fixed my problem with a similar issue using autoenable instead of noenable:

# SW1
add password swt1 XXXX YYYY
add method swt1 ssh
add autoenable swt1 0


On Thu, Aug 2, 2012 at 12:06 PM, Edward Markiewicz <***@cricketcommunications.com<mailto:***@cricketcommunications.com>> wrote:
Hello,

Here is my problem. I have new devices I want to add to RANCID but it looks like my old devices use a "#" at the end of a prompt and the new devices use a ">". The error I get is;

!
<device name> clogin error: Error: TIMEOUT reached
<device name>: missed cmd(s): write term,show running-config,more system:running-config
<device name>: End of run not found
!

I've added in the .cloginrc file the following;

add user <device name> <UID>
add password <device name> {<PWD>}
add method <device name> ssh telnet
add noenable <device name> 1

But it still doesn't work. I thought I saw at one time a patch that addressed this but can't fine it now. Can someone point me in the right direction?


_______________________________________________
Rancid-discuss mailing list
Rancid-***@shrubbery.net<mailto:Rancid-***@shrubbery.net>
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss



--
Atenciosamente / Best Regards,

Danilo Marques de Gouveia
IT - Network Administrator
(19) 3847 8424
Danilo Gouveia
2012-08-02 15:23:23 UTC
Permalink
I fixed my problem with a similar issue using autoenable instead of
noenable:

# SW1
add password swt1 XXXX YYYY
add method swt1 ssh
add autoenable swt1 0


On Thu, Aug 2, 2012 at 12:06 PM, Edward Markiewicz <
Hello,****
** **
Here is my problem. I have new devices I want to add to RANCID but it
looks like my old devices use a “#” at the end of a prompt and the new
devices use a “>”. The error I get is;****
** **
!****
<device name> clogin error: Error: TIMEOUT reached****
<device name>: missed cmd(s): write term,show running-config,more
system:running-config****
<device name>: End of run not found****
!****
** **
I’ve added in the .cloginrc file the following;****
** **
add user <device name> <UID>****
add password <device name> {<PWD>}****
add method <device name> ssh telnet****
add noenable <device name> 1****
** **
But it still doesn’t work. I thought I saw at one time a patch that
addressed this but can’t fine it now. Can someone point me in the right
direction?****
** **
_______________________________________________
Rancid-discuss mailing list
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
--
Atenciosamente / Best Regards,

Danilo Marques de Gouveia
IT - Network Administrator
(19) 3847 8424
Continue reading on narkive:
Loading...