ONTAP 9.12.1 commands

50←PDF
  • ONTAP 9.12.1 commands(CA08871-263en.pdf)
  • system switch ethernet show

    Display the configuration for Ethernet switches (cluster, management and storage).

    Availability: This command is available to cluster administrators at the admin privilege level.

    Description

    The system switch ethernet show command displays configuration details for the monitored Ethernet switches (cluster, management and storage).

    Parameters

    { [-fields <fieldname>,…​]

    Selects the fields that have the specified name.

    | [-banner ]

    Displays the following information about a switch:

    • Device Name

    • Banner seen when accessing the switch through SSH.

    | [-snmp-config ]

    Displays the following information about a switch:

    • Device Name

    • SNMPv2c Community String or SNMPv3 Username

    • SNMP Version

    | [-status ]

    Displays the following status information about a switch:

    • Is Discovered

    • SNMPv2c Community String or SNMPv3 Username

    • Model Number

    • Switch Network

    • Software Version

    • Reason For Not Monitoring

    • Source Of Switch Version

    • Is Monitored ?

    | [-instance ] }

    Selects detailed information for all the switches.

    [-device <text>] - Device Name

    Selects the switches that match the specified device name.

    [-address <IP Address>] - IP Address

    Selects the switches that match the specified IP address.

    [-snmp-version {SNMPv1|SNMPv2c|SNMPv3}] - SNMP Version

    Selects the switches that match the specified SNMP version.

    [-is-discovered {true|false}] - Is Discovered

    Selects the switches that match the specified discovery setting.

    [-community <text>] - DEPRECATED-Community String or SNMPv3 Username
    This parameter is deprecated and may be removed in a future release of ONTAP. Use -community-or-username instead.

    Selects the switches that match the specified SNMPv2c community string or SNMPv3 username.

    [-community-or-username <text>] - Community String or SNMPv3 Username

    Selects the switches that match the specified SNMPv2c community string or SNMPv3 username.

    [-model {NX5010|NX5020|CAT2960|OTHER|NX5596|CN1610|CN1601|NX3132|NX5548|NX3132V|OT9332|NX3132XL|NX3232C}] - Model Number

    Selects the switches that match the specified model number.

    [-type {cluster-network|management-network|storage-network}] - Switch Network

    Selects the switches that match the specified switch type.

    [-sw-version <text>] - Software Version

    Selects the switches that match the specified software version.

    [-reason <text>] - Reason For Not Monitoring

    Selects the switches that match the specified reason.

    [-version-source <text>] - Source Of Switch Version

    Selects the switches that match the specified version source (for example, from SNMP, CDP or ISDP).

    [-is-monitoring-enabled-admin {true|false}] - Enable Switch Monitoring

    Selects the switches that match the specified admin monitoring status.

    [-is-monitoring-enabled-operational {true|false}] - Is Monitored ?

    Selects the switches that match the specifed operational monitoring status.

    [-serial-number <text>] - Serial Number of the Device

    Selects the switches that match the specified serial number.

    [-device-banner <text>] - Device Banner

    Banner seen when accessing the switch through SSH.

    Examples

    cluster1::> system switch ethernet show
      Switch                      Type               Address          Model
      --------------------------- ------------------ ---------------- ---------------
      cn1610-143--234             cluster-network    10.238.143.234   CN1610
           Serial Number: 20211200007
            Is Monitored: true
                  Reason:
        Software Version: 1.1.0.1
          Version Source: ISDP
    cn1601--143-230             management-network 10.238.143.230   CN1601
           Serial Number: 20210200019
            Is Monitored: false
                  Reason: Monitoring Disabled by Default
        Software Version: 1.1.0.1
          Version Source: ISDP
    cn1601--143-232             management-network 10.238.143.232   CN1601
           Serial Number: 20210200017
            Is Monitored: false
                  Reason: Monitoring Disabled by Default
        Software Version: 1.1.0.1
          Version Source: ISDP
    cn1610-143--231             cluster-network    10.238.143.231   CN1610
           Serial Number: 20211200002
            Is Monitored: true
                  Reason:
        Software Version: 1.1.0.1
          Version Source: ISDP

    The example above displays the configuration of all Ethernet switches (cluster, management and storage).

    cluster1::> system switch ethernet show -snmp-config
                    SNMPv2c Community
      Switch        or SNMPv3 Username    SNMP Version
      ------------- --------------------- ------------
      SwitchA       public                SNMPv2c

    The example above displays the SNMPv2c community string or SNMPv3 username and SNMP version for all Ethernet switches (cluster, management and storage).

    cluster1::> system switch ethernet show -banner
      Device: SwitchA
      ---------------
      ******************************************************************************
      *
      * NetApp Reference Configuration File (RCF)
      * Switch       : SwitchModel
      * Filename     : SwitchType-RCF-v1.8-Cluster
      * Release Date : Apr-04-2022
      * Version      : v1.8
      *
      ******************************************************************************

    The example above shows the SSH banner for all the Ethernet switches (cluster, management, and storage).

    Top of Page