Header Only - DO NOT REMOVE - Extreme Networks

Show IP address of specific port


I have finally use netsight console v8 after using GUI web version.
Can I create a flexview that can show me the IP address of all port of my switch (series B5 e x450) ??
I see a lot of parameter in manage flexview session of netsight console

12 replies

Userlevel 4
Hello Visconti,

I am not sure about B5 series but you can visit Extreme git hub to download a flexview named "XOS_VLAN-IP-Port"
This flexview will display VLAN ID, name, IP address, mask and assigned port as below examples.







[i]Kindly visit Extreme git hub(https://github.com/extremenetworks/Netsight-Report-Views/tree/master/FlexView/EXOS) and download this flexview.

When you are to add the flexview into the XMC, please follow below instruction which you also can find help menu on XMC.

Use the instructions in this topic to add custom FlexViews and MIBs in Extreme Management Center.

To add a new FlexView to Extreme Management Center:

  1. Add your custom FlexView files (.TPL) to the [code]/usr/local/Extreme_Networks/NetSight/appdata/VendorProfiles/Stage/MyVendorProfile/FlexViews[/code] directory on the Extreme Management Center server.
  2. Add the MIB files that correspond to your custom FlexView files to the [code]/usr/local/Extreme_Networks/NetSight/appdata/VendorProfiles/Stage/MyVendorProfile/MIBs[/code] directory on the Extreme Management Center server.
  3. Log into the system shell (via the local console or SSH) on the Extreme Management Center server as root on a Linux operating system or open a CMD prompt by selecting Run as administrator on a Windows operating system.
  4. Restart the Extreme Management Center server:[list=1]
  5. Enter [code]service nsserver stop[/code].
  6. Enter [code]service nsserver start[/code].
[/list]Best regards,
Roy Noh wrote:

Hello Visconti,

I am not sure about B5 series but you can visit Extreme git hub to download a flexview named "XOS_VLAN-IP-Port"
This flexview will display VLAN ID, name, IP address, mask and assigned port as below examples.







[i]Kindly visit Extreme git hub(https://github.com/extremenetworks/Netsight-Report-Views/tree/master/FlexView/EXOS) and download this flexview.

When you are to add the flexview into the XMC, please follow below instruction which you also can find help menu on XMC.

Use the instructions in this topic to add custom FlexViews and MIBs in Extreme Management Center.

To add a new FlexView to Extreme Management Center:

  1. Add your custom FlexView files (.TPL) to the [code]/usr/local/Extreme_Networks/NetSight/appdata/VendorProfiles/Stage/MyVendorProfile/FlexViews[/code] directory on the Extreme Management Center server.
  2. Add the MIB files that correspond to your custom FlexView files to the [code]/usr/local/Extreme_Networks/NetSight/appdata/VendorProfiles/Stage/MyVendorProfile/MIBs[/code] directory on the Extreme Management Center server.
  3. Log into the system shell (via the local console or SSH) on the Extreme Management Center server as root on a Linux operating system or open a CMD prompt by selecting Run as administrator on a Windows operating system.
  4. Restart the Extreme Management Center server:[list=1]
  5. Enter [code]service nsserver stop[/code].
  6. Enter [code]service nsserver start[/code].
[/list]Best regards,

I have only add the tpl file into the
code:
 
code:
FlexViews  directory and run the View on the switch x450 series (in b5 series do  not show anythings)..but I show only this in picture and not the IP of  all pc connected to the specific port...
Roy Noh wrote:

Hello Visconti,

I am not sure about B5 series but you can visit Extreme git hub to download a flexview named "XOS_VLAN-IP-Port"
This flexview will display VLAN ID, name, IP address, mask and assigned port as below examples.







[i]Kindly visit Extreme git hub(https://github.com/extremenetworks/Netsight-Report-Views/tree/master/FlexView/EXOS) and download this flexview.

When you are to add the flexview into the XMC, please follow below instruction which you also can find help menu on XMC.

Use the instructions in this topic to add custom FlexViews and MIBs in Extreme Management Center.

To add a new FlexView to Extreme Management Center:

  1. Add your custom FlexView files (.TPL) to the [code]/usr/local/Extreme_Networks/NetSight/appdata/VendorProfiles/Stage/MyVendorProfile/FlexViews[/code] directory on the Extreme Management Center server.
  2. Add the MIB files that correspond to your custom FlexView files to the [code]/usr/local/Extreme_Networks/NetSight/appdata/VendorProfiles/Stage/MyVendorProfile/MIBs[/code] directory on the Extreme Management Center server.
  3. Log into the system shell (via the local console or SSH) on the Extreme Management Center server as root on a Linux operating system or open a CMD prompt by selecting Run as administrator on a Windows operating system.
  4. Restart the Extreme Management Center server:[list=1]
  5. Enter [code]service nsserver stop[/code].
  6. Enter [code]service nsserver start[/code].
[/list]Best regards,

Userlevel 7
Roy Noh wrote:

Hello Visconti,

I am not sure about B5 series but you can visit Extreme git hub to download a flexview named "XOS_VLAN-IP-Port"
This flexview will display VLAN ID, name, IP address, mask and assigned port as below examples.







[i]Kindly visit Extreme git hub(https://github.com/extremenetworks/Netsight-Report-Views/tree/master/FlexView/EXOS) and download this flexview.

When you are to add the flexview into the XMC, please follow below instruction which you also can find help menu on XMC.

Use the instructions in this topic to add custom FlexViews and MIBs in Extreme Management Center.

To add a new FlexView to Extreme Management Center:

  1. Add your custom FlexView files (.TPL) to the [code]/usr/local/Extreme_Networks/NetSight/appdata/VendorProfiles/Stage/MyVendorProfile/FlexViews[/code] directory on the Extreme Management Center server.
  2. Add the MIB files that correspond to your custom FlexView files to the [code]/usr/local/Extreme_Networks/NetSight/appdata/VendorProfiles/Stage/MyVendorProfile/MIBs[/code] directory on the Extreme Management Center server.
  3. Log into the system shell (via the local console or SSH) on the Extreme Management Center server as root on a Linux operating system or open a CMD prompt by selecting Run as administrator on a Windows operating system.
  4. Restart the Extreme Management Center server:[list=1]
  5. Enter [code]service nsserver stop[/code].
  6. Enter [code]service nsserver start[/code].
[/list]Best regards,

Hi,

the FlexView shows the IP address configured for the VLAN on the switch, not the addresses of end-systems connected to switch ports.

Thanks,
Erik
Roy Noh wrote:

Hello Visconti,

I am not sure about B5 series but you can visit Extreme git hub to download a flexview named "XOS_VLAN-IP-Port"
This flexview will display VLAN ID, name, IP address, mask and assigned port as below examples.







[i]Kindly visit Extreme git hub(https://github.com/extremenetworks/Netsight-Report-Views/tree/master/FlexView/EXOS) and download this flexview.

When you are to add the flexview into the XMC, please follow below instruction which you also can find help menu on XMC.

Use the instructions in this topic to add custom FlexViews and MIBs in Extreme Management Center.

To add a new FlexView to Extreme Management Center:

  1. Add your custom FlexView files (.TPL) to the [code]/usr/local/Extreme_Networks/NetSight/appdata/VendorProfiles/Stage/MyVendorProfile/FlexViews[/code] directory on the Extreme Management Center server.
  2. Add the MIB files that correspond to your custom FlexView files to the [code]/usr/local/Extreme_Networks/NetSight/appdata/VendorProfiles/Stage/MyVendorProfile/MIBs[/code] directory on the Extreme Management Center server.
  3. Log into the system shell (via the local console or SSH) on the Extreme Management Center server as root on a Linux operating system or open a CMD prompt by selecting Run as administrator on a Windows operating system.
  4. Restart the Extreme Management Center server:[list=1]
  5. Enter [code]service nsserver stop[/code].
  6. Enter [code]service nsserver start[/code].
[/list]Best regards,

OK I repeat for the last one.... Exist a way (no compass serch) to show the ip of the computer connected to port of the switch?
Userlevel 7
Roy Noh wrote:

Hello Visconti,

I am not sure about B5 series but you can visit Extreme git hub to download a flexview named "XOS_VLAN-IP-Port"
This flexview will display VLAN ID, name, IP address, mask and assigned port as below examples.







[i]Kindly visit Extreme git hub(https://github.com/extremenetworks/Netsight-Report-Views/tree/master/FlexView/EXOS) and download this flexview.

When you are to add the flexview into the XMC, please follow below instruction which you also can find help menu on XMC.

Use the instructions in this topic to add custom FlexViews and MIBs in Extreme Management Center.

To add a new FlexView to Extreme Management Center:

  1. Add your custom FlexView files (.TPL) to the [code]/usr/local/Extreme_Networks/NetSight/appdata/VendorProfiles/Stage/MyVendorProfile/FlexViews[/code] directory on the Extreme Management Center server.
  2. Add the MIB files that correspond to your custom FlexView files to the [code]/usr/local/Extreme_Networks/NetSight/appdata/VendorProfiles/Stage/MyVendorProfile/MIBs[/code] directory on the Extreme Management Center server.
  3. Log into the system shell (via the local console or SSH) on the Extreme Management Center server as root on a Linux operating system or open a CMD prompt by selecting Run as administrator on a Windows operating system.
  4. Restart the Extreme Management Center server:[list=1]
  5. Enter [code]service nsserver stop[/code].
  6. Enter [code]service nsserver start[/code].
[/list]Best regards,

Hi Visconti,

if supported, you can query the Node Alias table, see e.g. How to track down an IP address using Node Alias and Compass search on XoS devices does not show any node alias data. This is proprietary feature of Extreme Networks switches.

There is no standardized way to get the information you seek just by querying the (layer 2) switch, because the (layer 2) switch uses MAC addresses, not IP addresses.

In general, you can query a different device, the router, for the IP address used with the MAC address of the end-system (computer connected to the other device, the switch), i.e. the ARP table. In general, MAC and IP address information come from different devices. Sometimes the functions of both router and switch are combined in one device, a layer 3 switch. You always need to query two tables, the FDB for MAC address and port information, and the ARP table for IP to MAC address mapping. You then need to take the two entries (one from each table) for the MAC address of the computer and combine them.

Compass search queries different devices for you, so that you will see the answer in two table rows, if only FDB (MAC and port) and ARP (MAC and IP) data is available (you can get the complete answer in one row if the Node Alias table is supported by the switch). ExtremeControl even correlates information from different sources and keeps it in a data base you can easily query.

If you want to do this yourself without using existing tools, you have to correlate the information from different devices, thus it does not suffice to add fixed table entries to a FlexView.

Thanks,
Erik
Roy Noh wrote:

Hello Visconti,

I am not sure about B5 series but you can visit Extreme git hub to download a flexview named "XOS_VLAN-IP-Port"
This flexview will display VLAN ID, name, IP address, mask and assigned port as below examples.







[i]Kindly visit Extreme git hub(https://github.com/extremenetworks/Netsight-Report-Views/tree/master/FlexView/EXOS) and download this flexview.

When you are to add the flexview into the XMC, please follow below instruction which you also can find help menu on XMC.

Use the instructions in this topic to add custom FlexViews and MIBs in Extreme Management Center.

To add a new FlexView to Extreme Management Center:

  1. Add your custom FlexView files (.TPL) to the [code]/usr/local/Extreme_Networks/NetSight/appdata/VendorProfiles/Stage/MyVendorProfile/FlexViews[/code] directory on the Extreme Management Center server.
  2. Add the MIB files that correspond to your custom FlexView files to the [code]/usr/local/Extreme_Networks/NetSight/appdata/VendorProfiles/Stage/MyVendorProfile/MIBs[/code] directory on the Extreme Management Center server.
  3. Log into the system shell (via the local console or SSH) on the Extreme Management Center server as root on a Linux operating system or open a CMD prompt by selecting Run as administrator on a Windows operating system.
  4. Restart the Extreme Management Center server:[list=1]
  5. Enter [code]service nsserver stop[/code].
  6. Enter [code]service nsserver start[/code].
[/list]Best regards,

How to correlate the information from different devices? My network consists in 1 core switch 2 switch x450 series and 12 switch b5 series (one of 15 is the routing switch)
Userlevel 4
Roy Noh wrote:

Hello Visconti,

I am not sure about B5 series but you can visit Extreme git hub to download a flexview named "XOS_VLAN-IP-Port"
This flexview will display VLAN ID, name, IP address, mask and assigned port as below examples.







[i]Kindly visit Extreme git hub(https://github.com/extremenetworks/Netsight-Report-Views/tree/master/FlexView/EXOS) and download this flexview.

When you are to add the flexview into the XMC, please follow below instruction which you also can find help menu on XMC.

Use the instructions in this topic to add custom FlexViews and MIBs in Extreme Management Center.

To add a new FlexView to Extreme Management Center:

  1. Add your custom FlexView files (.TPL) to the [code]/usr/local/Extreme_Networks/NetSight/appdata/VendorProfiles/Stage/MyVendorProfile/FlexViews[/code] directory on the Extreme Management Center server.
  2. Add the MIB files that correspond to your custom FlexView files to the [code]/usr/local/Extreme_Networks/NetSight/appdata/VendorProfiles/Stage/MyVendorProfile/MIBs[/code] directory on the Extreme Management Center server.
  3. Log into the system shell (via the local console or SSH) on the Extreme Management Center server as root on a Linux operating system or open a CMD prompt by selecting Run as administrator on a Windows operating system.
  4. Restart the Extreme Management Center server:[list=1]
  5. Enter [code]service nsserver stop[/code].
  6. Enter [code]service nsserver start[/code].
[/list]Best regards,

Visconti,

As Erik well explained on his reply, I will be difficult for you to find every IP with MAC address of end systems connected to a l2 switch since it will not store ARP entries unless a VLAN IP is assigned. Actually even if it stores the entries, you would find a difference in number of the entries then l3 gateway device.

However, since x450 series are your core switch you may use below way to correlate IP and MAC binding with some steps.

1. Get IP, MAC and incoming port info of l3 gateway(x450)
- Download a flewview named "Learned MAC to IP" flewview posted on Git
- It will show you end devices' IP, MAC(from ARP table) and port(from FDB table) in L3 gateway's perspective
- It uses Node alias as Erik described
- Export the result(say this as "L3 result") to an excel file

2. Get MAC, VLAN and incoming port info of l2 switches
- Built-in flewview named "Learned MAC Addresses" will show you those info
- Export the result(say this as "L2 result") to the excel file on other tabs
- Since MAC addresses from uplink port is not needed, delete those entries

3. Bind info from multiple "L2 result" into "L3 result"
- By now you have multiple tabs on the excel file
- Do some excel works to find IP address of L2 switch, VLAN and port from L2 result that has same MAC entry with L3 result and fill the table

Once you completed those stpes, you will have an excel tab with IP, MAC address of the end device as well as VLAN info, incoming port of L3/L2 switches.

Thanks
I have only add the tpl file into the
code:
 
code:
FlexViews directory and run the View on the switch x450 series (in b5 series do not show anythings)..but I show only this in picture and not the IP of all pc connected to the specific port...

[img]https://d1uyvls174j03l.cloudfront.net/extremenetworks-us/attachment/RackMultipart20180920-113567-1rp8ha3-20180920_110349_inline..jpg[/img]
Userlevel 5
I use Extreme Management Center (Netsight) but I also still use my old NeDI server. NeDI does a very nice job of mapping your switches on a schedule, and then puts it all in a database. So at any given time I can pull up one of my switches and display MAC's, IP's, hostnames, etc. for *everything* on my network.

It's by no means easy to setup, but once you have things running it's very easy to use.

It's also free! You can check it out here: https://www.nedi.ch/
good for you..... when I try to download nedi 1.4 I receive the message "link not found"
Userlevel 5
Visconti wrote:

good for you..... when I try to download nedi 1.4 I receive the message "link not found"

Hrm ... it's working for me? Try this direct link: https://www.nedi.ch/pub/nedi-1.6C.tgz

EDIT: Sorry, I see you were trying to download the 1.4 ISO. Can't help there. Looks like the link is indeed broken.
Visconti wrote:

good for you..... when I try to download nedi 1.4 I receive the message "link not found"

if I cannot download 1.4 I cannot install 1.6ver

Reply