This section describes extended support for Layer 2 devices in NP-View. This support was added in 6.0.1
This feature adds baseline support for Layer 2 visibility.
Supported devices:
In addition to the layer 3 information inferred from ARP and Route tables, NP-View imports MAC and Interface tables to begin to support layer 2 interfaces. This data is automatically collected by the supported device connectors. Route and Interface data is loaded with the configuration file, while the ARP and MAC data can be added independently to views as auxiliary data.
If loading data manually, load only one configuration file at a time and include all auxiliary data on the same import for proper file association.
Layer 2 Capabilities:
Layer 2 connections are represented by a blue dotted line to a gateway.
To see the Layer 2 details, enable the 'Show Layer 2 Connections' from the topology settings.
Once enabled, Layer 2 networks will be displayed as teal clouds. Hosts / endpoints will be displayed as classic hosts.
Endpoints defined from Layer 2 communications will display the MAC Address where Layer 3 hosts will display a hostname or IP address. Only Layer 2 endpoints
with and IP address will be considered verified.
Clicking on the endpoint will display the info panel with the addition of the new VLAN section.
Note that Layer 2 topologies can get very complex very quickly.
Limitations:
There are cases where not all devices have a configuration file. This is common in Layer 2 switches. This feature adds baseline support for Layer 2 visibility using manually generated files.
The text file can be used to create a Layer 2 switch in NP-View. This switch can be used in conjunction with the common data model file outlined below to add layer 2 devices and connected nodes to the topology.
Following is an example of the data that can be in the file. The text file should be a properly formatted YAML ending with .YAML or .YML or it won’t be classified correctly and the import will fail. Note that each manually created switch will use a device license.
The imported device will be interpreted as a layer 2 switch by the system. Be sure to not use special characters within the device name or the interface names. Stick with alphanumeric characters, underscores can be used as shown below.
# This first line must be present, and the identifier must be np_custom_device
file_identifier: np_custom_device
# The name of the device, will be represented as such in the app
device_name: custom_l2_switch
# Vendor string, merely a description of the device
vendor: netgear
# A list of interfaces on the device, you need at least one interface
interfaces:
- name: eth0
mac_addr: 0000:1b2b:fefe
ip: 192.168.1.100
netmask: 255.255.255.0
- name: eth1
mac_addr: 0101:acdc:80ba
ip: 192.168.2.100
netmask: 255.255.255.0
When the above .YAML file is loaded into NP-View, the following device will displayed in NP-View.
With the following interfaces:
To add layer 2 connections to any device, a Excel file, referred to as the Common Data Model or CDM can be created to add endpoints and connections to NP-View.
The format for the CDM is as follows:
Coming Soon