How to do zoning in Brocade switch

 


 
Prerequisites for performing zoning in Brocade Fabric

  1. Collect the WWN of the host (server) which you want to zone (Generally, WWPNs will be provided by OS/server administrators )
  2. Get the WWN of the Storage port from the Storage array(Choose the Storage port to which you want to Zone and get the WWN of port )

Once WWPNs are collected, check whether physical connectivity has been done properly or not.

Execute the following command to check physical connectivity.

Switch_Name > nodefind “WWPN”

If the physical connection is proper, it should give output with PID format address of the port.

Now create alias for WWPNs

Switch_Name >alicreate “SERVER_NAME_PORT_NO”,”WWPN”

Verify the created alias

Switch_Name >alishow “SERVER_NAME_PORT_NO”

It shows the alias name with wwn.

Select to which storage port you want to zone.

Switch_Name >zonecreate “SERVER_NAME_PORT_NO_storage_port”,”SERVER_NAME_PORT_NO; storage_port”

Verify created zone

Switch_Name >zoneshow “SERVER_NAME_PORT_NO_storage_port”

Add zone to effective configuration

Switch_Name >cfgadd “cfg_name”, “SERVER_NAME_PORT_NO_storage_port”

Now save the configuration

Switch_Name >cfgsave

To make changes effective enable configuration

Switch_Name >cfgenable “cfg_name”
alicreate “Storagearray_1”,”storage_wwpn_1;storage_wwpn_2;storage_wwpn_3”
alicreate “Storagearray_2”,”storage_wwpn_4;storage_wwpn_5;storage_wwpn_6”
alicreate “sun1hba”,”hbawwpn”
alicreate “sun2hba”,”hbawwpn”
zonecreate “sun1soft”,”Storagearray_1”
zonecreate “sun2soft”,”Storagearray_2”
cfgadd “cfgsoft”,”sun1soft;sun2soft”
cfgsave
cfgenable “cfgsoft”
cfgshow

Note: “cfgsoft “is an active configuration of the switch. Please use cfgactvshow command to check the active configuration.
Looking for Cisco MDS zoning steps? click here

You may also like...