For more details, please see ourCookie Policy.


Fibre Channel (SAN)

Reply
Anonymous
Posts: 0

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?

Anonymous
Posts: 0

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

Highlighted
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 Broadcom Support Community

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