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
- This parameter specifies the SNMPv2c community set or SNMPv3 username on the switch.NoteThis parameter is deprecated and may be removed in a future release of Data ONTAP. Use
-snmpcommunity- or-username instead. - | [-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::>
cluster1::> storage switch modify -switch-name Cisco_10.228.56.208 -blades 3,4
cluster1::>
cluster1::> storage switch modify -switch-name Brocade6505 -switch-ipaddress 10.226.197.34
-snmp-version SNMPv3 -snmp-community-or-username snmpuser1
cluster1::>
Give documentation feedback