Skip to main content
Open

No VLAN Interfaces in Inventory?

Related products:Others
  • August 17, 2022
  • 2 replies
  • 13 views

I am trying to get a list of all VLANs in a landscape or inventory containing VLAN ID, VLAN name, IP. 
It looks like the inventory only provides physical interfaces but no virtual interface information? What happened to

interface Vlan300
 description VLAN 300
 ip address 10.1.1.1 255.255.255.0

In the detail information of each device these interfaces are listed in the interface section but do not appear in the inventory.

2 replies

  • Inspiring
  • 15 replies
  • August 23, 2022

You can create a parser  by using the current baseline configuration or show run (cli). Create QAPP and then export it to Excel Doc. In inventory reports, you can create a new report that calls that QAPP and have it run 1x if its using cli or use current baseline if you used the saved configuration.  I had to do similar to get the networks in my domain. [ If you need assistance in creating all 3 then NbuUniversity has recorded classes that can assist]

Note you will have to accommodate for the different types of tech. Within Cisco you have routers compared to switches. Routers would probably have GigEthernet0.123 while switch Vlan123. If you have a blend like SDWAN router and Cisco switches the interface will also be different. 

Hope it helps. 


Forum|alt.badge.img+4
  • Author
  • Brainy
  • 82 replies
  • August 23, 2022

@ec485n you are right of course, I can create a Qapp, taking into account all tapes of tech and fiddle around for hours. Thanks for your support.

But NetBrain already has all this information. Why does it not have virtual interfaces in the Interface Report? Or provide a selection whether I want to report physical, virtual or both interface types?

Why is NB hiding virtual interfaces from me? ;)