Network switch and router discovery
Discovery identifies and classifies information about network switches and routers.
Prerequisites
- The router or switch needs to have IP Address information.
- The system property glide.discovery.L3_mapping is set to true to discover routers and switches.
- The router or Layer 3 switch that provides the IP Address needs to have been successfully discovered with populated Exit Interface Routing Rules.
- If you must populate the [discovery_device_neighbors] table during horizontal layer 2 discovery of the bgp-enabled devices, set the BGP router exploration disable property to No. Notice that enabling this property can cause performance issues including out-of-memory issues on the MID Server.
System properties
| Property | Description |
|---|---|
| glide.discovery.L3_mapping | This creates IP Connecton::IP Connection relation between servers and network devices.
|
| glide.discovery.max_concurrent_invocations_per_schedule | Sets a maximum number of scheduled invocations of the same Discovery schedule. It prevents a backlog of scheduled runs if Discovery does not finish before the next invocation is scheduled to run. The value is
an integer that represents the max number of automated invocations of the same schedule that may proceed at one time. If the limit has been reached, subsequent scheduled invocations are canceled. A value of 0 or
any negative number disables this property.
注: This property does not apply to schedules that have a 'Run after' configuration set to 'Even if canceled'. |
Credentials
Discovery explores many kinds of devices, such as switches, routers, and printers, using the SNMP protocol. SNMP Community Credentials do not include a user name, just a password, which is the community string. The default read-only community string for many SNMP devices is public, and Discovery will try that automatically. SNMPv3 credentials require a user name and a key, depending on the protocol selected. Enter the appropriate SNMP credentials if they differ from the public community string.
Classifier, pattern, and probes
| Classifiers | Trigger probes | Pattern |
|---|---|---|
| Standard Network Router Standard Network Switch |
|
Network Router |
*For new instances, these probes are inactive on the classifier. Discovery uses patterns for discovery.
^This probe remains active by default for the Standard Network Router classifier, even when Discovery uses pattern discovery.
To use patterns, verify that the correct pattern is specified in the horizontal pattern probe on the classifier. See Add the Horizontal Pattern probe to a classifier for instructions.
Discovering stacked switches
Router and switch data
| Table name | Label/Field name | Source |
|---|---|---|
| cmdb_ci | Serial Number serial_number |
SNMP, various MIBs |
| cmdb_ci | Manufacturer manufacturer |
SNMP, RFC1213 MIB |
| cmdb_ci | Model ID model id |
SNMP, RFC1213 MIB |
| cmdb_ci_ip_router | Name name |
|
| cmdb_ci_ip_router | Model ID model ID |
SNMP, RFC1213 MIB |
| cmdb_ci_ip_router | Manufacturer manufacturer |
SNMP, RFC1213 MIB |
| cmdb_ci_ip_router | Serial Number serial_number |
SNMP, various MIBs |
| cmdb_ci_ip_router | IP Address ip_address |
SNMP, IP MIB |
| cmdb_ci_ip_router | Description short_description |
|
| cmdb_ci_ip_router | Can route IP can_route |
SNMP, IP MIB, BGP MIB |
| cmdb_ci_ip_router | Can switch IP can_switch |
SNMP, dot1dBridge MIB |
| cmdb_ci_ip_router | Port port |
|
| cmdb_ci_ip_switch | Name name |
|
| cmdb_ci_ip_switch | Model ID model ID |
SNMP, RFC1213 MIB |
| cmdb_ci_ip_switch | Manufacturer manufacturer |
SNMP, RFC1213 MIB |
| cmdb_ci_ip_switch | Serial Number serial_number |
SNMP, various MIBs |
| cmdb_ci_ip_switch | IP Address ip_address |
SNMP, IP MIB |
| cmdb_ci_ip_switch | Description short_description |
|
| cmdb_ci_ip_switch | Can route IP can_route |
SNMP, IP MIB, BGP MIB |
| cmdb_ci_ip_switch | Ports ports |
SNMP, dot1dBridge MIB |
| cmdb_ci_ip_switch | Can switch IP can_switch |
SNMP, dot1dBridge MIB |
| cmdb_ci_ip_switch | Can partition VLANs can_partitionvlans |
SNMP, dot1dBridge MIB |
| cmdb_ci_ip_switch | Stack stack |
SNMP, entPhysicalTable |
| cmdb_ci_ip_switch | Stack Mode stack_mode |
SNMP, entPhysicalTable |
| cmdb_ci_netgear | Can route IP can_route |
SNMP, IP MIB, BGP MIB |
| cmdb_ci_netgear | Can switch IP can_switch |
SNMP, dot1dBridge MIB |
| cmdb_ci_netgear | Can partition VLANs cdscy_router_interface |
SNMP, dot1dBridge MIB |
| cmdb_ci_netgear | Can Hub can_hub |
SNMP, IP MIB |
| cmdb_ci_network_adapter | IP Address ip_address |
SNMP, IP MIB |
| cmdb_ci_network_adapter | MAC Address mac_address |
SNMP, IF MIB |
| discovery_device_neighbors | Neighbor Address neighbor_address |
ciscoCdpMIB |
| discovery_device_neighbors | Neighbor ID neighbor_ID |
ciscoCdpMIB, lldpMIB |
| discovery_device_neighbors | Neighbor Interface neighbor_interface |
ciscoCdpMIB, lldpMIB |
| discovery_device_neighbors | Neighbor Source neighbor_source |
ciscoCdpMIB, lldpMIB |
| discovery_device_neighbors | Origin Interface origin_interface |
ciscoCdpMIB, lldpMIB |
| discovery_net_arp_table | IP Address IP_address |
SNMP, IP MIB |
| discovery_net_arp_table | MAC Address mac_address |
SNMP, IP MIB |
| discovery_switch_bridge_port_table | Interface Index interface_index |
SNMP, dot1dBridge MIB |
| discovery_switch_bridge_port_table | Port port |
SNMP, dot1dBridge MIB |
| discovery_switch_fwd_table | MAC Address mac_address |
SNMP, dot1dBridge MIB |
| discovery_switch_fwd_table | Port port |
SNMP, dot1dBridge MIB |
| discovery_switch_fwd_table | Status status |
SNMP, dot1dBridge MIB |
| discovery_switch_fwd_table | VLAN ID vlan_id |
SNMP, dot1dBridge MIB |
| discovery_switch_spanning_tree_table | Designated Bridge MAC designated_bridge_mac |
SNMP, dot1dBridge MIB |
| discovery_switch_spanning_tree_table | Designated Root designated_root |
SNMP, dot1dBridge MIB |
| discovery_switch_spanning_tree_table | Port port |
SNMP, dot1dBridge MIB |
| discovery_switch_spanning_tree_table | Port Enable port_enable |
SNMP, dot1dBridge MIB |
| discovery_switch_spanning_tree_table | Port State port_state |
SNMP, dot1dBridge MIB |
| dscy_router_interface | Name name |
SNMP, IP MIB |
| dscy_router_interface | Type type |
SNMP, IP MIB |
| dscy_router_interface | Number number |
SNMP, IP MIB |
| dscy_router_interface | IP Address ip_address |
SNMP, IP MIB |
| dscy_router_interface | MAC Address mac_address |
SNMP, IP MIB |
| dscy_route_interface | Destination Network dest_ip_network |
SNMP, IP MIB |
| dscy_route_interface | Type type |
SNMP, IP MIB |
| dscy_route_next_hop | Destination Network dest_ip_network |
SNMP, IP MIB |
| dscy_route_next_hop | Type type |
SNMP, IP MIB |
| dscy_route_next_hop | Next Hop next_hop_ip_address |
SNMP, IP MIB |
| dscy_switchport | Type type |
SNMP, dot1dBridge MIB |
| dscy_switchport | Status status |
SNMP, dot1dBridge MIB |
| dscy_switchport | MAC Address mac_address |
SNMP, dot1dBridge MIB |
| dscy_switchport | Port Number port_number |
SNMP, dot1dBridge MIB |
| dscy_switchport | Interface Name interface_name |
SNMP, dot1dBridge MIB |
| dscy_switchport | Interface Number interface_number |
SNMP, dot1dBridge MIB |
| dscy_swtch_fwd_rule | MAC Address mac_address |
SNMP, dot1dBridge MIB |
| dscy_swtch_fwd_rule | MAC Manufacturer mac_mfr |
SNMP, dot1dBridge MIB |
| dscy_swtch_fwd_rule | Status status |
SNMP, dot1dBridge MIB |
| dscy_swtch_fwd_rule | IP address ip_address |
SNMP, dot1dBridge MIB |
| dscy_swtch_fwd_rule | Netmask netmask |
SNMP, dot1dBridge MIB |
| dscy_swtch_partition | Base IP Address base_ip_address |
SNMP, dot1dBridge MIB |
| dscy_swtch_partition | Base MAC Address base_mac_address |
SNMP, dot1dBridge MIB |
| dscy_swtch_partition | Base Netmask base_netmask |
SNMP, dot1dBridge MIB |
| dscy_swtch_partition | Type type |
SNMP, dot1dBridge MIB |
| dscy_swtch_partition | Transparent transparent |
SNMP, dot1dBridge MIB |
| dscy_swtch_partition | Source Route sourceroute |
SNMP, dot1dBridge MIB |
| dscy_swtch_partition | Name name |
SNMP, dot1dBridge MIB |
| dscy_swtch_partition | Status status |
SNMP, dot1dBridge MIB |
| dscy_swtch_partition | Interface Number interface_number |
SNMP, dot1dBridge MIB |