NeDi Software Specific > Definition Files

Juniper def files?

(1/2) > >>

steffen1:
Hello,

I want to ask the communinity, if there exists some NeDi def-files for Juniper (2636) network devices.

Steffen

steffen1:
attached is my 1st version of juniper. beside some other defs: Nexans, Nokia, Avocent

With modules you will need some code changes, because Juniper has a 2 instead of a 1 dimensional structuring and indexing of the sub-component assets.

For Config Backup I tried this in libcli-netssh.pl:
$cmd{'JunOS'}{'prom'} = '/.+[#>]\s?$/';
$cmd{'JunOS'}{'conf'} = 'show configuration | no-more';
$cmd{'JunOS'}{'paus'} = '0.3';

but didnt work, any ideas?

Steffen


rickli:
Did you turn on input & output.log? Very helpful for debugging and if any weird escape sequences are used you'll see them...

steffen1:
yes I did, but there was just one hour left after a hard day in a POC. I think it was a failed ssh sensing, because the Port kept to 23 into the Database while the boxes are SSH only enabled. SSH-version sensing? Prompt sensing?

rickli:
Probably something that will get much better with net::appliance than net::ssh as well  :-\

Navigation

[0] Message Index

[#] Next page

Go to full version