Discussion:
[rancid] cisco problem with rancid
hina
2008-11-25 16:10:43 UTC
Permalink
Hi all,
I m using Rancid for a while. But i have a new problem
with a new cisco (3750), I can t get the configuration.
When Im using clogin.. no probleme to connect
When Im using clogin -c "show run" IP ... it can connect but no command are sent
When I m using rancid -d IP .. the executing is timeout
when I m using rancid-run ... the executing is timeout
And If I m using strace to fellow the rancid -d (debug mode) ... :
ead(5, "Trying 10.4.33.6...\r\nConnected t"..., 4096) = 73
read(5, "\r\n\r\nUser Access Verification\r\n\r\n"..., 4096) = 42
read(5, "b", 4096) = 1
read(5, "a", 4096) = 1
read(5, "c", 4096) = 1
read(5, "k", 4096) = 1
read(5, "u", 4096) = 1
read(5, "p", 4096) = 1
read(5, "\r\nPassword: ", 4096) = 12
read(5, "\r\nPOP-Switch-3750G-Stack#", 4096) = 25
but not command are sent.
I just moved my testing rancid to the product one .. and maybe I forgot something in the configuration when I did it.
I m always using the rancid user to use this binary.
If you have any idea, will be great
Many thanks
Hina
Lance Vermilion
2008-11-25 20:28:47 UTC
Permalink
you must set autoenable in you .cloginrc
Post by hina
Hi all,
I m using Rancid for a while. But i have a new problem
with a new cisco (3750), I can t get the configuration.
When Im using clogin.. no probleme to connect
When Im using clogin -c "show run" IP ... it can connect but no command are sent
When I m using rancid -d IP .. the executing is timeout
when I m using rancid-run ... the executing is timeout
ead(5, "Trying 10.4.33.6...\r\nConnected t"..., 4096) = 73
read(5, "\r\n\r\nUser Access Verification\r\n\r\n"..., 4096) = 42
read(5, "b", 4096) = 1
read(5, "a", 4096) = 1
read(5, "c", 4096) = 1
read(5, "k", 4096) = 1
read(5, "u", 4096) = 1
read(5, "p", 4096) = 1
read(5, "\r\nPassword: ", 4096) = 12
read(5, "\r\nPOP-Switch-3750G-Stack#", 4096) = 25
but not command are sent.
I just moved my testing rancid to the product one .. and maybe I forgot something in the configuration when I did it.
I m always using the rancid user to use this binary.
If you have any idea, will be great
Many thanks
Hina
_______________________________________________
Rancid-discuss mailing list
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
Loading...