system cluster-switch create

Add information about a cluster switch or management switch

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

Description

The system cluster-switch create command adds information about a cluster switch or management switch. The cluster switch health monitor uses this information to monitor the health of the switch.

Use this command if ONTAP cannot automatically discover a cluster or management switch. ONTAP relies on the Cisco Discovery Protocol (CDP) to discover the switches. CDP is always enabled on all cluster ports of a node by default, disabled on all non-cluster ports of a node. If the CDP is also enabled on your cluster switches, they will be automatically discovered.

If you want ONTAP to discover and monitor management switches, the CDP must be enabled on non-cluster ports. To verify whether the CDP is enabled or disabled, use the command system node run -node <node_name> -command options cdpd.enable.

Use the system cluster-switch show command to identify switches that the cluster switch health monitor is monitoring.

Parameters

-device <text> - Device Name
Specifies the device name of the switch that you want to monitor. Data ONTAP uses the device name of the switch to identify the SNMP agent with which it wants to communicate.
-address <IP Address> - IP Address
Specifies the IP address of switch's management interface.
-snmp-version {SNMPv1|SNMPv2c|SNMPv3} - SNMP Version
Specifies the SNMP version that Data ONTAP uses to communicate with the switch. The default is SNMPv2c.
{ -community <text> - DEPRECATED-Community String or SNMPv3 Username
Note: This parameter is deprecated and may be removed in a future release of Data ONTAP. Use -community-or-username instead.
Specifies the community string for SNMPv2 authentication or SNMPv3 user name for SNMPv3 security. The default community string for SNMPv2 authentication is cshm1!.
| -community-or-username <text>} - Community String or SNMPv3 Username
Specifies the community string for SNMPv2 authentication or SNMPv3 user name for SNMPv3 security. The default community string for SNMPv2 authentication is cshm1!.
-model {NX5010|NX5020|CAT2960|OTHER|NX5596|CN1610|CN1601|NX3132|NX5548|NX3132V|OT9332|NX3132XL|NX3232C} - Model Number
Specifies the model number of the switch. You should not set this parameter to OTHER. Data ONTAP does not monitor switches that match this value. Data ONTAP sets this parameter to OTHER if a switch that it automatically discovers is not supported for health monitoring.
-type {cluster-network|management-network} - Switch Network
Specifies the switch type.
[-is-monitoring-enabled-admin {true|false}] - Enable Switch Monitoring
Specifies the switch admin monitoring status.

Examples

cluster1::> system cluster-switch create -device SwitchA -address 1.2.3.4 -snmp-version SNMPv2c -community-or-username cshm1! -model NX55596 -type cluster-network
Creates a new switch configuration for a switch named SwitchA.
cluster2::> system cluster-switch create -device SwitchB -address 5.6.7.8 -snmp-version SNMPv3 -community-or-username snmpv3u1 -model CN1601 -type management-network