Brocade Fibre Channel Networking Community

Expand all | Collapse all

zonecreate error

  • 1.  zonecreate error

    Posted 03-26-2013 11:29 AM

    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?


    #BrocadeFibreChannelNetworkingCommunity


  • 2.  Re: zonecreate error

    Posted 03-26-2013 11:46 PM

    depending on your ssh client, did you try :

    ssh admin@x.x.x.x/" target="_blank">admin@x.x.x.x 'zonecreate "zaaaa", "aaaa_vhba0;spa1;spa3;spb0;spb2";cfgsave'

    Regards,

    --

    david


    #BrocadeFibreChannelNetworkingCommunity


  • 3.  Re: zonecreate error

    Posted 03-27-2013 01:23 AM

    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


    #BrocadeFibreChannelNetworkingCommunity