Configuring Network Switch Information | Nutanix Community
Skip to main content

About this task

To track and record networking statistics for a cluster, the cluster requires information about the first-hop network switches and the switch ports being used. Switch port discovery is supported with switches that are RFC 2674 compliant. Switch port discovery involves obtaining statistics from the Q-BRIDGE-MIB on the switch and then identifying the MAC address that corresponds to the host. Such discovery is currently best-effort, so it is possible that, at times, an interface might not be discovered.

Before you begin

Before you configure network switch information in the Prism web console, configure the corresponding SNMP settings on the first-hop network switch.

About this task

To configure one or more network switches for statistics collection, do the following:

Procedure

  1. Click the gear icon in the main menu and then select Network Switch in the Settings page.
    Note: Network switch configuration is supported only for AHV clusters.
    The Network Switch Configuration dialog box appears.

  2. Figure. Network Switch Configuration Window

  3. Click to enlarge

  4. wU4jTFRbZDK72eK9cV-CtvEPy6yv3TVwUutn_nUDyIvGz5vMyL-6ll00uqKbXIj035kIxMiWM842zauQkoaurdo8hKtpludAhTMM1wvV5JeSWpX-QpEB9hclz3rrihauAS4WpLKl

     

  5. Click the Switch Configuration tab and then click the Add Switch Configuration button.

  6. Do the following in the indicated fields:

    • Switch Management IP Address: Enter the Management IP address of the switch or the fully qualified switch name.

    • Host IP Addresses or Host Name (separated by commas): Enter the IP address or fully qualified host name of each host in the cluster that uses this switch to route traffic.
      When there are multiple hosts, enter the addresses in a comma separated list. Failing to add the host list might result in issues with switch port discovery.

    • SNMP Profile: Select the SNMP profile to apply (or None) from the pull-down list.
      Any SNMP profiles you have created appear in the list (see Creating SNMP Profiles).Note: Selecting a profile populates the remaining fields automatically with the profile values. If you have not created a profile (or select None from the list), you must enter the values in the remaining fields manually.

    • SNMP Version: Select the SNMP version to use from the pull-down list.
      The options are SNMPv2c and SNMPv3.

    • SNMP Security Level (SNMPv3 only): Select the security level to enforce from the pull-down list.
      The options are No Authorization No Privacy, Authorization But No Privacy, and Authorization and Privacy. This field appears only when SNMPv3 is selected as the version.

    • SNMP Community Name: Enter the SNMP community name to use.

    • SNMP Username: Enter the SNMP user name.

    • SNMP Authentication Type: Select the authentication protocol to use from the pull-down list.
      The options are None and SHA.Note: This field and the following three fields are set to None or left blank (and read only) when the version is SNMPv2c or the security level is set to no authorization.

    • SNMP Authentication Pass Phrase: Enter the appropriate authentication pass phrase.

    • SNMP Privacy Type: Select the privacy protocol to use from the pull-down list.
      The options are None, AES, and DES.

    • SNMP Privacy Pass Phrase: Enter the appropriate privacy pass phrase.

    • When all the fields are correct, click the Save button.
      This saves the profile and displays the new entry in the Switch Configuration tab.Note: As a security protection, the SNMP Authentication Pass Phrase and SNMP Privacy Pass Phrase fields appear blank after saving (but the entered phrases are saved).

  7. Figure. Add Network Switch Configuration

  8. Click to enlarge

  9. uPHuEzhQKUUu6HOFl2JOB3kB6N-hxSpRl2R5B40RV1GlfVboEh4JuL0XGDH8B8kXlTlbaE4ZQRBydevdUQ-hWI6f6CaMkoxv0WxeAlHL5LhJJ1vduqEop5Nss9Qu2i7pQsJ-xrsW

     

Creating SNMP Profiles

About this task

If you need to configure multiple network switches, it may be useful to create one or more SNMP profiles that can be applied when configuring the switches (see Configuring Network Switch Information). To create an SNMP profile, do the following:

Procedure

  1. Click the gear icon in the main menu and then select Network Switch in the Settings page.
    Note: Network switch configuration is supported only for AHV clusters.
    The Network Switch Configuration dialog box appears.

  2. Figure. Network Switch Configuration Window

  3. Click to enlarge

  4. 03TV6OGhaJuc_0-ZYAA-kcVloMRU04btimZcxfO2YQPR_5-Wn4A1DtjdaaGoUa6zv2iN8Hy1E7RpRoGLw3_y-wQamOVkweJFMa7hle66Mz890aWTpC8MtBvvHJIvnmhdVDtDBhgg

     

  5. Click the SNMP Profile tab and then click the Add SNMP Profile button.

  6. Do the following in the indicated fields:

    • Profile Name: Enter a name for the profile.
      The name can be anything as it is for display purposes only.

    • SNMP Version: Select the SNMP version to use from the pull-down list.
      The options are SNMPv2c and SNMPv3.

    • SNMP Security Level (SNMPv3 only): Select the security level to enforce from the pull-down list.
      The options are No Authorization No Privacy, Authorization But No Privacy, and Authorization and Privacy. This field appears only when SNMPv3 is selected as the version.

    • SNMP Community Name: Enter the SNMP community name to use.

    • SNMP Username: Enter the SNMP user name.

    • SNMP Authentication Type: Select the authentication protocol to use from the pull-down list.
      The options are None and SHA.Note: This field and the following three fields are set to None or left blank (and read only) when the version is SNMPv2c or the security level is set to no authorization.

    • SNMP Authentication Pass Phrase: Enter the appropriate authentication pass phrase.

    • SNMP Privacy Type: Select the privacy protocol to use from the pull-down list.
      The options are None, AES, and DES.

    • SNMP Privacy Pass Phrase: Enter the appropriate privacy pass phrase.

    • When all the fields are correct, click the Save button.
      This saves the profile and displays the new entry in the SNMP Profile tab.

  7. Figure. Network Switch Configuration Window (add SNMP profile)

  8. Click to enlarge

  9. tdS52r8Bd2510hlxC9_qZrDtDSKi_6fH_6vzHnj2lNhytCxlLejnwWe-hfdjas_nJKqbZkdZSbmCseMNIC-mNNErTXxOU4ZmIR6MIE3IUEkTDxD-PCKOR7-akNuBCq2iVb0GXBEp

     

  10. Click to enlarge

  11. WkP-Tgii-vWY1boppfFq4QLMTBYmPizKq9c0Tmho6dBGRhnlHg_XMGE0rUg6Vb7qz-LEibVn9GmKrDpgauQ57trRIzNLo_pTPSMkVryeVUPvBVKCTiHl4QlY0hueGgz7ld9cZRIW

     

Modifying Switch Information

About this task

To modify the information about a network switch (or the SNMP profile used in the switch information), do the following:

Procedure

  1. Click the gear icon in the main menu and then select Network Switch in the Settings page.
    Note: Network switch configuration is supported only for AHV clusters.
    The Network Switch Configuration dialog box appears.

  2. Figure. Network Switch Configuration Window

  3. Click to enlarge

  4. cpjjFMqGWaDfW_SN7YR5-Z-pSFyjJnMV4dyhdvsy462sFDf0Crs_08DUpDx5fG9YvbjxGfm7n-v83qs8W71IMJnXfVsv7bd1mrNfcmR9Ti6qRdMlIwCK1_DsbCKAGO9R11k3CI6e

     

  5. To modify a switch configuration (or SNMP profile), select the Switch Configuration (or SNMP Profile) tab, go to the target switch (or profile) entry in the table, and click the pencil icon.
    This displays the configuration fields (see Configuring Network Switch Information or Creating SNMP Profiles). Edit the entries as desired and then click the Save button.

  6. To delete a switch configuration (or SNMP profile), select the Switch Configuration (or SNMP Profile) tab, go to the target switch (or profile) entry in the table, and click the X icon.
    This deletes the entry and removes it from the table.