LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 11-16-2012, 11:06 AM   #1
eliufoo
Member
 
Registered: Oct 2007
Posts: 71

Rep: Reputation: 15
Cisco RANCID - enable not working


Hi Guys,

I'm setting a RANCID server for backup my cicso CFG files on a weekly bases. I have complete all configuration successfully and using the below settings for my clogin file.

add user * elly
add password * {test} {enabletest}
add method * ssh telnet

When i run "bin/clogin 192.168.1.5"
PHP Code:
User Access Verification

Username
elly
Password


                                !!!
WARNING!!!
     
#####################################################################
     ##   ACCESS TO THIS SYSTEM IS STRICTLY RESTRICTED TO AUTHORIZED    ##
     ##   PERSONS ONLY.                                                 ##
     ##   UNAUTHORIZED ACCESS TO THIS SYSTEM IS NOT ALLOWED AND EVERY   ##
     ##   ACTIVITY IS MONITORED ON THIS SYSTEM.                         ##
     #####################################################################

switch1
Then i stops here. RANCID doesn't continue with enable login. Try to get some information on the net but was not succesfully. Any suggestions?
 
Old 11-18-2012, 11:26 AM   #2
eliufoo
Member
 
Registered: Oct 2007
Posts: 71

Original Poster
Rep: Reputation: 15
Hi,

managed to resolve this issue.

The problem was my my banners. RANCID gets confused if a banners contains '>' or '#'. See below Q&A from RANCID page.

http://www.shrubbery.net/rancid/FAQ

Q. Are there any characters in the banner that rancid has problems with OR
I changed the device's command prompt and now collection is failing?
A. The trickiest part about clogin (et al) is recognizing the prompt
correctly. clogin looks for '>' and '#' to figure out if it is logged
in or in enable mode. So if you have a '>' or '#' in your login banner
(or other motd), then clogin gets confused and will not be able to log
in correctly, and thus rancid will fail.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
rancid not working kamran.ayub Linux - Server 0 01-17-2012 07:40 AM
Rancid issue ! noony123 Linux - Newbie 0 02-01-2011 12:26 AM
Rancid annielee Solaris / OpenSolaris 9 09-14-2010 10:16 AM
Checking to see if SSH is enable on a Cisco Router/Switch seefor Programming 8 04-23-2010 04:05 PM
How can I change the enable password on a cisco 2960 switch? abefroman Linux - Networking 1 12-23-2007 09:30 AM


All times are GMT -5. The time now is 11:19 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration