01-07-2013 09:49 AM
If I'm doing major changes to zones/zonesets I always do a
zone copy vsan xxx active-zoneset bootflash:/backup/zoneset-vsanxxx
I have a script that will take this file and re-create the the whole zoneset from scratch. I was told that there is a direct way to accomplish this - somehow copy the bootflash:/backup/zoneset-vsanxxx -> vsan xxx active-zoneset ?
I know the phoney command I just dreamed up does not appear to exist but is there a way to do that via cli ?
Solved! Go to Solution.
01-07-2013 01:31 PM
Hello Bruce,
There is other way,
Assuming your zone file on tftp with file name zonetest
you need to modify the file and add "conf t" on the first line, then add "member" before any line with "pwwn"
put back the file to booflash, then run:
mds1# runscript bootflash:zonetest
This will put back the zones
There is no other CLI way
01-07-2013 12:09 PM
hello Bruce,
you can do the command:
zone copy active-zoneset full-zoneset vsan xxx
Then modify the zone from there.
There is no other short cut
01-07-2013 01:22 PM
unless I'm missing something thats not quite what I had in mind,
I want to be able to restore what was the active zoneset very quickly, like as fast as a copy from a file if possible.
01-07-2013 01:31 PM
Hello Bruce,
There is other way,
Assuming your zone file on tftp with file name zonetest
you need to modify the file and add "conf t" on the first line, then add "member" before any line with "pwwn"
put back the file to booflash, then run:
mds1# runscript bootflash:zonetest
This will put back the zones
There is no other CLI way
01-08-2013 06:09 AM
That is what I have been doing, good to know I'm not crazy for that reason at least - thanks
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide