New User's Guide to Managing Cisco MDS Zones via CLI
20 October 2009
Toward the end of August 2009, I posted an article on how to configure Cisco MDS zones via the command-line interface (CLI). This article is a follow-up to that article; in this post, I’ll review some commands that are helpful inmanaging
As with the first post, this post probably won’t be very helpful to users who are well-versed with the Cisco MDS family of Fibre Channel switches. Hence, why I’ve tagged it as a “new user’s” post. Similarly, I’m not going into the need for zones, as that is covered amply elsewhere.
fcalias rename
You can also rename zones:
And you can rename zonesets:
zoneset clone
Adding a new alias, zone, or zoneset is similar to modifying an existing alias, zone, or zoneset. For example, to add a new alias to an existing zone, you would use these commands:
Likewise, adding a new zone to an existing zoneset is similar to defining a new zoneset:
include
keyword can be rather handy. Consider this command:
include
keywords acts like a bit like grep
. This makes it much easier to filter out only the zones you want or need to see, instead of having to wade through all the currently defined zones. This is not an MDS-specific trick; it’s also applicable in IOS and NX-OS as well. And it works not only with zones, but also with zonesets, FC aliases, etc.
Cisco MDS experts, feel free to post additional suggestions on managing zones via the CLI in the comments below so that all readers can benefit. Thanks for reading!
Tags: CLI · Cisco · FibreChannel · Networking · Storage
← Previous Post: VMware Lab Manager Design Considerations
Next Post: I/O Virtualization and the Double-Edged Sword →