Menu

doesn't gather mac/arp/ip from junos devices

Help
2017-05-22
2017-05-22
  • happyfirefly

    happyfirefly - 2017-05-22
     
  • happyfirefly

    happyfirefly - 2017-05-22

    I've added juniper ex2200 switch to devicelist.csv:
    sw1-ex2200.local,nd,devtype=junos

    according to interactive-commands logs it works:

    May 22 09:01:13 sw1-ex2200.local mgd[44571]: UI_LOGIN_EVENT: User 'netdb' login, class 'j-read-only' [44571], ssh-connection '10.255.40.40 27608 10.255.128.5 22', client-mode 'cli'
    May 22 09:02:04 sw1-ex2200.local mgd[44571]: UI_CMDLINE_READ_LINE: User 'netdb', command 'show ethernet-switching table | no-more '
    May 22 09:02:07 sw1-ex2200.local mgd[44571]: UI_CMDLINE_READ_LINE: User 'netdb', command 'show ethernet-switching interfaces | no-more '
    May 22 09:02:10 sw1-ex2200.local mgd[44571]: UI_CMDLINE_READ_LINE: User 'netdb', command 'show interfaces descriptions | no-more '
    May 22 09:02:11 sw1-ex2200.local mgd[44571]: UI_LOGOUT_EVENT: User 'netdb' logout

    but there are no records in netdb database.

    I tried to test junosscraper script with debug and it was done ok.

    ./netdbscraper/junosscraper.pl -conf /etc/netdb.conf -d sw1-ex2200.local,arp,nd,forcessh,devtype=junos,mac -debug 6

    it shows many mac,descr and arp strings what were accepted.

    Everything is going fine, but there are still no records in database. What can be a reason and how can it be fixed ?

    Thank you.

     
  • Christian Vo

    Christian Vo - 2017-08-14

    I've got a limited deployment of legacy EX2200s/EX4200s running JUNOS10.4.3 or earlier -- unable to get any mac address information even whrn running manually.... what version of JUNOS is this confirmed to be working against?
    I can try to upgrade and re-test...

     

Log in to post a comment.