Discussion:
[rancid] (no subject)
Ilo Lorusso
2018-09-26 13:36:26 UTC
Permalink
Hi

i'm in the process of adding a collection of new routers to the list
of devices to be backup up by rancid

I have it working perfectly with devices like standard cisco switches
routers and some cisco nexus switches..

these routers a running cisco IOS-XE and when I test if clogin works
it gets stuck at the password prompt

below is the debug output from clogin for one of the devices which is
not working and from one that is..

i'm running rancid version 3.7and have configured this new device as
follows in the database file.

router1-mns-za-jhb-prod-cpe1;cisco;up

any idea why its timing out ?

IOS-XE clogin debug output
======================

expect: does "the device may only be used for the purposes
contemplated in the Service
Agreement.\r\r\n***************************************************************************************\r\r\n
\r\r\n" (spawn_id exp4) match regular expression "[\r\n]+"? (No Gate,
RE only) gate=yes re=yes
expect: set expect_out(0,string) "\r\r\n"
expect: set expect_out(spawn_id) "exp4"
expect: set expect_out(buffer) "the device may only be used for the
purposes contemplated in the Service Agreement.\r\r\n"
expect: continuing expect

expect: does "***************************************************************************************\r\r\n
\r\r\n" (spawn_id exp4) match regular expression "[\r\n]+"? (No Gate,
RE only) gate=yes re=yes
expect: set expect_out(0,string) "\r\r\n"
expect: set expect_out(spawn_id) "exp4"
expect: set expect_out(buffer)
"***************************************************************************************\r\r\n"
expect: continuing expect

expect: does " \r\r\n" (spawn_id exp4) match regular expression
"[\r\n]+"? (No Gate, RE only) gate=yes re=yes
expect: set expect_out(0,string) "\r\r\n"
expect: set expect_out(spawn_id) "exp4"
expect: set expect_out(buffer) " \r\r\n"
expect: continuing expect

expect: does "" (spawn_id exp4) match regular expression "[\r\n]+"?
(No Gate, RE only) gate=yes re=no
"^(.+[:.])1 ((>|#| \(enable\)))"? (No Gate, RE only) gate=yes re=no
"^.+(>|#| \(enable\))"? (No Gate, RE only) gate=yes re=no


expect: does "\r\n" (spawn_id exp4) match regular expression
"[\r\n]+"? (No Gate, RE only) gate=yes re=yes
expect: set expect_out(0,string) "\r\n"
expect: set expect_out(spawn_id) "exp4"
expect: set expect_out(buffer) "\r\n"
expect: continuing expect

expect: does "" (spawn_id exp4) match regular expression "[\r\n]+"?
(No Gate, RE only) gate=yes re=no
"^(.+[:.])1 ((>|#| \(enable\)))"? (No Gate, RE only) gate=yes re=no
"^.+(>|#| \(enable\))"? (No Gate, RE only) gate=yes re=no
password:
expect: does "password: " (spawn_id exp4) match regular expression
"[\r\n]+"? (No Gate, RE only) gate=yes re=no
"^(.+[:.])1 ((>|#| \(enable\)))"? (No Gate, RE only) gate=yes re=no
"^.+(>|#| \(enable\))"? (No Gate, RE only) gate=yes re=no

expect: timed out

Error: TIMEOUT reached
heasley
2018-09-26 16:45:07 UTC
Permalink
Post by Ilo Lorusso
Hi
i'm in the process of adding a collection of new routers to the list
of devices to be backup up by rancid
I have it working perfectly with devices like standard cisco switches
routers and some cisco nexus switches..
these routers a running cisco IOS-XE and when I test if clogin works
it gets stuck at the password prompt
below is the debug output from clogin for one of the devices which is
not working and from one that is..
i'm running rancid version 3.7and have configured this new device as
follows in the database file.
router1-mns-za-jhb-prod-cpe1;cisco;up
any idea why its timing out ?
IOS-XE clogin debug output
======================
you trimmed too much. but, i suspect you need to read the caveats and
following sections of clogin(1).

Continue reading on narkive:
Loading...