Send netdisco-users mailing list submissions to
        [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.sourceforge.net/lists/listinfo/netdisco-users
or, via email, send a message with subject or body 'help' to
        [email protected]

You can reach the person managing the list at
        [email protected]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of netdisco-users digest..."
Today's Topics:

   1. Re: Antw: Re: Getting IPv6 neighbors cache form Cisco Cat6500
      and ASA5585X (Oliver Gorwits)
   2. Antw: Re: Getting IPv6 neighbors cache via sshcollector from
      Cisco ASA (Gerhard Rappenecker)
--- Begin Message ---
Hi Gerhard,

Great! Thanks for letting us know.

regards,
oliver.

On 2017-06-09 13:20, Gerhard Rappenecker wrote:
Hi all,

after upgrading the Cat6500 device to IOS from 15.2(1)SY to 15.2(1)SY3
the arpnip works fine also for IPv6 neighbors. So the Cat6500 problem
is resolved.

For the unresolved ASA5585X problem here  I opened a new thread
"Getting IPv6 neighbors cache via sshcollector from Cisco ASA"

Thanks for all anwers
Gerhard


Gerhard Rappenecker <[email protected]> schrieb am Freitag, 2. Juni
2017 um 15:52 in Nachricht <[email protected]>:
Hi all,

I upgraded netdisco, but as you assumed the problem remains.

Now using the great command "netdisco-do show -I -e ..." I confirmed that
the relevant IPv6  MIBs are not available in the IOS.
I plan to upgrade the IOS next week and will give feedback.

Thanks a lot to all for the very helpful answers.
Gerhard


>>> Oliver Gorwits <[email protected]> schrieb am Freitag, 2. Juni 2017 um 13:51 
in
Nachricht <59315AE6.542 : 238 : 1346>:
> Hi Gerhard,
>
> Further to Mark and Andy's replies, you could run the following and
> confirm that the relevant SNMP table fields are empty on the Cisco
> device, or not:
>
> ~netdisco/bin/netdisco-do show -d 1.2.3.4 -I -e ipv6_n2p_mac
> ~netdisco/bin/netdisco-do show -d 1.2.3.4 -I -e ipv6_n2p_addr
>
> For reference and to compare, the equivalent for IPv4 are at_paddr and
> at_netaddr.
>
> regards,
> oliver.
>
> On 2017-06-01 14:33, Gerhard Rappenecker wrote:
>> Hi all,
>>
>> I am running Nedisco2 (App::Netdisco 2.033006, SNMP::Info 3.33)
>>
>> How can I get the IPv6- and MAC addresses from a Cisco Cat6500 device
>> (IOS 15.2(1)SY) ?
>> "netdisco-do -D arpnip -d ...." works for IPv4 ARP Cache but not for
>> IPv6 neighbors. The output shows: "arpnip - processed 0 IPv6 Neighbor
>> Cache entries"
>> It seems, that the device could not send the data by SNMP. Can anyone
>> confirm this?
>>
>> Is there any chance to get the IPv6 neighbors via
>> netdisco-sshcollector?
>> Unfortunately there is no device class integrated executing the IOS
>> command "show ipv6 neighbors"
>> I found the description here
>> https://metacpan.org/pod/distribution/App-Netdisco/bin/netdisco-sshcollector

>> [1] , but I'm not expirienced with perl.
>> Has anyone a solution or a good idea?
>>
>> Furthermore I have the same problem with a Cisco ASA5585X. Getting the
>> IPv4 ARP cache via netdisco-sshcollector works, but getting the IPv6
>> neighbors cache I have the same problem descibed above.
>>
>> Thanks for any help.
>> Gerhard Rappenecker
>>
>>
>> Links:
>> ------
>> [1]
>> https://metacpan.org/pod/distribution/App-Netdisco/bin/netdisco-sshcollector

>>
>>
> ----------------------------------------------------------------------------
-
> -
>> Check out the vibrant tech community on one of the world's most
>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>>
>> _______________________________________________
>> Netdisco mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/netdisco-users


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Netdisco mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/netdisco-users



--- End Message ---
--- Begin Message ---
Hi Oliver,

I edited the the 2.035006 source ASA.pm to get the IPv6 neighbors subsequent to 
the IPv4 ARP cache and it works fine.

Because of my insufficient perl knowledge I'm not sure that the added code is 
perfect. So I'd appreciate if some checks it and do all further steps for the 
community.

diff ASA.pm.org ASA.pm
94a95,112
>     # start ipv6
>     $expect->send("show ipv6 neighbor\n");
>     ($pos, $error, $match, $before, $after) = $expect->expect(60, -re, 
> $prompt);
>
>     @lines = split(m/\n/, $before);
>
>     # IPv6 age MAC state ifname
>     $linereg = qr/([0-9a-fA-F\:]+)\s+[0-9]+\s
>                      ([0-9a-fA-F]{4}\.[0-9a-fA-F]{4}\.[0-9a-fA-F]{4})/x;
>
>     foreach my $line (@lines) {
>         if ($line =~ $linereg) {
>             my ($ip, $mac) = ($1, $2);
>             push @arpentries, { mac => $mac, ip => $ip };
>         }
>     }
>     # end ipv6
>

regards,
Gerhard




>>> Oliver Gorwits <[email protected]> schrieb am Dienstag, 6. Juni 2017 um 12:35 
>>> in
Nachricht <59369FAB.756 : 85 : 22358>:

> If someone wants to grab the source and edit this file:
> 
> https://github.com/netdisco/netdisco/blob/2.035006/lib/App/Netdisco/SSHColle 
> ctor/Platform/ASA.pm
> 
> It could be patched and tested, to issue the v6 command (and cope if the 
> command is missing).
> 
> Pull requests and/or commit bits are welcome to all :-)
> 
> p.s. I suggest working from the latest stable tag '2.035006'.
> 
> regards,
> oliver.
> 
> On 2017-06-06 11:22, Gerhard Rappenecker wrote:
>> Hi all,
>> 
>> I am using Nedisco2 and netdisco-sshcollector to get the IPv4 ARP
>> cache from an ASA5585X device.
>> 
>> Now I want to get IPv6 neighbors from the same device. I read the
>> documentation in
>> https://metacpan.org/pod/distribution/App-Netdisco/bin/netdisco-sshcollector 
>> [1] to add a new device class executing the IOS command "show ipv6
>> neighbors" on the device. But because of my insufficient perl
>> knowledge I am not able to do that.
>> 
>> Can anyone show me more detailed what to do or have implemented this
>> allready?
>> 
>> PS: I extracted this issue from my former one with the subject
>> "Getting IPv6 neighbors cache form Cisco Cat6500 and ASA5585X" because
>> the solution for Cat6500 seems not to be same as for ASA5585X.
>> 
>> Thanks for any help.
>> Gerhard Rappenecker
>> 
>> 
>> Links:
>> ------
>> [1] 
>> https://metacpan.org/pod/distribution/App-Netdisco/bin/netdisco-sshcollector 
>> 
>> 
> -----------------------------------------------------------------------------
> -
>> Check out the vibrant tech community on one of the world's most
>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot 
>> 
>> _______________________________________________
>> Netdisco mailing list
>> [email protected] 
>> https://lists.sourceforge.net/lists/listinfo/netdisco-users




--- End Message ---
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Netdisco mailing list - Digest Mode
[email protected]
https://lists.sourceforge.net/lists/listinfo/netdisco-users

Reply via email to