Cisco Zoning

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 3
At a glance
Powered by AI
The key takeaways are how to configure zoning and aliases on Cisco MDS switches to control fabric access between servers and storage. This includes creating aliases for HBAs and storage targets, creating zones with those aliases as members, adding zones to active zonesets, and activating the zoneset.

The steps to create aliases and zones are: 1) Create aliases for HBAs and storage targets. 2) Create zones and add the aliases as members. 3) Exit to save the configuration.

The steps to add a zone to an active zoneset are: 1) Create a zoneset. 2) Add the zone as a member to the zoneset. 3) Exit and save the configuration.

http://slyvonne.blogspot.com/2012/04/cisco-mds-zoning.

html

Cisco MDS Zoning


Create Aliases 1.Conf T 2.Fcalias name [SERVER_NAME_HBAx] vsan [XX] 3.Member pwwn [world wide name] 4.Exit 5.end Create Zones 1.Conf t 2.Zone name [ZNE_SERVER_STORAGE] vsan [XX] 3.Member Fcalias [SERVER_NAME] 4.Member Fcalias [STORAGE_NAME] 5.Exit Add Zone to Active Zoneset 1.Zoneset name set[XX] vsan [XX] 2.Member [ZNE_SERVER_STORAGE] 3.End Activate Zoneset 1.Conf t 2.Zoneset activate name set[XX] vsan [XX]
SAN01# config t Enter configuration commands, one per line. End with CNTL/Z. SAN01(config)# interface fc4/30 SAN01(config-if)# no shutdown SAN01(config-if)# switchport description deploy01 SAN01(config-if)# exit SAN01(config)#

Add the port to a vsan:


SAN01# config t Enter configuration commands, one per line. SAN01(config)# vsan database SAN01(config-vsan-db)# vsan 10 End with CNTL/Z.

SAN01(config-vsan-db)# vsan 10 interface fc4/30 Traffic on fc4/30 may be impacted. Do you want to continue? (y/n) y SAN01(config-vsan-db)# exit SAN01(config)#

Make pwwn alias:


SAN01# config t Enter configuration commands, one per line. End with CNTL/Z. SAN01(config)# fcalias name deploy01 vsan 10 SAN01(config-fcalias)# member pwwn 21:00:00:e0:8b:8f:e9:7e SAN01(config-fcalias)# exit

Create the zone:


SAN01# config t Enter configuration SAN01(config)# zone SAN01(config-zone)# SAN01(config-zone)# SAN01(config-zone)# SAN01(config-zone)# SAN01(config)# exit SAN01# commands, one per line. name deploy01 vsan 10 member fcalias deploy01 member fcalias nsd05-r1 member fcalias nsd05-r2 exit End with CNTL/Z.

View the zone:


SAN01# show zone name deploy01 zone name deploy01 vsan 10 fcalias name nsd05-r1 vsan 10 pwwn 20:14:00:a0:b8:11:33:d0 fcalias name nsd05-r2 vsan 10 pwwn 20:24:00:a0:b8:11:33:d0 fcalias name deploy01 vsan 10 pwwn 21:00:00:e0:8b:8f:e9:7e

Add the zone to a zoneset:


SAN01# config t Enter configuration commands, one per line. End with CNTL/Z. SAN01(config)# zoneset name san01_prod10 vsan 10 SAN01(config-zoneset)# member deploy01 SAN01(config-zoneset)# exit SAN01(config)#

Check the zoneset name. Grab the name from the first line of output from:
SAN01# show zoneset zoneset name san01_prod10 vsan 10

Activate the zoneset


SAN01# config t Enter configuration commands, one per line. End with CNTL/Z. SAN01(config)# zoneset activate name san01_prod10 vsan 10 Zoneset activation initiated. check zone status SAN01(config)# exit SAN01# copy running startup [########################################] 100%

SAN01#

You might also like