Fibre Channel (SAN)

Reply
Contributor
Posts: 26
Registered: ‎03-11-2010

scripting

Hi there,

Is there any good documentation about scripting againt Brocade FC switches?

For example, I want to do a configupload for all fc switches without performing a logon on all switches...

Regards, Bart

Super Contributor
Posts: 260
Registered: ‎04-09-2008

Re: scripting

Hi Bart,

Click on the Browse drop down at the top -> click on Documents/Wikis -> Navigate from the 5th/6th page onwards -> You will find some scripts that do the job you intend to do

One that I could find is here

http://community.brocade.com/docs/DOC-1352

You would need to modify this as per your need.

Contributor
Posts: 26
Registered: ‎03-11-2010

Re: scripting

Hi,

Thanks for the answer...

I will take a look at this script...

I think i can use this script as a beginning for other scripts...

Regards, Bart

Contributor
Posts: 26
Registered: ‎03-11-2010

Re: scripting

Hi,

Right now I am using expect to script the brocade switches...

On http://www.sanessentials.nl/?p=79#more-79 you can read more about it.

Regards, Bart

Super Contributor
Posts: 635
Registered: ‎04-12-2010

Re: scripting

I pull the data via some homemade Perl scripts via SSH sessions.

You can use some packages like Net::SSH to automate all tasks you can run on the CLI.

Some limitations does this process have.

If you try to run interactive commands then it gets difficult and you have to use expect seesion.

I hope this helps,

Andreas

Join the Community

Get quick and easy access to valuable resource designed to help you manage your Brocade Network.

vADC is now Pulse Secure
Download FREE NVMe eBook