How to do zoning in Cisco MDS SAN switches
Pre-requisites to do zoning in Cisco Fabric
- Collect the VSAN ID details and identify VSAN
- Collect active zoneset in VSAN.
(sh zoneset active| inc zoneset)
- Collect WWPN details of the host.
- Collect WWPN or alias names of storage ports to zone
- Collect fcalias details if you use fcalias database
Take a backup of the existing configuration
Log in to the management host where you want to keep the configuration backup.
ssh admin@Switch_IP/switch_name 'copy run start' ssh admin@Switch_IP/switch_name 'show flogi database' > ssw01_flogi_da_21032021 ssh admin@Switch_IP/switch_name 'show device-alias database' > ssw01_device_da_21032021 ssh admin@Switch_IP/switch_name 'show dpvm database' > ssw01_dpvm_da_21032021 ssh admin@Switch_IP/switch_name 'show fcalias' > ssw01_fcalias_21032021 ssh admin@Switch_IP/switch_name 'show running-config’> ssw01_run_21032021
Zoning
configure terminal device-alias database device-alias name HOST_NAME pwwn 21:00:00:00:00:00:00:00 exit device-alias commit configure terminal zone name ZONE_NAME vsan VSAN_ID member fcalias STORAGE_PORT_FCALIAS member device-alias HOST_NAME show zone pending-diff zoneset name ZONESET_NAME vsan VSAN_ID member ZONE_NAME zoneset activate name ZONESET_NAME vsan VSAN_ID show zone pending-diff zone commit vsan VSAN_ID show zone pending-diff exit copy running-config startup-config
Verify Zoning
show zone member pwwn HOST_WWPN
Looking for brocade switches zoning steps? click here