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. Re: Netdisco and Nexus MPLS (Muris)
--- Begin Message ---
I think I found the issue with the nexus, via SNMP it’s not getting any of the 
vrf data and subnets when I do a snmp walk.. so that’s the reason its not 
capturing data except the vlan ids under the “vlans” tab in netdisco.

 

In the netdisco database in device_ip its missing ip,alias, subnet,port for 
vlans which it cannot get to map, but in device_port in the “port” table it 
does have like Vlan3733 and under “name” it does have the description of the 
subnet.

 

I was thinking is it possible to use the Nexus SSH collector NXOS.pm to send 
this command to the device – “show startup-config interface | no-more” and then 
reading the config file it grabs the subnets what it needs example and stores 
it in device_ip in the db from vlan interfaces -

 

interface Vlan3733 

  vrf member TESTING

  ip address 10.1.1.2/24

  description ** TEST VLAN **

  no shutdown

 

In the above, Vlan3733 is stored in “port”, the ip address the script 
calculates the subnet its part of eg 10.1.1.0/24 and stores it in “subnet”, the 
ip address of the interface 10.1.1.2 is stored in the “alias”, and the ip of 
the nexus address itself it just adds another entry for itself under “ip” , 
this is to store the entry in device_ip in the database. This way the subnet 
will be referenced and have an entry as belonging part of this device.

 

As netdisco doesn’t support vrf yet, there isn’t an entry for vrf member, or a 
way to display it on the web interface so that’s ok I suppose until netdisco3 
comes out.

 

Is it possible to add this as a subroutine in the NXOS.pm for the ssh 
collector,  how difficult would that be and then store it in the db?

 

One thing I can’t understand also in Catalyst Cisco 6500’s all the vrfs all the 
subnets are read by netdisco and don’t have any issues displaying the data, but 
the nexus seems different.

 

Muris

 

From: Muris <alcat...@gmail.com>
Date: Tuesday 30 July 2024 at 19:45
To: "netdisco-users@lists.sourceforge.net" 
<netdisco-users@lists.sourceforge.net>
Subject: Netdisco and Nexus MPLS

 

Hey all,

 

I have another question – is there a reason why a Nexus Core in MPLS would not 
be displaying all the subnets in the “addresses” tab of the webpage. It only 
lists the interfaces, port channel associated, but anything to do with vlans in 
vrf members it doesn’t display anything under “addresses” is there a way to get 
it to display all vlans on a nexus?

 

It doesn’t have to display the vrf member, but at least the ip address of the 
vlan and description, but having all of them would be nice I suppose.

 

Thanks

Muris


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

Reply via email to