For more details, please see ourCookie Policy.

Fibre Channel (SAN) Technical Documents

switch port enable and disable

by Anonymous ‎04-23-2006 05:00 PM - edited ‎10-30-2013 01:23 PM (10,054 Views)


This script allows to enable and disable the brocade switch port. You need to modify the access details and the port numbers that you need to enable/disable. This contains 3 files namely "enabledisable", "switch_portdisable" and "switch_portenable". All the three files should be copied in the same directory. Modify the access details and the port number of the switch in the file "enabledisable". You can modify the shell script to enable or disable the port in timely fashion. 


Operating System Tested in HP-UX, should be able to run in other unix platforms with little or no changes 

Interface Shell script 

Fabric Operating System Should work on most of Fabric OS unless the access to the switch is different 

Other Can also be used to enable/disbale the port of other switches with little modification in the script 



The admin password of the switch will be exposed in the one of the script file. 


NOTE: This contribution was migrated by Brocade from the former Brocade Connect community on March 13, 2008, on behalf of the author.