Skip to main content
Command reference

system switch ethernet show

Suggest changes

Display the configuration for Ethernet switches (cluster 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 cluster and storage Ethernet switches.

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-or-username <text>] - SNMPv2c Community String or SNMPv3 Username

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

[-model {OTHER|NX3132V|NX3232C}] - Model Number

Selects the switches that match the specified model number.

[-type {cluster-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, SNMP, CDP, ISDP, or LLDP).

[-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 specified 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.

[-rcf-version <text>] - Reference Config File Version

Selects the switches that match the specified reference configuration file version.

[-role <text>] - Configured Role

Selects the switches that match the specified role or combined role (different roles can be combined using '+'):

  • cluster

  • multicluster

  • storage

  • multistorage

  • metrocluster

Examples

cluster1::> system switch ethernet show
  Switch                      Type               Address          Model
  --------------------------- ------------------ ---------------- ---------------
  SwitchA                     cluster-network    1.2.3.4          N9K-C9336C-FX2
     Serial Number: FFF123456V1
      Is Monitored: true
            Reason: None
  Software Version: Cisco Nexus Operating System (NX-OS) Software, Version
                    10.3(4a)
    Version Source: CDP/ISDP
SwitchB                     cluster-network    2.3.4.5          N9K-C9336C-FX2
     Serial Number: FEE234567V2
      Is Monitored: true
            Reason: None
  Software Version: Cisco Nexus Operating System (NX-OS) Software, Version
                    10.3(4a)
    Version Source: CDP/ISDP

The example above displays the configuration of all Ethernet switches (cluster 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 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 and storage).