Skip to main content

Configure discovery of cluster and management network switches

Contributors

The cluster switch health monitor automatically attempts to discover your cluster and management network switches using the Cisco Discovery Protocol (CDP). You must configure the health monitor if it cannot automatically discover a switch or if you do not want to use CDP for automatic discovery.

About this task

The system cluster-switch show command lists the switches that the health monitor discovered. If you do not see a switch that you expected to see in that list, then the health monitor cannot automatically discover it.

Steps
  1. If you want to use CDP for automatic discovery, do the following:

    1. Ensure that the Cisco Discovery Protocol (CDP) is enabled on your switches.

      Refer to your switch documentation for instructions.

    2. Run the following command on each node in the cluster to verify whether CDP is enabled or disabled:

      run -node node_name -command options cdpd.enable

      If CDP is enabled, go to step d. If CDP is disabled, go to step c.

    3. Run the following command to enable CDP:

      run -node node_name -command options cdpd.enable on

      Wait five minutes before you go to the next step.

    4. Use the system cluster-switch show command to verify whether ONTAP can now automatically discover the switches.

  2. If the health monitor cannot automatically discover a switch, use the system cluster-switch create command to configure discovery of the switch:

    cluster1::> system cluster-switch create -device switch1 -address 192.0.2.250 -snmp-version SNMPv2c -community cshm1! -model NX5020 -type cluster-network

    Wait five minutes before you go to the next step.

  3. Use the system cluster-switch show command to verify that ONTAP can discover the switch for which you added information.

After you finish

Verify that the health monitor can monitor your switches.