[toolbox-cli] set sm name=name|ip=IP_address -priority=priority|-controlledhandover={TRUE|FALSE}|-prefix=prefix|-mkey=M_Key
where:
name is the host name of the switch hosting the Subnet Manager.
IP_address is the IP addres of the management controller of the switch.
priority is the Subnet Manager priority.
prefix is the Subnet Manager prefix.
M_Key is the management key.
For example, to set the priority to 3, disable controlled handover, and set the management key to 0xa00000000001 for the Subnet Manager with name nsn156-102, type:
[toolbox-cli] set sm name=nsn156-102 -priority=3 -controlledhandover=FALSE -mkey=0xa00000000001 [toolbox-cli]
[toolbox-cli] show sm all nsn156-102 (10.134.156.102) --------------------------- SM: STAND BY STATE: disabled PRIORITY: 3 CONTROLLED_HANDOVER: FALSE SUBNET_PREFIX: 0xfe80000000000000 MKEY: 0xa00000000001 ROUTING_ENGINE: FatTree nsn156-81 (10.134.156.81) ------------------------- SM: MASTER STATE: enabled PRIORITY: 0 CONTROLLED_HANDOVER: TRUE SUBNET_PREFIX: 0xfe80000000000000 MKEY: None ROUTING_ENGINE: FatTree [toolbox-cli]