If a switch chip does not boot properly, or a large quantity of its ports are problematic, the ibdevreset command might correct the situation.
# ibdevreset Switch Stopping IB Subnet Manager.. [ OK ] Stopping whereismaster daemon. [ OK ] Stopping Environment daemon. [ OK ] Resetting Switch Starting Environment daemon. [ OK ] Starting whereismaster daemon. [ OK ] Starting IB Subnet Manager. [ OK ] #