[rancid] Re: Rancid & Enterasys B2/B3/N3/N7 switch

Valentino Vaia valvai81 at gmail.com
Fri Jan 29 14:21:39 UTC 2010


Excuse me, but the output of the B2login is nothing?
The timeout is caused from the absence of the username and the password 
in .clogin.rc , have you modified it?


Marcos A. Miachiro ha scritto:
> Hi,
>
> Take a look:
>
> rancid-vm:~# B2login -u rancid -p rancid123 -c "show version" sw-pmc-1-1
> rancid-vm:~# B2rancid -d sw-pmc-1-1
> executing B2login -t 90 -c"show config;show version" sw-pmc-1-1
> sw-pmc-1-1 B2login error: Error: TIMEOUT reached
> sw-pmc-1-1 B2login error: Error: TIMEOUT reached
> sw-pmc-1-1: missed cmd(s): show version,show config
> sw-pmc-1-1: missed cmd(s): show version,show config
> sw-pmc-1-1: End of run not found
> sw-pmc-1-1: End of run not found
> !
> rancid-vm:~# 
>
>
> 2010/1/29 Valentino Vaia <valvai81 at gmail.com <mailto:valvai81 at gmail.com>>
>
>     Can you send to me please the output of the different command:
>     1) ./B2login -u your-admin-username -p your-switch-password -c
>     "show version" sw-pmc-1-1
>     2) ./B2rancid -d sw-pmc-1-1
>
>     Have you added at the file .clogin.rc
>     add user sw-pmc-1-1 your-username
>     add userpassword sw-pmc-1-1 your-password
>
>
>
>
>     Marcos A. Miachiro ha scritto:
>
>         Hi,
>
>
>         I can execute *B2Login* and enter in *telnet* mode of *enterasys*.
>
>         But when i try run "*show config*":
>
>         sw-pmc-1-1(su)->show config
>
>         Error: TIMEOUT reached
>         rancid-vm:/usr/lib/rancid/bin# show config
>         bash: show: command not found
>         rancid-vm:/usr/lib/rancid/bin#
>
>         Thanks.
>
>
>         Marcos
>
>         2010/1/28 Valentino Vaia <valvai81 at gmail.com
>         <mailto:valvai81 at gmail.com> <mailto:valvai81 at gmail.com
>         <mailto:valvai81 at gmail.com>>>
>
>
>            Have you tried simply the B2login? What is the output?
>            You can use to test :
>            ./B2login -u your-admin-username -p you-switch-password -c
>         "show
>            version" sw-pmc-1-1
>            Have you just tried this?
>
>            Have you added the username and password of the switch in
>         .clogin.rc ?
>            Have you tried: ./B2rancid -d sw-pmc-1-1 ?
>
>            Valentino
>
>            Marcos A. Miachiro ha scritto:
>
>                Hi man,
>
>
>                I'm trying to get Enterasys *B3* config's, but rancid
>         don't work.
>
>
>                The log show me this:
>
>                sw-pmc-1-1 B2login error: Error: TIMEOUT reached
>                sw-pmc-1-1: missed cmd(s): show version,show config
>                sw-pmc-1-1: End of run not found
>
>                Do u know something about ?
>
>                Thanks !
>
>
>                Marcos
>
>                2010/1/27 Valentino Vaia <valvai81 at gmail.com
>         <mailto:valvai81 at gmail.com>
>                <mailto:valvai81 at gmail.com <mailto:valvai81 at gmail.com>>
>         <mailto:valvai81 at gmail.com <mailto:valvai81 at gmail.com>
>
>                <mailto:valvai81 at gmail.com <mailto:valvai81 at gmail.com>>>>
>
>                   My mail address is  valvai81 at gmail.com
>         <http://gmail.com>
>                <http://gmail.com> <http://gmail.com> .
>
>
>
>                   To correct the error
>
>                   sh: B2login: command not found
>                   192.168.1.1 <http://192.168.1.1>: missed cmd(s): show
>                version,show
>                   config
>                   192.168.1.1 <http://192.168.1.1>: End of run not found
>
>
>
>                   you must add to the $PATH variable the path of yours
>                scripts  for
>                   example:
>                   PATH=$PATH:/usr/local/rancid/bin
>
>
>
>
>                   _______________________________________________
>                   Rancid-discuss mailing list
>                   Rancid-discuss at shrubbery.net
>         <mailto:Rancid-discuss at shrubbery.net>
>                <mailto:Rancid-discuss at shrubbery.net
>         <mailto:Rancid-discuss at shrubbery.net>>
>                <mailto:Rancid-discuss at shrubbery.net
>         <mailto:Rancid-discuss at shrubbery.net>
>                <mailto:Rancid-discuss at shrubbery.net
>         <mailto:Rancid-discuss at shrubbery.net>>>
>
>                  
>         http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
>
>
>
>
>
>



More information about the Rancid-discuss mailing list