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: Data and Voice VLAN (Nikolaos Milas)
2. Re: Data and Voice VLAN (Nikolaos Milas)
3. Re: Cisco 877 MacSucks and Arpnips not working (Muris)
4. Re: Cisco 877 MacSucks and Arpnips not working (Oliver Gorwits)
5. Re: Cisco 877 MacSucks and Arpnips not working (Oliver Gorwits)
6. Re: Data and Voice VLAN (Cardinal-Richards, Emma)
7. Re: ArpNipping Linux Net-SNMP fails (Soppe, Peter)
--- Begin Message ---
On 5/3/2015 1:02 πμ, Oliver Gorwits wrote:
So it would help me to see the output of these on one of your Cisco
switches:
~netdisco/bin/netdisco-do show -d <IP-of-device> -e c_cap
~netdisco/bin/netdisco-do show -d <IP-of-device> -e c_platform
Here it is, run against a Cisco 2960CG-8TC-L switch running IOS 15.2(2a)E1 :
$ ~netdisco/bin/netdisco-do show -d 195.251.202.125 -e c_cap
[7139] 2015-03-04 21:28:52 info show: started at Wed Mar 4 23:28:52 2015
\ {
10109.3 [
[0] "Switch",
[1] "IGMP"
],
10110.1 [
[0] "Switch",
[1] "IGMP"
]
}
[7139] 2015-03-04 21:28:54 info show: finished at Wed Mar 4 23:28:54 2015
[7139] 2015-03-04 21:28:54 info show: status done: Showed c_cap
response from 195.251.202.125.
$ ~netdisco/bin/netdisco-do show -d 195.251.202.125 -e c_platform
[7141] 2015-03-04 21:29:16 info show: started at Wed Mar 4 23:29:16 2015
\ {
10109.3 "cisco WS-C2950C-24",
10110.1 "Cisco SG300-28 (PID:SRW2024-K9)-VSD"
}
[7141] 2015-03-04 21:29:17 info show: finished at Wed Mar 4 23:29:17 2015
[7141] 2015-03-04 21:29:17 info show: status done: Showed c_platform
response from 195.251.202.125.
I can see that the neighboring devices (switches) are located.
Hope that helps,
Nick
--- End Message ---
--- Begin Message ---
On 5/3/2015 1:02 πμ, Oliver Gorwits wrote:
So it would help me to see the output of these on one of your Cisco
switches:
~netdisco/bin/netdisco-do show -d <IP-of-device> -e c_cap
~netdisco/bin/netdisco-do show -d <IP-of-device> -e c_platform
Here it is, run against a Cisco 2960CG-8TC-L switch running IOS
15.2(2a)E1 :
$ ~netdisco/bin/netdisco-do show -d 195.251.202.125 -e c_cap
[7139] 2015-03-04 21:28:52 info show: started at Wed Mar 4 23:28:52 2015
\ {
10109.3 [
[0] "Switch",
[1] "IGMP"
],
10110.1 [
[0] "Switch",
[1] "IGMP"
]
}
[7139] 2015-03-04 21:28:54 info show: finished at Wed Mar 4 23:28:54 2015
[7139] 2015-03-04 21:28:54 info show: status done: Showed c_cap
response from 195.251.202.125.
$ ~netdisco/bin/netdisco-do show -d 195.251.202.125 -e c_platform
[7141] 2015-03-04 21:29:16 info show: started at Wed Mar 4 23:29:16 2015
\ {
10109.3 "cisco WS-C2950C-24",
10110.1 "Cisco SG300-28 (PID:SRW2024-K9)-VSD"
}
[7141] 2015-03-04 21:29:17 info show: finished at Wed Mar 4 23:29:17 2015
[7141] 2015-03-04 21:29:17 info show: status done: Showed c_platform
response from 195.251.202.125.
I can see that the neighboring devices (switches) are located.
Hope that helps,
Nick
--- End Message ---
--- Begin Message ---
Hello,
Im not ready to upgrade to version 2 yet as its missing some things that
netdisco version 1 had. For example ability to discover the whole network
from the centre device from lldp/cdp i am unable to find that like in
netdisco 1 from command line / cron and im still waiting for it to mature
as we are currently running 1.3 in production in a large environment.
Maybe if you can comment if all the command line options will be available
in netdisco 2 like they were in netdisco 1.
I have tried a test version of netdisco 2, but netdisco 2 doesnt detect or
find the macsucks/arpnips for CIsco 877's either.
Are we able to just find what is causing this instead of requiring at this
stage to move to version 2, as in version 2 the issue still exists. I am
having to run 1.3 in production for the time being.
Thanks for your assistance.
--- End Message ---
--- Begin Message ---
Hi Muris,
On 2015-03-05 00:32, Muris wrote:
Im not ready to upgrade to version 2 yet as its missing some things
that netdisco version 1 had. For example ability to discover the
whole
network from the centre device from lldp/cdp i am unable to find that
like in netdisco 1 from command line / cron and im still waiting for
it to mature as we are currently running 1.3 in production in a large
environment.
Ah, well in ND2 these features are *unnecessary*. There is no need for
"cron" in ND2 because the back-end daemon schedules all jobs, and there
is no need for the "root discovery device" concept either. Netdisco 2 is
certainly mature and stable enough for any production environment -
there are _many_ happy users on this list, already.
Maybe if you can comment if all the command line options will be
available in netdisco 2 like they were in netdisco 1.
The only feature(s) not implemented that I'm aware of are "expirenodes"
and "expire-nodes-subnet" at the command line (these relate to expiring
Nodes per-device or per-subnet). So ND2 at feature parity with ND1. On
the other hand, there are many _new_ features and improvements to the
logic which make ND2 a better proposition overall.
I have tried a test version of netdisco 2, but netdisco 2 doesnt
detect or find the macsucks/arpnips for CIsco 877's either.
Okay, thanks for testing this - in which case it's probably not an
issue with Netdisco, but with one of the underlying libraries such as
SNMP::Info.
As I said before, the investigation will be easier in ND2, and because
ND2 has been used widely for some time now, support effort is focussed
there. I'm afraid you'll need to wait for someone else on this list to
offer ND1 help.
regards,
oliver.
--- End Message ---
--- Begin Message ---
On 2015-03-05 07:48, Oliver Gorwits wrote:
The only feature(s) not implemented that I'm aware of are
"expirenodes"
and "expire-nodes-subnet"
Forgot to mention that of course there's a tracker item here for the
feature request, so anyone especially needing these should add a comment
to raise awareness in the dev team:
https://sourceforge.net/p/netdisco/netdisco2/119/
regards,
oliver.
--- End Message ---
--- Begin Message ---
Hi Oliver,
> Emma, please can you post the output of this command on one of the
> devices where you see the issue:
>
> ~netdisco/bin/netdisco-do show -d <IP-of-device> -e i_voice_vlan
Sorry just got around to doing this! This is on a cisco 3750X stack with 4
switches, 118 is the voice vlan number. The issue seems to be on all our edge
switch models, so 2950/2960/2960x etc as well.
bash-4.1$ ./bin/netdisco-do show -d x.x.x.x -e i_voice_vlan
[6048] 2015-03-05 09:17:31 info show: started at Thu Mar 5 09:17:31 2015
\ {
10101 118,
10102 118,
10103 118,
10104 118,
10105 118,
10106 118,
10107 118,
10108 118,
10109 118,
10110 118,
10111 118,
10112 118,
10113 118,
10114 118,
10115 118,
10116 118,
10117 118,
10118 118,
10119 118,
10120 118,
10121 118,
10122 118,
10123 118,
10124 118,
10125 4096,
10126 4096,
10127 4096,
10128 4096,
10201 4096,
10202 4096,
10601 118,
10602 118,
10603 118,
10604 118,
10605 118,
10606 118,
10607 118,
10608 118,
10609 118,
10610 118,
10611 118,
10612 118,
10613 118,
10614 118,
10615 118,
10616 118,
10617 118,
10618 118,
10619 118,
10620 118,
10621 118,
10622 118,
10623 118,
10624 118,
10625 4096,
10626 4096,
10627 4096,
10628 4096,
10701 4096,
10702 4096,
11101 118,
11102 118,
11103 118,
11104 118,
11105 118,
11106 118,
11107 118,
11108 118,
11109 118,
11110 118,
11111 118,
11112 118,
11113 118,
11114 118,
11115 118,
11116 118,
11117 118,
11118 118,
11119 118,
11120 118,
11121 118,
11122 118,
11123 118,
11124 118,
11125 4096,
11126 4096,
11127 4096,
11128 4096,
11201 4096,
11202 4096,
11601 118,
11602 118,
11603 118,
11604 118,
11605 118,
11606 118,
11607 118,
11608 118,
11609 118,
11610 118,
11611 118,
11612 118,
11613 118,
11614 118,
11615 118,
11616 118,
11617 118,
11618 118,
11619 118,
11620 118,
11621 118,
11622 118,
11623 118,
11624 118,
11625 4096,
11626 4096,
11627 4096,
11628 4096,
11701 4096,
11702 4096
}
[6048] 2015-03-05 09:17:32 info show: finished at Thu Mar 5 09:17:32 2015
[6048] 2015-03-05 09:17:32 info show: status done: Showed i_voice_vlan
response from x.x.x.x.
Regards,
Emma
--- End Message ---
--- Begin Message ---
Hi,
On Samstag, 28. Februar 2015 13:13 Oliver Gorwits [mailto:[email protected]] wrote
> This is the important message - the device isn't reporting OSI Layer 3
> capability (in other words, routing), so Netdisco will not attempt to
> retrieve the ARP table.
How does Netdisco identify if the device has L3-Capatibility?
What do I need to change on the linux server, that netdisco thinks it is
arpnip-able?
> There's no way to override this behaviour, but what you can do instead is use
> a brand new feature
> just released in version 2.031012 (so you will need to upgrade, and set up a
> cron job for the sshcollector helper app).
I did download the Netdisco version to " App::Netdisco 2.031012" and
setup the ssh-collector:
/home/netdisco/environments/deployment.yml:
[...]
sshcollector:
- ip: '172.30.x.y'
user: netdisco
pass: '-'
platform: Linux
arp_command: '/usr/sbin/arp'
I have setup ssh so that user Netdisco can successfully setup an ssh
connection via preshared keys:
netdisco@netdisco-v2:~$ ssh -l netdisco 172.30.x.y
Linux netdisco-v2 3.2.0-4-amd64 #1 SMP Debian 3.2.65-1+deb7u1 x86_64
[...]
netdisco@netdisco-v2:~$
and could successfully start the ssh-collector (after installing some
dependencies)
root@netdisco-v2:/# apt-get install libnet-openssh-perl
root@netdisco-v2:/# apt-get install libnet-scp-expect-perl
netdisco@netdisco-v2:~$ /home/netdisco/perl5/bin/netdisco-sshcollector
This works now, thanks.
Regards,
Peter
Hi,
On 2015-02-27 16:17, Peter Soppe (gmail) wrote:
> I am trying to get the arp table from a linux net-snmpd but it fails:
>
> netdisco@de-cacti-01:~/bin$ ./netdisco-do arpnip -D -d 127.0.0.1
...
> [23663] 2015-02-27 16:02:13 info arpnip: status done: Skipped arpnip
> for device 127.0.0.1/32 without OSI layer 3 capability
This is the important message - the device isn't reporting OSI Layer 3
capability (in other words, routing), so Netdisco will not attempt to retrieve
the ARP table.
There's no way to override this behaviour, but what you can do instead is use a
brand new feature just released in version 2.031012 (so you will need to
upgrade, and set up a cron job for the sshcollector helper app).
https://metacpan.org/pod/distribution/App-Netdisco/bin/netdisco-sshcollector
https://metacpan.org/pod/release/OLIVER/App-Netdisco-2.031012/lib/App/Netdisco/SSHCollector/Platform/Linux.pm
Thanks to Mike for submitting the patch for this (perhaps reading your email
and spotting the solution ;).
> Normally I would get the arp table from the router/firewall but the
> default gateway is a Palo Alto Networks device which does not support
> getting the Arp table via SNMP.
>
> Any Ideas how to get the IP<--> Mac Mapping into the netdisco
> Database?
Ah, in which case you can use the sshcollector I mentioned just above - we
already have PaloAlto support:
https://metacpan.org/pod/App::Netdisco::SSHCollector::Platform::PaloAlto
regards,
oliver.
Peter Soppe
Leiter Technik
ICSmedia GmbH
Soester Strasse 13
D - 48155 Muenster
t: +49 251 6060-416
f: +49 251 6060-190
m: +49 151 16786000
[email protected]
www.icsmedia.de
Geschaeftsfuehrer: Ulrich Moeller, Kai Mallmann
Amtsgericht Muenster HRB 4697 - USt-IdNr. DE179964809
--- End Message ---
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Netdisco mailing list - Digest Mode
[email protected]
https://lists.sourceforge.net/lists/listinfo/netdisco-users