0% found this document useful (0 votes)
218 views3 pages

MDS Series Switch Zoning Via CLI

This document discusses configuring zoning on MDS series switches via the CLI. It describes creating aliases, zone sets, and zones. Zone sets contain one or more zones and define which devices can access each other. The steps provided show how to configure aliases, add zones to a zone set, add members to zones, and activate the zone set. The "show" commands for displaying various zoning configurations are also listed.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
218 views3 pages

MDS Series Switch Zoning Via CLI

This document discusses configuring zoning on MDS series switches via the CLI. It describes creating aliases, zone sets, and zones. Zone sets contain one or more zones and define which devices can access each other. The steps provided show how to configure aliases, add zones to a zone set, add members to zones, and activate the zone set. The "show" commands for displaying various zoning configurations are also listed.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

3/26/2019 Piyush's Blog: MDS Series Switch Zoning via CLI

Piyush's Blog
About me EMC Isilon XtremIO VMAX Scripting CISCO Brocade NetApp Miscellaneous

FRIDAY, MARCH 13, 2015

MDS Series Switch Zoning via CLI

Zones are configured within VSANs. The Logical tab displays the VSANs configured in the currently discovered fabric.
Note: zone information must always be identical for all the switches in the network fabric.

To configure a zone and assign a zone name, follow these steps:

Configuring an Alias

To create an alias using the fcalias command, follow these steps:

Command Purpose

Step 1 switch# config t Enters configuration mode.

Step 2 switch(config)# fcalias name Alias_Sample vsan 3 Configures an alias name (Alias_Sample).
switch-config-fcalias#

Step 3 switch-config-fcalias# member pwwn xx:xx:xx:xx:xx:xx:xx:xx Configures alias members based on the specified port WWN type and value (pWWN xx:xx:xx:xx:xx:xx:xx:xx).

CREATING ZONE SETS


A zone set consists of one or more zones. A zone can be a member of more than one zone set and consists of multiple zone members. Members in a zone can access each other; members in differen
zones cannot access each other. Devices can belong to more than one zone.
A zone set can be activated or deactivated as a single entity across all switches in the fabric. Only one zone set can be activated at any time. If zoning is not activated, all devices are members of the d
zone. If zoning is activated, any device that is not in an active zone (a zone that is part of an active zone set) is a member of the default zone.
Zoning can be administered from any switch in the fabric. When you activate a zone (from any switch), all switches in the fabric receive the active zone set. Additionally, full zone sets are distributed to
switches in the fabric, if this feature is enabled in the source switch.

Command Purpose
switch# config t Enters configuration mode.
Step 1

switch(config)# zoneset name Zoneset1 vsan 3 Configures a zone set called Zoneset1.
Step 2 switch(config-zoneset)#

switch(config-zoneset)# member Zone1 Adds Zone1 as a member of the specified zone set (Zoneset1).
Step 3

switch(config-zoneset)# zone name Adds a zone (first-new-zone) to the specified zone set (Zoneset1).
Step 4 first-new-zone

switch(config-zoneset-zone)#

switch(config-zoneset-zone)# member fcid xxxxxxxxxx Adds a new member (FC ID xxxxxxxxxx) to the newly created zone (first-new-zone).
Step 5 switch(config-zoneset-zone)#

Activating a Zone Set

Changes to a zone set do not take effect to a full zone set until you activate it.

To activate a zone set, follow these steps:

Command Purpose
switch# config t Enters configuration mode.
Step 1 switch(config)#

switch(config)# zoneset activate name Zoneset1 vsan 3 Activates the specified zone set.

storageteknologi.blogspot.com/2015/03/mds-series-switch-zoning-via-cli.html 1/3
3/26/2019 Piyush's Blog: MDS Series Switch Zoning via CLI
Step 2 switch(config)# no zoneset activate name Zoneset1 vsan 3 Deactivates the specified zone set

show zone and show zoneset Commands

show Command Description

show zone Displays zone information for all VSANs.

show zone vsan 1 Displays zone information for a specific VSAN.

show zoneset vsan 1 Displays information for the configured zone set.

show zoneset vsan 2-3 Displays configured zone set information for a range of VSANs.

show zone name Zone1 Displays members of a zone.

show fcalias vsan 1 Displays fcalias configuration.

show zone member pwwn xx:xx:xx:xx:xx:xx:xx:xx Displays membership status.

show zone statistics Displays zone statistics.

show zone statistics read-only-zoning Displays read-only zoning statistics.

show zoneset active Displays active zone sets.

show zoneset brief Displays brief descriptions of zone sets.

show zone active Displays active zones.

show zone status Displays zone status.

show zone Displays zone statistics.

show running Displays the interface-based zones.

Posted by piyush chawla at 11:30 AM

Labels: Cheat Sheet, CISCO MDS, CLI

No comments:

Post a Comment

Enter your comment...

Comment as: Google Accoun

Publish Preview

Newer Post Home Older

Subscribe to: Post Comments (Atom)

storageteknologi.blogspot.com/2015/03/mds-series-switch-zoning-via-cli.html 2/3
3/26/2019 Piyush's Blog: MDS Series Switch Zoning via CLI
Picture Window theme. Powered by Blogger.

storageteknologi.blogspot.com/2015/03/mds-series-switch-zoning-via-cli.html 3/3

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy