New User's Guide to Configuring Cisco MDS Zones via CLI
24 August 2009
I’m a bit new to the Cisco MDS family of Fibre Channel switches, so I’m sure that this information is “old hat” to the storage pros out there who’ve done it a million times. Hence, I’m labeling this one as a “new user” article. The topic of this post is how to use the command-line interface (CLI) to configure zones on a Cisco MDS 9000 series Fibre Channel switch.
I won’t go into great detail on the purpose of zones and that sort of thing; I’m sure it’s been covered in excruciating detail elsewhere. (Knowledgeable readers with any links to that sort of information are encouraged to share those links in the comments.) Instead, I’ll just focus on the mechanics of how it’s done.
loteasier, in my opinion. You create aliases using the fcalias
command, like this (where applicable in this command and all other commands in this post, replace_XXX_
Obviously, you’ll replace the fake WWPN I used in the command above with the correct WWPN for that device. Repeat this process for all the storage processor ports, server HBAs, etc. From this point forward, you can use the alias in place of the WWPN when creating zones. See, isn’t that easier?
zone
and member
Since each zone contains only a single initiator, you’ll need to repeat this process for each initiator.
zoneset
command, or you can clone an existing zoneset with the zoneset clone
From here, you have a copy of the existing zoneset, which already had all the previously defined zones as members. Add the new zones you’ve defined to the zoneset like this:
Finally, activate the zoneset:
copy runn start
UPDATE: I’ve posted a follow-up to this article on managing zones via the CLI.
Tags: Cisco · FibreChannel · Networking · Storage
← Previous Post: HyTrust Appliance 1.5
Next Post: Connecting Nexus 5000 to Older Gigabit Ethernet Switches →