Network switch discovery using patterns
The Discovery and Service Mapping Patterns application uses the Network Switch pattern to find network switches in your environment. Discovering some of these resources may require updating to the latest version of the Discovery and Service Mapping Patterns application from the ServiceNow Store.
Request apps on the Store
Visit the ServiceNow Store to view all the available apps, and for information about submitting requests to the store. For cumulative release notes information for all released apps, see the ServiceNow Store version history release notes.
To learn about network switches and their versions that you can discover, refer to Detailed information on products discovered by ITOM Visibility.
For information on probe-based network switch and router discovery, see Network switch and router discovery.
Prerequisites
- Verify that the applications are up to date
-
- Discovery and Service Mapping Patterns
- Visibility Content
- Verify IP address information
- The switch must contain IP address information for successful discovery.
- Verify that exit interface routing rules are configured and reachable
- The switch that provides the IP address must have exit interface routing rules configured and be reachable for successful discovery.
- Create SNMP credentials
- Create SNMP Community Credentials or SNMPv3 credentials. For more information, see SNMP credentials.
- Configure properties for switch discovery
- Navigate to sys_properties.list and verify that the glide.discovery.L3_mapping system property is set to true.
Discovering stacked switches
Network switch discovery supports Cisco stacked switches. Multiple switches in the stack are identified by the primary IP address. Discovery identifies each member of the stack by elements such as the primary IP address, a name associated with the switch, and the stack mode. The relationship is created between a primary switch and the secondary switches.
Data collected by Discovery during horizontal discovery
Discovery populates the data in the CMDB when running the Network Switch pattern.
| Field | Description |
|---|---|
| Name [name] | Name of the switch. |
| Model ID [model_id] | Hardware model ID of the switch. |
| Manufacturer [manufacturer] | Switch manufacturer. |
| Install Status [install_status] | Install status of the device. Default value is Installed. |
| Serial number [serial_number] | Unique hardware serial number of the router. |
| IP Address [ip_address] | IP addresses assigned to interfaces. |
| Description [short_description] | Device description. |
| Can route IP [can_route] | Indicates whether the IP pockets can be routed between networks. Possible values are true or false. |
| Can partition VLANs [can_partitionvlans] | Indicates whether the local area network (LAN) can be partitioned. Possible values are true or false. |
| Can switch IP [can_switch] | Indicates whether a network device has Layer 2 switching capabilities. Possible values are true or false. |
| Physical interface count [physical_interface_count] | Number of physical interfaces. |
| Ports [ports] | Individual network interface (physical or logical) used to connect devices such as computers, servers, access points, or uplinks to switches or routers. |
| Discovery Protocol ID [discovery_proto_id] | Unique identifier of the device participating in the Cisco Discovery Protocol (CDP) or Link Layer Discovery Protocol (LLDP) protocol. |
| Discovery Protocol Type [discovery_proto_type] | Protocol type. Possible values are CDP or LLDP. |
| Stack [stack] | Indicates whether a network device is part of a stacked group of switches operating as one unit. Possible values are true or false. |
| Stack Mode [stack_mode] | Stacking architecture or role of a network device within a stack. For example: standalone, stack_master, or stack_member. |
| Location [location] | Location where the switch is installed. |
| Field | Description |
|---|---|
| IP Address [ip_address] | IP address of the network switch. |
| Netmask [netmask] | Netmask of the network switch. |
| Nic [nic] | References the Network Adapter [cmdb_ci_network_adapter] table. |
| Field | Description |
|---|---|
| Name [name] | Name of the network adapter. |
| IP Address [ip_address] | IP address of the network adapter. |
| Netmask [netmask] | Netmask of the network adapter. |
| MAC Address [mac_address] | MAC address of the network adapter. |
| Alias [alias] | User-assigned name for the network adapter. |
| Configuration Item [cmdb_ci] | References the IP Switch [cmdb_ci_ip_switch] table. |
| Field | Description |
|---|---|
| Name [name] | Name of the Domain Name System (DNS). |
| IP Address [ip_address] | IP address of the DNS. |
CI relationships
Discovery creates these relationships to support the network switch discovery.
| CI | Relationship | CI |
|---|---|---|
| Exit Interface Routing Rule [dscy_route_interface] | References | IP Switch [cmdb_ci_ip_switch] |
| IP Address [cmdb_ci_ip_address] | References | Network Adapter [cmdb_ci_network_adapter] |
| IP Switch [cmdb_ci_ip_switch] | Contains::Contained by | Switch Forwarding Rule [dscy_swtch_fwd_rule] |
| IP Switch [cmdb_ci_ip_switch] | Contains::Contained by | Switch Partition [dscy_swtch_partition] |
| IP Switch [cmdb_ci_ip_switch] | Contains::Contained by | Switchport [dscy_switchport] |
| IP Switch [cmdb_ci_ip_switch] | Owns::Owned by | IP Address [cmdb_ci_ip_address] |
| IP Switch [cmdb_ci_ip_switch] | Owns::Owned by | Network Adapter [cmdb_ci_network_adapter] |
| IP Switch [cmdb_ci_ip_switch] | Uses::Used by | Exit Interface Routing Rule [dscy_route_interface] |
| IP Switch [cmdb_ci_ip_switch] | Uses::Used by | Next Hop Routing Rule [dscy_route_next_hop] |
| IP Switch [cmdb_ci_ip_switch] | Uses::Used by | Router Interface [dscy_router_interface] |
| Network Adapter [cmdb_ci_network_adapter] | Owns::Owned by | IP Address [cmdb_ci_ip_address] |
| Network Adapter [cmdb_ci_network_adapter] | References | IP Switch [cmdb_ci_ip_switch] |
| Network ARP Table [discovery_net_arp_table] | References | IP Switch [cmdb_ci_ip_switch] |
| Next Hop Routing Rule [dscy_route_next_hop] | References | IP Switch [cmdb_ci_ip_switch] |
| Router Interface [dscy_router_interface] | References | IP Switch [cmdb_ci_ip_switch] |
| Serial Number [cmdb_serial_number] | References | IP Switch [cmdb_ci_ip_switch] |
| Switch Bridge Port Table [discovery_switch_bridge_port_table] | References | IP Switch [cmdb_ci_ip_switch] |
| Switch Forwarding Rule [dscy_swtch_fwd_rule] | References | IP Switch [cmdb_ci_ip_switch] |
| Switch Forwarding Table [discovery_switch_fwd_table] | References | IP Switch [cmdb_ci_ip_switch] |
| Switch Partition [sdcy_swtch_partition] | References | IP Switch [cmdb_ci_ip_switch] |
| Switch Spanning Tree Table [discovery_switch_spanning_tree_table] | References | IP Switch [cmdb_ci_ip_switch] |
| Switchport [dscy_switchport] | References | IP Switch [cmdb_ci_ip_switch] |