For more details, please see ourCookie Policy.

Fibre Channel (SAN)

Occasional Contributor
Posts: 8
Registered: ‎05-06-2008

Scripting from a workstation


I would like to automate some actions by script, but as nothing can be saved on the switches i expected to be able to launch scripts from my linux workstation.

As my public key can't be saved on the switch i can't even launch scripts through ssh.

Do you have a solution ?


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

Re: Scripting from a workstation

All I can think of is using "expect". Create a account in the fabric with minimum priveleges, just enough for you to retreive data. Use expect to provide answers to the interactive login process.

There are many scripts I beleive in the brocade script repos with expect scripts Or just google for it.

Expect is a scripting language just like perl, you will find the RPM's for expect in the RedHat CD.



Join the Broadcom Community

Get quick and easy access to valuable resources across the Broadcom Community Network.