Thursday, May 2, 2013

Zoning Configuration of Cisco Nexus 5000 Switches

 SAN-Zoning Configuration using Cisco NEXUS 5k Switch



for example pwwn # is 10:00:00:00:c9:62:82:36

fcid 0x01002e  get the id from show flogi database

fcalis name is sql02_hba2_p0
zonename ql02_hba2_p0_VMAX_4634_10E0
vsan database# 212

vsan 212 wwn 10:00:00:00:c9:62:82:36 fcid 0x01002d dynamic
fcalias name sql02_hba2_p0 vsan 212
    member pwwn 10:00:00:00:c9:62:82:76

zone name sql02_hba2_p0_VMAX_4634_10E0 vsan 212
   
    member fcalias vmbkp02_hba2_p0

zone name sqlp02_hba2_p0_TLB01_TAPE2 vsan 212
   
    member fcalias sqlp02_hba2_p0
zoneset name Zoneset_B_01242012 vsan 212


The procedure is
  • create zone
  • add members to zone
  • create zoneset
  • add multiple zones to a zoneset
  • activate the zone set
  • save the config


conf t

switch(config)# zone name sql02_hba2_p0_VMAX_4634_10E0 vsan 212
sswitch(config-zone)# member pwwn 10:00:00:00:c9:62:82:36
 switch(config-zone)# member fcid 0x01002e

(fcalias can be called accounting for easy undestanding)
switch(config-zone)# member fcalias sql02_hba2_p0

create ZONE set

conf t

switch(config)# zoneset name Zoneset_B_01242012 vsan 212
witch(config-zoneset)# member sql02_hba2_p0_VMAX_4634_10E0

(If the specified zone name was not previously configured,
 this command will return the Zone not present error message)


switch(config-zoneset)# zone name sqlp02_hba2_p0_TLB01_TAPE2 


Activate a Zone set

switch(config)# zoneset activate name zoneset_B_01242012 vsan 212



DISPLAY ZONE CONFIG


show zone vsan 212
show zoneset vsan 212
show zone member pwwn #
show zone active
 show zone status

it is better to have single Zoneset and several zones assigned to it.



1 comment:

  1. Hi Parashu,

    I'm interested with this info, however this post was exactly match with my setting but the host still not able to find the storage...I'm currently using nx5k with connection to Hitachi HUS 130 and Dell blade for ESX host connection. Do you have any idea?any other setting need to configure?

    ReplyDelete

Turn off pop notifications in chrome browser from major news outlets

 On Chrome browser, go to settings select privacy and security select site settings select Java Script Select Don't allow sites to use J...