[toolbox-cli] set config disable ip=IP_address|switch=name new_mkey=M_Key
where:
IP_address is the IP addres of the management controller of the switch.
name is the host name of the switch hosting the Subnet Manager.
M_Key is the new management key.
For example, to disable the switch with host name nsn178-158 with new management key random (optionally this can be overwritten to a custom value), type:
[toolbox-cli] set config disable switch=nsn178-158 new_mkey=random Switch nsn178-158 will be disabled (5 backups found). Do you want to continue?(y/n) y Disabling toolbox user and removing associated keys... [OK] Verifying SM states in fabric... [OK] Acquiring Global Lock... [OK] Protecting Fabric(s) based on config provided ... [OK] Determining Master SM node... [OK] : "nsn178-159" Gathering fabric data... [OK] Releasing Global Lock... [OK] Updating fabric conf file: /etc/toolbox/conf/fabric.conf... [OK] Verifying Switch FW versions in fabric... [OK] [toolbox-cli]