Aleksey P
2010-08-05 09:24:02 UTC
Good day, some weeks ago i have a problem that Racnid didn't work if i only
have unprivelege mode on Cisco device (only > promt).
In 2.3.4 version there is changes that i want - "rancid: Accept '>' prompt,
rather than just '#'"
I am clear all my old Rancid file and configs and install 2.3.4 version, but
it still the same:
At the end of /usr/local/libexec/rancid/rancid file i commented all
commands, and insert instead "show running-config" - "show configuration"
OS - FreeBSD
Here some of config:
/usr/local/libexec/rancid]# vi /usr/local/etc/rancid/.cloginrc
*# THIS IS FOR CISCO
add noenable 172.16.2.3 1
#add autoenable 172.16.2.3 1
add user 172.16.2.3 username
add password 172.16.2.3 password
add method 172.16.2.3 ssh*
All work just fine - no enable promt - show configuration- that is all we
need:
*
/usr/local/libexec/rancid/clogin -t 90 -c"show configuration" 172.16.2.3
172.16.2.3
spawn ssh -c 3des -x -l username 172.16.2.3
***@172.16.2.3's password:*
...*
and here we can see all information from 'show **configuration**' command*
If i try run rancid-run in my logs i will see:
*Getting missed routers: round 2.
172.16.2.3: missed cmd(s): show **configuration*
*172.16.2.3: End of run not found
*
and so on.
If i make all of that with enable configuration (# promt) - all works fine.
Help me pls!
have unprivelege mode on Cisco device (only > promt).
In 2.3.4 version there is changes that i want - "rancid: Accept '>' prompt,
rather than just '#'"
I am clear all my old Rancid file and configs and install 2.3.4 version, but
it still the same:
At the end of /usr/local/libexec/rancid/rancid file i commented all
commands, and insert instead "show running-config" - "show configuration"
OS - FreeBSD
Here some of config:
/usr/local/libexec/rancid]# vi /usr/local/etc/rancid/.cloginrc
*# THIS IS FOR CISCO
add noenable 172.16.2.3 1
#add autoenable 172.16.2.3 1
add user 172.16.2.3 username
add password 172.16.2.3 password
add method 172.16.2.3 ssh*
All work just fine - no enable promt - show configuration- that is all we
need:
*
/usr/local/libexec/rancid/clogin -t 90 -c"show configuration" 172.16.2.3
172.16.2.3
spawn ssh -c 3des -x -l username 172.16.2.3
***@172.16.2.3's password:*
...*
and here we can see all information from 'show **configuration**' command*
If i try run rancid-run in my logs i will see:
*Getting missed routers: round 2.
172.16.2.3: missed cmd(s): show **configuration*
*172.16.2.3: End of run not found
*
and so on.
If i make all of that with enable configuration (# promt) - all works fine.
Help me pls!