storage switch modify

Modify information about a back-end switch's configuration

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

Description

The storage switch modify enables you to modify certain parameters for identifying and accessing the FC back-end switches added for monitoring in a MetroCluster configuration.

Parameters

-switch-name <text> - FC Switch Name
This parameter specifies the name of the switch.
[-snmp-version {SNMPv1|SNMPv2c|SNMPv3}] - SNMP Version
This parameter specifies the SNMP version that Data ONTAP uses to communicate with the switch.
[-switch-ipaddress <IP Address>] - Switch IP Address
This parameter specifies the IP address of the switch.
{ [-snmp-community <text>] - (DEPRECATED)-SNMPv2c Community or SNMPv3 Username
Note: This parameter is deprecated and may be removed in a future release of Data ONTAP. Use -snmp-community-or-username instead.
This parameter specifies the SNMPv2c community set or SNMPv3 username on the switch.
| [-snmp-community-or-username <text>]} - SNMPv2c Community or SNMPv3 Username
This parameter specifies the SNMPv2c community set or SNMPv3 username on the switch.
[-blades <integer>, ...] - Director-Class Switch Blades to Monitor
This parameter specifies the blades to monitor on the switch. It is only applicable to director-class switches.

Examples

The following command modifies Cisco_10.226.197.34 switch SNMP community to 'public':
    cluster1::> storage switch modify -switch-name Cisco_10.226.197.34 -switch-ipaddress 10.226.197.34 -snmp-community-or-username public

    cluster1::>
    
The following command modifies the blades monitored on a director-class switch:
    cluster1::> storage switch modify -switch-name Cisco_10.228.56.208 -blades 3,4

    cluster1::>
    
The following command modifies Brocade 6505 switch SNMP version to SNMPv3 and SNMPv3 username to 'snmpuser1':
    cluster1::> storage switch modify -switch-name Brocade6505 -switch-ipaddress 10.226.197.34 -snmp-version SNMPv3 -snmp-community-or-username snmpuser1
    cluster1::>