---
sourceDocument: Australia IT Operations Management
sourceDocumentLink: https://www.servicenow.com/docs/r/it-operations-management

 Release :

    - australia

ft:locale :

    - en-US

ft:publication_title :

    - Australia IT Operations Management

ft:clusterId :

    - itom

bundleId :

    - itom

workflow :

    - Technology


---

# Network switch

# Network switch discovery using patterns {#ariaid-title1}

Release version: Australia  
Updated March 12, 2026  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 6 minutes to read  
The Discovery and Service Mapping Patterns application uses the Network Switch pattern to find network switches in your environment. Discovering some of these resources might require updating to the latest version of the Discovery and Service Mapping Patterns application from the ServiceNow Store.

## Request apps on the Store {#network-switch-patterns__id_z4l_ysx_rcc}

Visit the [ServiceNow Store](https://store.servicenow.com/sn_appstore_store.do#!/store/home) 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](https://www.servicenow.com/docs/r/store-release-notes/sn-store-release-notes.html).{#network-switch-patterns__inline-send-to-store}
To learn about network switches and their versions that you can discover, refer to [Detailed information on products discovered by ITOM Visibility](https://www.servicenow.com/docs/mNB7NqS~kRULRDp~CJup5g "Discovery and Service Mapping can discover a wide range of operating systems and applications.").

For information on probe-based network switch and router discovery, see [Network switch and router discovery](https://www.servicenow.com/docs/cJ68d2j8JPtoBYLE7uV21A "Discovery identifies and classifies information about network switches and routers.").

## Cisco Nexus Virtual Routing and Forwarding (VRF) data model {#network-switch-patterns__id_nkl_gcx_xjc}

The pattern introduces the following CI class starting with Discovery and Service Mapping Patterns version 1.35.0.{#network-switch-patterns__table_ibs_21x_xjc__entry__2}

| CI class | Extends from |
|-|-|
| Virtual Routing and Forwarding (VRF) \[cmdb_ci_virtual_routing_forwarding\] | Configuration Item \[cmdb_ci\] |
[Table 1. CI class hierarchy]

{#network-switch-patterns__table_ibs_21x_xjc}

## Prerequisites {#network-switch-patterns__section_njc_lcm_zfc}

Verify that the applications are up to date
:
    * Discovery and Service Mapping Patterns
    * Visibility Content
    {#network-switch-patterns__ul_a1l_d5x_rcc}

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](https://www.servicenow.com/docs/access?context=c_SNMPCredentials&version=yokohama).

Configure properties for switch discovery
:   Navigate to <kbd class="ph userinput">sys_properties.list</kbd> and verify that the glide.discovery.L3_mapping system property is set to true.

:   You can configure these additional properties for network switch discovery.

    {#network-switch-patterns__table_zdl_34r_hkc__entry__2}

    | System property | Description |
    |-|-|
    | glide.discovery.max_concurrent_invocations_per_schedule | Sets a maximum number of scheduled invocations for the same Discovery schedule. It prevents a backlog of scheduled runs if Discovery does not finish before the next one starts. The value is an integer that represents the max number of automated invocations that can run concurrently for the same schedule. If the limit is reached, subsequent scheduled invocations are canceled. A value of 0 or any negative number disables this property. * Type: integer * Default value: 3 {#network-switch-patterns__ul_s15_gqw_qbb} Note: This property does not apply to schedules that have a 'Run after' configuration set to 'Even if canceled'. |
    | glide.discovery.bgp_router_disable | Disables running the SNMP -- Routing pattern when discovering a router running the BGP protocol. If you must populate the Device Neighbors \[discovery_device_neighbors\] table during horizontal layer 2 discovery of the BGP-enabled devices, set the glide.discovery.bgp_router_disable property to false. Notice that enabling this property can cause performance issues including out-of-memory issues on the MID Server. * Type: Boolean * Default value: true {#network-switch-patterns__ul_iwf_cg1_1gc} |
    [Table 2. Optional network switch discovery properties]

    {#network-switch-patterns__table_zdl_34r_hkc}

For Cisco Nexus VRF discovery
:   Verify the following requirements:

    * Discovery and Service Mapping Patterns starting from version 1.35.0.
    * Read permissions for the following commands on the Cisco Nexus device:
      * `sh vrf`
      * `sh hsrp br`
      * `sh ip interface vrf all`
      * `sh ipv6 interface vrf all`
      {#network-switch-patterns__ul_lvs_yww_xjc}
    * Create SSH credentials for the Cisco Nexus user. For more information, see [SSH credentials](https://www.servicenow.com/docs/access?context=r_SSHCredentialsForm&version=australia&pubname=australia-platform-security&ft:locale=en-US).
    {#network-switch-patterns__ul_yrk_jww_xjc}

## Discovering stacked switches {#network-switch-patterns__section_kzn_zfn_zfc}

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.  
The primary switch has all the fields listed in the IP Switch \[cmdb_ci_ip_switch\] table. The secondary switch has name, serial_number, model_id, manufacturer, stack, and stack_mode.  
Note:  
If all ports on a switch are open for port 161, the switch has an IP per port, but the same serial number is used across all ports. The configuration item (CI) identification is based on the serial number, therefore, discovery updates the existing record every time instead of creating a new one.

## Data collected by Discovery during horizontal discovery {#network-switch-patterns__section_ayv_cgn_zfc}

Discovery populates the data in the CMDB when running the Network Switch pattern.  
{#network-switch-patterns__table_ok5_jkn_zfc__entry__2}

| 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. |
[Table 3. IP Switch \[cmdb_ci_ip_switch\]]

{#network-switch-patterns__table_ok5_jkn_zfc}  
{#network-switch-patterns__table_trb_fln_zfc__entry__2}

| 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. |
| Owned By Configuration Item \[owned_by_cmdb_ci\]\* | References the Virtual Routing and Forwarding (VRF) \[cmdb_ci_virtual_routing_forwarding\] table |
[Table 4. IP Address \[cmdb_ci_ip_address\]]

{#network-switch-patterns__table_trb_fln_zfc}\* Populated for Cisco Nexus VRF discovery only.  
{#network-switch-patterns__table_qtb_jln_zfc__entry__2}

| 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. |
[Table 5. Network Adapter \[cmdb_ci_network_adapter\]]

{#network-switch-patterns__table_qtb_jln_zfc}  
{#network-switch-patterns__table_lpc_rln_zfc__entry__2}

| Field | Description |
|-|-|
| Name \[name\] | Name of the Domain Name System (DNS). |
| IP Address \[ip_address\] | IP address of the DNS. |
[Table 6. DNS Name \[cmdb_ci_dns_name\]]

{#network-switch-patterns__table_lpc_rln_zfc}  
{#network-switch-patterns__table_yls_1mr_yjc__entry__2}

| Field | Description |
|-|-|
| Name \[name\] | VRF name as configured on the network device. |
| VRF ID \[vrf_id\] | VRF identifier assigned by the network device operating system (OS). |
| Display Name \[display_name\] | Display name composed of the VRF name and the associated network device name. |
| Configuration Item \[configuration_item\] | References the IP Switch \[cmdb_ci_ip_switch\] table. |
[Table 7. Virtual Routing and Forwarding (VRF) \[cmdb_ci_virtual_routing_forwarding\]\*]

{#network-switch-patterns__table_yls_1mr_yjc}\* Populated for Cisco Nexus VRF discovery only.

## CI relationships {#network-switch-patterns__section_d1w_qhn_zfc}

Discovery creates these relationships and references to support the network switch discovery. References link to records in other tables and don't appear in the CI Relationship \[cmdb_rel_ci\] table.  
{#network-switch-patterns__table_oz2_wln_zfc__entry__3}

| CI | Relationship | CI |
|-|-|-|
| 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\] |
| IP Switch \[cmdb_ci_ip_switch\] | Owns::Owned by | Virtual Routing and Forwarding (VRF) \[cmdb_ci_virtual_routing_forwarding\]\* |
| Virtual Routing and Forwarding (VRF) \[cmdb_ci_virtual_routing_forwarding\] | Contains::Contained by | IP Address \[cmdb_ci_ip_address\]\* |
[Table 8. CI relationships]

{#network-switch-patterns__table_oz2_wln_zfc}\* Created for Cisco Nexus VRF discovery only.  
{#network-switch-patterns__table_vcn_sgx_xjc__entry__3}

| CI/Table | Field | Referenced CI |
|-|-|-|
| Network Adapter \[cmdb_ci_network_adapter\] | Configuration Item \[cmdb_ci\] | IP Switch \[cmdb_ci_ip_switch\] |
| Network ARP Table \[discovery_net_arp_table\] | Configuration Item \[cmdb_ci\] | IP Switch \[cmdb_ci_ip_switch\] |
| Next Hop Routing Rule \[dscy_route_next_hop\] | Configuration Item \[cmdb_ci\] | IP Switch \[cmdb_ci_ip_switch\] |
| Router Interface \[dscy_router_interface\] | Configuration Item \[cmdb_ci\] | IP Switch \[cmdb_ci_ip_switch\] |
| Serial Number \[cmdb_serial_number\] | Configuration Item \[cmdb_ci\] | IP Switch \[cmdb_ci_ip_switch\] |
| Switch Bridge Port Table \[discovery_switch_bridge_port_table\] | Configuration Item \[cmdb_ci\] | IP Switch \[cmdb_ci_ip_switch\] |
| Switch Forwarding Rule \[dscy_swtch_fwd_rule\] | Configuration Item \[cmdb_ci\] | IP Switch \[cmdb_ci_ip_switch\] |
| Switch Forwarding Table \[discovery_switch_fwd_table\] | Configuration Item \[cmdb_ci\] | IP Switch \[cmdb_ci_ip_switch\] |
| Switch Partition \[sdcy_swtch_partition\] | Configuration Item \[cmdb_ci\] | IP Switch \[cmdb_ci_ip_switch\] |
| Switch Spanning Tree Table \[discovery_switch_spanning_tree_table\] | Configuration Item \[cmdb_ci\] | IP Switch \[cmdb_ci_ip_switch\] |
| Switchport \[dscy_switchport\] | Configuration Item \[cmdb_ci\] | IP Switch \[cmdb_ci_ip_switch\] |
| Exit Interface Routing Rule \[dscy_route_interface\] | Configuration Item \[cmdb_ci\] | IP Switch \[cmdb_ci_ip_switch\] |
| IP Address \[cmdb_ci_ip_address\] | Nic \[nic\] | Network Adapter \[cmdb_ci_network_adapter\] |
| IP Address \[cmdb_ci_ip_address\] | Owned By Configuration Item \[owned_by_cmdb_ci\] | Virtual Routing and Forwarding (VRF) \[cmdb_ci_virtual_routing_forwarding\]\* |
| Virtual Routing and Forwarding (VRF) \[cmdb_ci_virtual_routing_forwarding\] | Configuration Item \[configuration_item\] | IP Switch \[cmdb_ci_ip_switch\]\* |
[Table 9. CI references]

{#network-switch-patterns__table_vcn_sgx_xjc}\* Populated for Cisco Nexus VRF discovery only.

