In this blog, we will take a look at how to add a new zone to an existing zoneset.
Step 1 – Show vSAN info
sw01# show vsan
vsan 25 information
name:VSAN0025 state:active
interoperability mode:default
loadbalancing:src-id/dst-id/oxid
operational state:up
Step 2 – Show flogi database
sw01# show flogi database
fc1/1 10 0x9c0200 20:00:00:25:B5:08:A0:01
fc1/2 10 0x9c0700 20:00:00:25:B5:08:A0:02
We can add a new server to an existing config as shown below.
Step 3 – Backup Configuration:
sw01# copy running-config startup-config
sw01# copy startup-config scp://user@host1/switch1.config
copy startup-config scp://thomasa@192.168.0.11/home/thomasa
Step 4 – Check the Configuration of ports to see if its connected
sw01# sh run int fc1/2
int fc1/2
switchport description "Unused Port"
port license acquire
Step 5 – Configure the switch port
sw01# config
Enter configuration commands, one per line. End with CNTL/Z.
sw01(config)# int fc1/2
sw01(config)# no shut
sw01(config)# switchport description ** esx20_p1 **
sw01(config)# switchport trunk allowed vsan 25
sw01(config)# switchport trunk mode off
sw01(config)# exit
You can now do either a fabric alias or a device alias procedure as shown.
Step 7 – Define Fabric Aliases procedure
sw01# config
Enter configuration commands, one per line. End with CNTL/Z.
sw01(config)# fcalias name esx20_p1 vsan 21
sw01(config-fcalias)# member pwwn 20:00:00:25:B5:08:A0:01
sw01(config-fcalias)# end
Step 7 – Define Device Aliases
sw01# config
Enter configuration commands, one per line. End with CNTL/Z.
sw01(config)# device alias database
sw01(config-device-alias-db)# device-alias name esx20_p1 pwwn 20:00:00:25:B5:08:A0:01
sw01(config-device-alias-db)# exit
sw01(config-device-alias-db)# exit
Step 8 – Define Zone Names
sw01(config)# zone name sfo1_esx20_eva vsan 21
sw01(config-zone)# member fcalias esx20_p1
sw01(config-zone)# member fcalias hp_eva_A1
sw01(config-zone)# member fcalias hp_eva_A3
sw01(config-zone)# member fcalias hp_eva_B1
sw01(config-zone)# member fcalias hp_eva_B3
sw01(config-zone)#
Step 9 – Add Zone Names to the Zone Set
sw01(config-zone)# zoneset name lab_fab_a vsan 21
sw01(config-zoneset)# member sfo1_esx20_eva
sw01(config-zoneset)# show zoneset
sw01(config)# zoneset activate name lab_fab_a vsan 21
WARNING: The specified zoneset has 1 zone(s) with more members than the recommended limit (50)
sw01(config)# copy running-config startup-config
show zoneset active
[########################################] 100%
Step 10 – Show vSAN membership
sw01# show vsan membership interface fc1/2
fc1/2
vsan:21
allowed list:1-4078,4080-4093
sw01# sh interface fc1/2
fc1/2 is up
Hardware is Fibre Channel, SFP is short wave laser w/o OFC (SN)
Port WWN is 20:00:00:25:B5:08:A0:02
Admin port mode is auto, trunk mode is on
snmp link state traps are enabled
Port mode is F, FCID is 0x9c0700
Port vsan is 21
Speed is 8 Gbps
Useful show commands
Shows the Configuration of switch port
sh run fc1/2
Shows the FCID and vSAN id
sh fcdomain fcid persistent
Shows the Fabric interface brief
show interface br
Shows the Fabric kogin database for a specific wppn
show flogi database | inc '20:00:00:25:B5:08:A0:01'
Displays the long output of all fcalias VSAN 25 configs
show fcalias vsan 25
Check active zoneset
show zoneset active
Checks active zoneset for matches of a specific wwpn
show zoneset active | inc '20:00:00:25:B5:08:A0:01'
Check zonesets for matches of the new servername config
show zoneset | inc 'sfo1_esx20'
Check VSAN 25 for any entries of the specific fcalias
show fcalias name sfo1_esx20 VSAN 25
Show logs show logg last 100 FLOGI database show flogi database
(Visited 94 times, 1 visits today)