For more details, please see ourCookie Policy.

Fibre Channel (SAN) Technical Documents

Upload config for all switches

by Anonymous on ‎08-19-2005 01:00 AM (555 Views)



Perl script to upload switch configuration to specified remote host. Pass the script the name / ip of any switch in the fabric to collect a full list of switches. Once obtained, the script will telnet to each switch uploading the configuration to the remote host. Pass multiple addresses if you have more than one san or fabric. If you want to exclude switches, add them to the @omit array. <br/>


Verbosity can be turned off, set $verbose to 0 Logging can be turned down or off, set $logging. !! If logging is set to "2" usernames &#38; passwords show in the log !! <br/>


Feel free to contact me if you can't get this script working ) <br/>


Tested on Fedora box against 12000, 3900 &#38; 2800 switches <br/>


Perl modules required ( Both install very easy ):<br/>

Net::Telnet <a class="jive-link-external" href=""></a><br/>

Time::Format <a class="jive-link-external" href="">