Fibre Channel (SAN)

Reply
Contributor
Posts: 39
Registered: ‎12-08-2011

zonecreate error

I am getting this error when trying to zone create via ssh,

# ssh admin@x.x.x.x "zonecreate "zaaaa", "aaaa_vhba0;spa1;spa3;spb0;spb2";cfgsave"

-bash: spa1: command not found

-bash:  spa3: command not found

-bash: spb0: command not found

any idea?

Regular Contributor
Posts: 178
Registered: ‎04-21-2008

Re: zonecreate error

depending on your ssh client, did you try :

ssh admin@x.x.x.x 'zonecreate "zaaaa", "aaaa_vhba0;spa1;spa3;spb0;spb2";cfgsave'

Regards,

--

david

Valued Contributor
Posts: 761
Registered: ‎06-11-2010

Re: zonecreate error

Hi,

is right, that command worked for me.

Is there a way to automatically confirm the cfgsave execution? With this command you still have to write 'yes' in order to save the changes performed.

rgds

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