SAN Zoning in Cisco Switch


Create FCalias name for the new HBA WWPN
Switch1(config)# fcalias name <Name/ex:Servername_Hba> vsan <vsanID>
Switch1(config-fcalias)# member pwwn <20:00:00:xx:xx:xx:xx:xx>
Switch1(config-fcalias)# exit
Create new Zone Name (ServerName_hba0-ArrayName_Port) and add members into it:
Switch1(config)# zone name <ServerName_hba-ArrayName_Port> vsan <vsanID>
Switch1(config-zone)# member fcalias <AliasName/ServerName_hba0>
Switch1(config-zone)# member fcalias <AliasName/ArrayName_FAPort>
Switch1(config-zone)# exit
Add zones to zone set:
Switch1(config)# zoneset name <ZoneSetName> vsan <vsanID>
Switch1(config-zoneset)# member <ServerName_hba0-ArrayName_Port>
Switch1(config-zoneset)# member <ServerName_hba1-ArrayName_Port>
Switch1(config-zoneset)# exit

Activate zoneset:
Switch1(config)# zoneset activate name <ZoneSetName> vsan <vsanID>
Commit changes:
Switch1(config)# zone commit vsan <vsanID>
Commit operation initiated. Check zone status
Switch1(config)# exit
Check Zone Status:
Switch1(config)# sh zone status
Check active zone:
Switch1(config)# sh zone active
We can find newly created Zone in this active zone
copy startup-config running-config

1 comment: