DCNM is down. I love the tool, but the downside is that you forget how to use the CLI. I faced downtime of our DCNM appliance and was forced to use the CLI instead. No big deal actually, but I still want to post the commands to use when you need to add new hosts to existing zones.
First you might want to create a new device alias for the new hosts:
device-alias name server1 pwwn 20:11:00:15:b9:00:00:00
device-alias name server2 pwwn 20:11:00:15:b9:00:00:01
And then you want to add the new aliases to the existing (smart) zone:
zone name NameOfZone vsan 123
member device-alias server1 init
member device-alias server2 init
zone commit vsan 123
You don’t need to commit the whole zoneset again, since that one didn’t change. Check it by running:
zoneset activate name ZoneSetName vsan 123
That’s it! there’s not much to it, and can save you a lot of time as well!