Send netdisco-users mailing list submissions to
        netdisco-users@lists.sourceforge.net

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
        netdisco-users-requ...@lists.sourceforge.net

You can reach the person managing the list at
        netdisco-users-ow...@lists.sourceforge.net

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

   1. Reading ARP from Cisco FTD (Sebastian R?sch)
--- Begin Message ---
Hi there,

I´m wondering, if somebody already tried to arpnip ARP entries from Cisco FTD? 
I´m talking about real Cisco FTD with FTD, not the ASA image. In my case, ND 
basically finds 0 Arp entries. Hardware is FTD 2130 with SW version v7.0.1.


I solved the issue by adapting the ASA.pm file. Could somebody implent this as 
an additional file FTD.pm in a future ND version?




Workarround in ASA.pm:

/home/netdisco/perl5/lib/perl5/App/Netdisco/SSHCollector/Platform/ASA.pm



It works with following lines adapted:

new:

Define Platform
Line 1    package App::Netdisco::SSHCollector::Platform::FTD;
Line 5    App::Netdisco::SSHCollector::Platform::FTD

FTD shows > (bigger than) after login:
Line79                   $prompt = qr/>\s*$/;

Not needed Firepower sends all entries at once:
Line 82 #             $expect->send("terminal pager 2147483647\n");
Line 83 #             ($pos, $error, $match, $before, $after) = 
$expect->expect(5, -re, $prompt);

Name Command not available:
Line 85 #             $expect->send("show names\n");
Line 86 #             ($pos, $error, $match, $before, $after) = 
$expect->expect(60, -re, $prompt);
Line 87 #             my @names = split(m/\n/, $before);
Line 103 #           foreach my $name (@names) {
Line 104 #                    if ($name =~ 
qr/name\s([0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3})\s([\w-]*)/x) {
Line 105 #                       if ($ip eq $2) {
Line 106 #                          $ip = $1;
Line 107 #                                          }
Line 108 #                          }
Line 109 #           }


You can also use the attached FTD.pm File.



Best Regards,
Sebastian










Attachment: FTD.pm
Description: FTD.pm


--- End Message ---
_______________________________________________
Netdisco mailing list - Digest Mode
netdisco-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/netdisco-users

Reply via email to