Discussion:
[rancid] TP-Link SG5426
Arnaud Launay
2010-02-18 13:15:13 UTC
Permalink
Hello,

I'm wondering if someone include TP-Link SG5426, or others L2
managed tplink, in rancid...

AFAIK, it works more or less like ciscos:

***@backup ~ $ ssh ***@tplink.domain.tld
***@tplink.domain.tld's password:

CLI session with the TL-SG5426 is opened.
To end the CLI session, enter [Exit].

Vty-0#


in router db: tplink.domain.tld:cisco:up

and in .cloginrc:
add user tplink-*.domain.tld admin
add password tplink-*.domain.tld {admin} {admin}
add autoenable tplink-*.domain.tld {1}
add method tplink-*.domain.tld {ssh}


I see in tcpdump that they are communicating with each other
using ssh, so it's probably logged in...

Online Users:
Line Username Idle time (h:m:s) Remote IP addr.
----------- -------- ----------------- ---------------
1 SSH 0 admin 0:01:02 192.168.1.1

yup :)

And it should work cisco-like:
Vty-1#show running-config
building running-config, please wait...
!<stackingDB>00</stackingDB>
!<stackingMac>01_00-12-cf-ab-ab-ab_01</stackingMac>
[snip]


Only,
***@backup ~ $ bin/rancid-run -r tplink-g6.nocworld.net

Returns after some time, and sends me a mail saying it timeout-ed...
Config file on backup is empty. Created, but empty.

I don't have a clue how to get more debug infos ?

Arnaud.
john heasley
2010-02-19 17:08:05 UTC
Permalink
Post by Arnaud Launay
Hello,
I'm wondering if someone include TP-Link SG5426, or others L2
managed tplink, in rancid...
CLI session with the TL-SG5426 is opened.
To end the CLI session, enter [Exit].
Vty-0#
in router db: tplink.domain.tld:cisco:up
add user tplink-*.domain.tld admin
add password tplink-*.domain.tld {admin} {admin}
add autoenable tplink-*.domain.tld {1}
add method tplink-*.domain.tld {ssh}
I see in tcpdump that they are communicating with each other
using ssh, so it's probably logged in...
Line Username Idle time (h:m:s) Remote IP addr.
----------- -------- ----------------- ---------------
1 SSH 0 admin 0:01:02 192.168.1.1
yup :)
Vty-1#show running-config
building running-config, please wait...
!<stackingDB>00</stackingDB>
!<stackingMac>01_00-12-cf-ab-ab-ab_01</stackingMac>
[snip]
Only,
Returns after some time, and sends me a mail saying it timeout-ed...
Config file on backup is empty. Created, but empty.
I don't have a clue how to get more debug infos ?
its likely that rancid didnt find the end of the config, or possible.
try clogin (or other login scripts) with -c 'command;other command;...'.
use the one that works properly in a new rancid script for this device.
Continue reading on narkive:
Loading...