04-05-2011 09:53 PM
Does any one know how to clone the existing zoneset on a brocade fabric using the CLI. I want to be able to save the current zoneset and rename it something else so I have a backup in the event that I need to roll back. I currently have about 300 zones in the production zoneset. Below is a version of the comands I am currently running via the cli, however I cannot work out how to clone the zoneset called SAN_FAB1_PROD before I do any thing. I am currently cloning the zoneset through the GUI.
zonecreate "host1_storage_0a", 50:01:43:80:12:0a:b6:9a;50:06:0e:80:14:43:ec:31"
zonecreate "host2_storage_1a", "50:01:43:80:12:0a:ae:3a;50:06:0e:80:14:39:09:36"
cfgadd "SAN_FAB1_PROD", "host1_storage_0a"
cfgadd "SAN_FAB1_PROD", "host2_storage_1a"
Thanks to anyone who can help.
04-05-2011 10:58 PM
I worked this out myself. The command i needed was zoneobjectcopy.
Example shown below:
zoneobjectcopy "SAN_FAB1_PROD", "SAN_FAB_PROD_06042001_v1"
You can run this command before making any changes and if you run into issues just run the cfgenable command and specify the backed up zoneset and you should be all good.