Discussion:
[rancid] Huawei MA5600
Simone Felici
2011-05-16 15:19:34 UTC
Permalink
Hello to all,

I'm searching a rancid configuration that works with Huawei MA5600 model.
Can someone help?

Thank's!

simon
Jethro R Binks
2011-05-17 10:37:05 UTC
Permalink
Post by Simone Felici
I'm searching a rancid configuration that works with Huawei MA5600
model. Can someone help?
If it has an interface similar to the H3C stuff, you might try:

http://sites.google.com/site/jrbinks/code/rancid/h3c

Some of the code was based on the modules referred to in this thread,
which was originally designed for some Huawei gear.

http://osdir.com/ml/network.rancid/2008-03/msg00031.html

If it looks like it partly works, I'd be interested in working with you to
make it work better. I do not have any Huawei to test with.

Jethro.

. . . . . . . . . . . . . . . . . . . . . . . . .
Jethro R Binks, Network Manager,
Information Services Directorate, University Of Strathclyde, Glasgow, UK

The University of Strathclyde is a charitable body, registered in
Scotland, number SC015263.
Simone Felici
2011-05-17 12:32:25 UTC
Permalink
Thank you for your support.
Meanwhile I've modified a script starting from this one:

http://www.gossamer-threads.com/lists/rancid/users/2910 (2.nd reply)

The most commands are not implemented, but I need only the 'display current-configuration' command.
The above helped me a lot to find out the current method to exit the 'expect' script, waiting for
'return' string. I'm issuing some problems with characters like [37D and [1A, but have simple
removed it from the perl script in regexpr.
I'm at half of work, now it's working only using this one command, that have to end with string
'return'. For now it's enough :)

Simon
Post by Jethro R Binks
Post by Simone Felici
I'm searching a rancid configuration that works with Huawei MA5600
model. Can someone help?
http://sites.google.com/site/jrbinks/code/rancid/h3c
Some of the code was based on the modules referred to in this thread,
which was originally designed for some Huawei gear.
http://osdir.com/ml/network.rancid/2008-03/msg00031.html
If it looks like it partly works, I'd be interested in working with you to
make it work better. I do not have any Huawei to test with.
Jethro.
. . . . . . . . . . . . . . . . . . . . . . . . .
Jethro R Binks, Network Manager,
Information Services Directorate, University Of Strathclyde, Glasgow, UK
The University of Strathclyde is a charitable body, registered in
Scotland, number SC015263.
_______________________________________________
Rancid-discuss mailing list
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
--
Simone Felici
Divisione Tecnica: Progettazione e Sviluppo

tel. +39 0461.030.111
fax. +39 0461 030.112
Via Fersina, 23 - 38123 Trento

-------------
MC-link S.p.A.
Sede Direzionale e Amministrativa
Via Carlo Perrier, 9/a - 00157 Roma
Sede Legale
Via Fersina, 23 - 38123 Trento

http://www.mclink.it

Save a tree. Don't print this e-mail unless it's really necessary

Informativa ai sensi del Codice della proprietà industriale e del Codice dei dati personali.
Le informazioni contenute in questa e-mail e negli eventuali allegati, possono contenere
informazioni confidenziali e coperte da segreto commerciale/industriale. Esse vengono comunicate nei
limiti giuridici dei rapporti in essere fra le parti e pertanto nessun ulteriore diritto di
proprietà intellettuale o industriale può essere rivendicato dal ricevente.
Le informazioni contenute in questa e-mail e negli eventuali allegati sono indirizzate
esclusivamente a coloro che figurano come destinatari.
Se avete ricevuto per errore questa e-mail siete pregati di informarci (rispedendola al mittente) e
di provvedere alla sua rimozione, a non farne utilizzo e a non conservarne alcuna copia.
Jethro R Binks
2011-05-17 12:40:07 UTC
Permalink
Thank you for your support. Meanwhile I've modified a script starting
http://www.gossamer-threads.com/lists/rancid/users/2910 (2.nd reply)
The most commands are not implemented, but I need only the 'display
current-configuration' command. The above helped me a lot to find out
the current method to exit the 'expect' script, waiting for 'return'
string. I'm issuing some problems with characters like [37D and [1A, but
have simple removed it from the perl script in regexpr. I'm at half of
work, now it's working only using this one command, that have to end
with string 'return'. For now it's enough :)
Good stuff, please send me your working end result when you get there and
I'll look and see if anything needs to be incorporated into the h3crancid
stuff; these models are so similar that it would be better to have the one
rather than two. h3crancid has likely fixed lots of issues.

Jethro.
Simon
Post by Jethro R Binks
Post by Simone Felici
I'm searching a rancid configuration that works with Huawei MA5600
model. Can someone help?
http://sites.google.com/site/jrbinks/code/rancid/h3c
Some of the code was based on the modules referred to in this thread,
which was originally designed for some Huawei gear.
http://osdir.com/ml/network.rancid/2008-03/msg00031.html
If it looks like it partly works, I'd be interested in working with you to
make it work better. I do not have any Huawei to test with.
Jethro.
. . . . . . . . . . . . . . . . . . . . . . . . .
Jethro R Binks, Network Manager,
Information Services Directorate, University Of Strathclyde, Glasgow, UK
The University of Strathclyde is a charitable body, registered in
Scotland, number SC015263.
_______________________________________________
Rancid-discuss mailing list
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
--
Simone Felici
Divisione Tecnica: Progettazione e Sviluppo
tel. +39 0461.030.111
fax. +39 0461 030.112
Via Fersina, 23 - 38123 Trento
-------------
MC-link S.p.A.
Sede Direzionale e Amministrativa
Via Carlo Perrier, 9/a - 00157 Roma
Sede Legale
Via Fersina, 23 - 38123 Trento
http://www.mclink.it
Save a tree. Don't print this e-mail unless it's really necessary
Informativa ai sensi del Codice della propriet? industriale e del Codice dei
dati personali.
Le informazioni contenute in questa e-mail e negli eventuali allegati, possono
contenere informazioni confidenziali e coperte da segreto
commerciale/industriale. Esse vengono comunicate nei limiti giuridici dei
rapporti in essere fra le parti e pertanto nessun ulteriore diritto di
propriet? intellettuale o industriale pu? essere rivendicato dal ricevente.
Le informazioni contenute in questa e-mail e negli eventuali allegati sono
indirizzate esclusivamente a coloro che figurano come destinatari.
Se avete ricevuto per errore questa e-mail siete pregati di informarci
(rispedendola al mittente) e di provvedere alla sua rimozione, a non farne
utilizzo e a non conservarne alcuna copia.
_______________________________________________
Rancid-discuss mailing list
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
. . . . . . . . . . . . . . . . . . . . . . . . .
Jethro R Binks, Network Manager,
Information Services Directorate, University Of Strathclyde, Glasgow, UK

The University of Strathclyde is a charitable body, registered in
Scotland, number SC015263.
Simone Felici
2011-05-17 12:46:00 UTC
Permalink
Post by Jethro R Binks
Good stuff, please send me your working end result when you get there and
I'll look and see if anything needs to be incorporated into the h3crancid
stuff; these models are so similar that it would be better to have the one
rather than two. h3crancid has likely fixed lots of issues.
Jethro.
Hi Jethro,

It's still possible your script works much better than mine. Also I'll try it out! If I'll find out
some differences that could be implemented I'll let you know asap!

Thank you!

Simon

Continue reading on narkive:
Loading...