Discussion:
[rancid] Alcatel 7450
Bryan Fuselier
2009-08-25 21:01:43 UTC
Permalink
I have an Alcatel Lucent ESS 7450 with a standard prompt of:

"*B:LFTHEDSW1# " (space at the end)

When I perform the command:

clogin -c "environment no more; admin display-config" 10.128.1.2

the script logs in, inputs the password and actually shows the prompt, but
becomes un-responsive until I get "Error: TIMEOUT reached" and the script
exits

I can't figure out why it won't work since #<space> is a common cisco
prompt.

The switch only allows ssh and here is the entry for this device in
.cloginrc:
add noenable 10.128.1.2 1
add method 10.128.1.2 {ssh}
add user 10.128.1.2 admin
add password 10.128.1.2 {password}
add passprompt 10.128.1.2 {"password: "}

Can I modify a copy of clogin somehow to make this automated login work?

Thank you in advance.
Bryan F.

Loading...