About zoning | Cisco SAN switch | Cisco MDS

Cisco SAN Switch | Zoning

Company Profile 

Cisco Systems, Inc. is an American multinational technology company headquartered in San Jose, California, that designs, manufactures, and sells networking equipment.

Cisco is the worldwide leader in networking for the Internet. 85 percent of Internet traffic travel across Cisco's systems and it supports manages and operates business systems for various and major third parties.

Cisco Systems was founded in December 1984 by Leonard Bosack.

From Storage team perspective majorly zoning activity can be performed. It can performed in 6 simple steps, below is the pictorial diagram and then it follows with the commands.


 Grouping of Host HBA WWPN and Storage Front End Ports WWPN to speak each other.
Cisco Zoning Procedure

All the commands should be run in Configuration Mode.

Switch Name # config t   (Configuration terminal)

Switch Name (config) # zone name ABC vsan 2

Switch Name (config – zone) # member pwwn 50:06:01:60:08:60:37:fb

Switch Name (config – zone) # member pwwn 20:00:00:24:ff:0d:fc:fb

Switch Name (config – zone) # exist

Switch Name (config) # zoneset name XYZ vsan 2

Switch Name (config – zoneset) # member ABC

Switch Name (config – zoneset) # exist 

Switch Name (config) # zoneset activate name XYZ vsan 2

General process to implement zoning activity

The Platform team will inform you that they are going to provision a new server in the environment and requests you to give the free port details on the switches which are exists in the data center.

Once you share the information to Platform team, they co-ordinate with the Data center guys to lay the cables between the server and switch. (Already the storage ports or tape library are connected to the switch).

After laying the cables, Platform team will requests you to check the connectivity and they shares the server HBA WWPN to verify with the connected one.

Physical Cabling between Server,Switch and Storage with Single path

Physical Cabling between Server,Switch and Storage with Multipath

To check the fabric login details, by using the command

 Switch # sh flogi database 

The connected server HBA WWPN are listed below, once confirm we have to proceed with the zoning activity, if not check the cable connectivity between the server and switch.

Some useful commands for your reference

To enable the port status

Switch # config t

Switch (config) # interface 1/5

Switch (Config-Int) # no shutdown

To disable the port status

Switch # config t

Switch (config) # interface 1/5

Switch (Config - Int) # shutdown

To see the specific port details

Switch # show interface fc1/1

To see all the ports details

Switch # show interface brief

To see fcid logged in details

Switch # show fcns database

To see environment power details

Switch # show environment power

To see environment temperature

Switch # show environment temperature

To see system health statistics

Switch # show system health statistics

To see the Running Configuration

Switch # show running-config

To see the version of the Switch running

Switch # show version

To see the description of all the ports

Switch # sh interface description

To see the user details

Switch # show users

To see the device-alias details

Switch # show device-alias database

To see the cli command history

Switch # show cli history

show zone and show zoneset Commands
show Command
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 21:00:00:20:37:9c:48:e5
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.

To configure the description for an interface

Step 1 
switch# config t 
Enters configuration mode.
Step 2 
switch(config)#interface fc1/1

Selects a Fibre Channel interface and enters interface configuration submode.
Step 3 
switch(config-if)#switchport description cisco-HBA2
Configures the description of the interface. The string can be up to 80 characters long.
switch(config-if)#no switchport description
Clears the description of the interface.

Share this

Related Posts

Next Post »


January 8, 2016 at 12:08 PM delete

Hello Shaik,

do we have any simulator to practice these zoning concepts?
thanks in advance.

Surendra Aderu