Fibre Channel (SAN)

switch port enable and disable

by srshet on ‎04-23-2006 05:00 PM - edited on ‎10-30-2013 01:23 PM by bcm1 (7,148 Views)

DETAILED DESCRIPTION  

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. 

REQUIREMENTS 

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 

 

NOTES (INCLUDING LIMITATIONS) 

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.

Contributors