This section describes extended support for Layer 2 devices in NP-View. This support was added in 6.0.1
Note that this feature will be under development for the next few releases as we build out the portfolio of features.
This feature is considered experimental
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 (e.g., layer 2 switches) or the configuration file cannot be retrieved.
To fill the void, we created a method to add a network switch to the topology using a manually generated file.
The following is an example of the data that is required. 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. 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: