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. How does NetDisco determine OS and version? (Koen Dooms)
   2. Re: SNMPv3 with SHA512 and netdisco (Oliver Gorwits)
   3. Re: How does NetDisco determine OS and version? (Oliver Gorwits)
--- Begin Message ---
Hi,

I'm wondering how NetDisco determines the running OS and version of
devices, in particular Cisco switches.
And what needs to be fixed to get the correct info, in particular for a
C1300 series switch.

Here is a summary how NetDisco sees the OS and version for specific Cisco
models:
SX550: ros / 2.5.9.54
C1300: IOS / blank (IOS in capitals, no version)
C2960: ios / 15.2(2)E6 (IOS in lower case)
C9300: ios-xe / 17.9.5

Not sure what ros tands for (router OS?), but the SX550 and 1300 run
similar operating system based on Linux. Not IOS as the older and higher
end models do.


-- 
mvg,
Koen

--- End Message ---
--- Begin Message ---
Hi Diego

I think it should work, so let's look into it...

First, Netdisco doesn't use Net::SNMP, it uses "SNMP" (a different Perl
module) - yes, confusing :-(

Netdisco uses "net-snmp" the reference implementation of SNMP in C, and its
Perl binding, which is module "SNMP". This does support SHA256 and SHA512:
https://www.net-snmp.org/wiki/index.php/Strong_Authentication_or_Encryption

Assuming you have a new version of net-snmp from your operating system,
then...

How are you specifying the authentication algorithm in your configuration?
You can test at the command line with snmpget and the net-snmp
documentation, then copy the values into Netdisco conf.

regards
oliver.

On Wed, 3 Sept 2025 at 13:32, Diego Barba García via netdisco-users <
[email protected]> wrote:

> Hello,
>
>
>
> We have been using netdisco for several years without major issues.
> Recently we installed some devices that only support snmpv3 with SHA256 or
> SHA512. But it seems that netdisco (or better said: the SNMP module of
> Perl) doesn’t support it, please, could anybody confirm if this is true? I
> have found this:
>
>
>
>
> https://www.claudiokuenzler.com/blog/1205/how-to-perl-net-snmp-v3-authentication-protocol-support-newer-sha-sha256-sha512
>
>
>
> And changed the Security/USM.pm but to no avail, so I rolled back the
> modifications.
>
>
>
> Best regards!
>
>
>
> Diego
> _______________________________________________
> Netdisco mailing list
> [email protected]
> https://sourceforge.net/p/netdisco/mailman/netdisco-users/
>

--- End Message ---
--- Begin Message ---
Hi Koen

Currently this all comes from the SNMP::Info perl distribution, which is
the "SNMP Class" when you go to the Details tab for any device. Each type
of device maps to a different Class, but they all have the same interface
for Netdisco to use....

These Classes provide "os" and "os_ver" methods which do whatever they need
to do, to get the OS name and version. Some return a static string (like
"catalyst") and some will visit an SNMP leaf where the vendor might have
provided the value(s).

Have a poke around inside the SNMP::Info class to see. Sometimes the class
is inheriting the methods from another class.

(in the future we might have API methods for this or SSH, but right now
it's all via SNMP::Info)

I hope this helps?

regards
oliver.

On Thu, 4 Sept 2025 at 15:32, Koen Dooms <[email protected]> wrote:

> Hi,
>
> I'm wondering how NetDisco determines the running OS and version of
> devices, in particular Cisco switches.
> And what needs to be fixed to get the correct info, in particular for a
> C1300 series switch.
>
> Here is a summary how NetDisco sees the OS and version for specific Cisco
> models:
> SX550: ros / 2.5.9.54
> C1300: IOS / blank (IOS in capitals, no version)
> C2960: ios / 15.2(2)E6 (IOS in lower case)
> C9300: ios-xe / 17.9.5
>
> Not sure what ros tands for (router OS?), but the SX550 and 1300 run
> similar operating system based on Linux. Not IOS as the older and higher
> end models do.
>
>
> --
> mvg,
> Koen
> _______________________________________________
> Netdisco mailing list
> [email protected]
> https://sourceforge.net/p/netdisco/mailman/netdisco-users/

--- End Message ---
_______________________________________________
Netdisco mailing list - Digest Mode
[email protected]
https://lists.sourceforge.net/lists/listinfo/netdisco-users

Reply via email to