[toolbox-cli] add switch name=switch_name ip=IP_address rack='rack_name' fabric='fabric_name' sm=state
where:
switch_name is the host name of the switch.
IP_address is the IP address of the management controller of the switch.
rack_name is the name of the rack where the switch is located.
fabric_name is the name of the fabric where the switch is added.
state is the state of the Subnet Manager on that switch, enabled or disabled.
For example, to add a switch with host name scao04sw-iba0, IP address 10.133.12.155, in rack scao04-rack and fabric scao04-fabric with the Subnet Manager enabled, type:
[toolbox-cli] add switch name=scao04sw-iba0 ip=10.133.12.155 rack='scao04-rack' fabric='scao04-fabric' sm=enabled 'scao04sw-iba0' root password: password Updating fabric conf file: /etc/toolbox/conf/fabric.conf... [OK] Added 'scao04sw-iba0' (10.133.12.155) to fabric: 'scao04-fabric', rack: 'scao04-rack' [toolbox-cli]