[toolbox-cli] set sm name=name|ip=IP_address action=state
where:
name is the host name of the switch hosting the Subnet Manager.
IP_address is the IP address of the management controller of the switch.
state is either enabled or disabled.
For example, to enable the Subnet Manager on a host with host name nsn156-102, type:
[toolbox-cli] set sm name=nsn156-102 action=enable Are you sure you want to enable SM on 10.134.156.102? (y/n): y Performing enable SM on 10.134.156.102... [OK] Sleeping for 10 seconds to let SM state change happen... [OK] Verifying SM states in fabric... [OK] Acquiring Global Lock... [OK] Protecting Fabric(s) based on MKey(s) provided ... [OK] Determining Master SM node... [OK] : "nsn156-81" Gathering fabric data... [OK] Releasing Global Lock... [OK] Updating fabric conf file: /etc/toolbox/conf/fabric.conf... [OK] [toolbox-cli]