Searching the Help
To search for information in the Help, type a word or phrase in the Search box. When you enter a group of words, OR is inferred. You can use Boolean operators to refine your search.
Results returned are case insensitive. However, results ranking takes case into account and assigns higher scores to case matches. Therefore, a search for "cats" followed by a search for "Cats" would return the same number of Help topics, but the order in which the topics are listed would be different.
Search for | Example | Results |
---|---|---|
A single word | cat
|
Topics that contain the word "cat". You will also find its grammatical variations, such as "cats". |
A phrase. You can specify that the search results contain a specific phrase. |
"cat food" (quotation marks) |
Topics that contain the literal phrase "cat food" and all its grammatical variations. Without the quotation marks, the query is equivalent to specifying an OR operator, which finds topics with one of the individual words instead of the phrase. |
Search for | Operator | Example |
---|---|---|
Two or more words in the same topic |
|
|
Either word in a topic |
|
|
Topics that do not contain a specific word or phrase |
|
|
Topics that contain one string and do not contain another | ^ (caret) |
cat ^ mouse
|
A combination of search types | ( ) parentheses |
|
- Layer2 Discovery
- Overview
- Supported Devices
- How to Discover Layer2 Objects
- How to Discover Layer2 Connections Using Saved Files
- How to Discover Layer2 Connections Using CDP or LLDP MIB
- How to Discover Layer2 Topology by Shell
- Host Networking by SNMP Job
- Layer2 Topology Bridge-based by SNMP Job
- Layer2 Topology by Shell Job
- Layer2 Topology CDP-LLDP based by SNMP Job
- Layer2 Topology VLAN-based by SNMP Job
- Process Layer2 Saved Files Job
- Merge VLANs by Ports Job
- Report Linux with Duplicated MAC Layer2 Job
- VLAN ports by SNMP Job
- VLANs by SNMP Job
- L2 Bridge by SNMP Adapter
- Layer2 Topology by Shell Adapter
- CDP/LLDP Neighbors Layer 2 Devices by SNMP Adapter
- L2 VLAN by SNMP Adapter
- Merge VLANs Adapter
- Process Layer2 Collected Files Adapter
- VMS Catalyst by SNMP Adapter
- Catalyst Vlans by SNMP Adapter
- Relationships
- Layer2 Discovery Flow
- Troubleshooting and Limitations – Layer2 Discovery
Layer2 Discovery Flow
This section describes the possible use cases and the discovery flow of the Layer2 Discovery.
Possible Use Cases
In general any Layer2 end-to-end discovery scenario might be a composition of the following items:
- Discovery of inter-Switch connectivity
- Discovery of Host to Switch connectivity
- Discovery of Virtual Machine to Physical Switch connectivity
Discovery Flow
In Universal Discovery, a set of Layer2-related jobs must be run in a particular sequence to get the full topology. Though depending on the use case and customer environment, the configuration here might be some shortcuts.
Note These discovery flows are not isolated ones, and it is expected that some or all of them might be used at the same time to reach the final goal – a full traversal of Layer2 Connections.
This discovery flow is the first one that appeared in UCMDB many years ago. It can report both Switch-to-Switch and Switch-to-Server connections. All the information is fetched from the Switch side, so all discovery jobs trigger on switches or routers and the related topology pieces.
The background idea of this discovery flow is to filter out ignored or virtual MAC addresses in reading the ARP caches for a particular interface on the switch, and then to decide if that port or interface is connected to a Switch or to the Server.
-
The criterion that the port is considered to be connected to the Server is that only one physical MAC address is behind that port; otherwise the port is considered to be a Switch-to-Switch connection port.
If the port or interface is considered to be a Server connectivity port, the Layer2 Connection CI is reported right away; otherwise the data is dumped to the Data Flow Probe File System to make a post-analysis later on in another job and to find the proper second interface on the remote Switch to report a Layer2 Connection CI.
-
The criterion according to which interfaces on two different switches are considered to have a relationship is as follows:
- MAC address of Interface A is present in the ARP cache of Interface B
- MAC address of Interface B is present in the ARP cache of Interface A
-
If rules a and b match for more than two interfaces, the length of the ARP caches is also measured, and the one with the lowest amount of MAC addresses is selected, which means that the interfaces are the closest ones; thus the interfaces are the really connected ones.
Note If a switch port has multiple VLANs assigned, the ARP caches for the very same interface under different VLANs are completely different ones. So "interface" in this topic means the interface instance with the real life limitations and setup.
- The SNMP protocol is defined.
- Switches related IP address ranges are defined.
Run the jobs in the following order:
- Range IPs by ICMP
- Host Connection by SNMP
- Host Networking by SNMP
- VLANs by SNMP
- VLAN ports by SNMP
- Layer2 Topology VLAN-based by SNMP – For Switches with VLANs (In the modern world all of them) or
Layer2 Topology Bridge-based by SNMP – For Non-VLAN based Switch connectivity - Process Layer2 Saved Files
For details on running jobs, refer to "Module/Job-Based Discovery" in the Universal CMDB Data Flow Management section of the UCMDB Online Help.
- It is expected that relationships to virtualization solution boxes are not detected because more than one MAC address will be visible on the interface pointing to, for example, VMware ESX server.
- If some other dummy device or the one does not support the corresponding SNMP Management Information Bases (MIBs) in the Layer2, the device will not be detected.
- For a set of devices that have the same MAC addresses on multiple interfaces, the reported topology might fail to reconcile.
The task of finding out "who is on the other side of the wire" is not a new one in the Network Industry. To have a good answer for that question, a set of specialized protocols have been developed. Some of them are open; others are not.
Currently, Universal Discovery supports Cisco Discovery Protocol (CDP) and Link Layer Discovery Protocol (LLDP) as data sources for obtaining the Layer2 related information. In order to get anything using these protocols, it is mandatory for both sides (both devices on the wire) connected to each other to support and activate the same discovery protocol. Due to that fact these protocols are widely referenced as Switch-to-Switch discovery protocols. In general that is true, but last days it is possible to hear that the support for those protocols are added on the OS level as well (for example, Linux) and it will be reasonable to expect that one day that limitation will go away, but as of now only Switch-to-Switch Layer2 connections are expected to be discovered.
- The SNMP protocol is defined.
- Switches related IP address ranges are defined.
- CDP or LLDP is supported by the target devices.
Run the jobs in the following order:
- Range IPs by ICMP
- Host Connection by SNMP
- Host Networking by SNMP
-
Layer2 Topology CDP-LLDP based by SNMP
For details on running jobs, refer to "Module/Job-Based Discovery" in the Universal CMDB Data Flow Management section of the UCMDB Online Help.
- Only Switch-to-Switch relationships are reported.
- The corresponding protocol must be supported by the device.
Currently, only the VMware solution is well supported if the environment is managed by the vCenter. These types of relationships come out from the VMware related jobs, not from the Layer2 discovery. The key point to report such an external topology piece is that VMware ESX servers have a option to support CDP and LLDP protocols, so the information regarding "who is on the other side of the wire" might be available. By default this option is turned off. If this option is enabled by the administrator in the vCenter UI and in the corresponding API, that information becomes available, so you can discover and report it.
Note
- If the support for CPD or LLDP is enabled on the ESX, it is also possible to fetch the ESX interface to Physical Switch interface via the Layer2 Topology CDP-LLDP based by SNMP job, but if no VMware related jobs run, the Virtual Network Topology part will not be available.
- Virtual Network Topology is modeled in a different manner than the real one, so do not expect to the same network connectivity picture for virtual machines as for physical machines.
- The VMware VIM protocol is defined.
- IP address ranges are defined.
- CDP or LLDP is supported by the target devices.
- The SNMP protocol is defined for the Physical Switches.
Run the jobs in the following order:
- Range IPs by ICMP
- Host Connection by SNMP (to get the physical switches in the UCMDB)
-
VMware vCenter Connection by VIM
-
VMware vCenter Topology by VIM
For details on running jobs, refer to "Module/Job-Based Discovery" in the Universal CMDB Data Flow Management section of the UCMDB Online Help.
We welcome your comments!
To open the configured email client on this computer, open an email window.
Otherwise, copy the information below to a web mail client, and send this email to cms-doc@microfocus.com.
Help Topic ID:
Product:
Topic Title:
Feedback: