Zoning in Brocade FC SAN Switch For Beginners
Zoning in Brocade FC SAN Switch For Beginners
Zoning in Brocade FC SAN Switch For Beginners
Why Zone?
Basics of Zoning
Each device in a fiber channel fabric will have a unique Word Wide
Name (WWN). WWN is a unique identifier which is burned into the
hardware. Each vendor gets their own identifier. It is a 64-bit address.
It is similar to an MAC address that you find in a NIC. There are two
types of WWNs,
In the next step we are going to zone HBA1 with Storage Array port 1
and HBA2 with Storage Array port2.
The WWPN that we just noted down is not easy to remember and it is
not easy to type while zoning. To reduce the complexity and to avoid
error we create an “Alias” for each WWPN or a group of WWPN’s. Alias
is a logical group of a single WWPN or a number of WWPN’s.
Step 1: Let’s assign an alias for each WWPN Following is the syntax,
switch:admin> alicreate “HostPort1”,
“10:00:ff:05:1e:4b:d5:30″switch:admin> alicreate “HostPort2”,
“10:00:ff:05:80:00:48:a5″switch:admin> alicreate “StoragePort1”,
“50:01:10:80:00:ad:33:e8″switch:admin> alicreate “StoragePort2”,
“50:02:10:80:00:ac:f5:54″
Step 2: Now we are going to create two zones with two aliases in them
(1 host port and 1 storage port)
switch:admin> zonecreate “zone1”, “HostPort1;
StoragePort1”switch:admin> zonecreate “zone2”, “HostPort2;
StoragePort2”To verify run command, zoneshow “zone1” and so on.
Step 3: Next step is to create a configuration which will hold the zones
that we just created. The following command creates a configuration
named “AppServer” and then adds both zones to it.
switch:admin> cfgcreate "AppServer", "zone1;zone2"
In this post, we will discuss Zoning in the Brocade SAN switch. In addition to the
definition, we will discuss the commands for zoning in the Brocade switch.
Zoning In Brocade SAN Switch
You can also refer to our post on Zoning in Cisco MDS Switch.
Lets first discuss some of the common terminologies that are used in Brocade Zoning.
What is WWPN?
WWPN stands for World Wide Port Name. Each port in the SAN network has a
unique WWPN of a 64-bit address. In SAN network ports are identified by its
WWPN. Below is an example of WWPN
Ex : 10:xx:xx:xx:xx:xx:xx:xx
Alias Name In Brocade SAN Switch is the human-readable name of WWPN. WWPN
is 64-bit addresses and difficult to remember. Hence a storage admin creates an alias
name for WWPN.
Zone in Brocade SAN Switch is nothing but a grouping of alias members. Zoning
basically creates a secure path between two end devices for FC communication. These
members are FC alias name of Host WWPN and Storage Array WWPN.
Active Zone Configuration in SAN Switch consists of active zones. It means if a zone
is part of active zone config then only interaction happens between the zone members.
In a fabric, only one zone config can be in an active state.
Before we start zoning we must collect the necessary information. Below is the
checklist you must collect before doing zoning.
Once we have the above information. Below are the steps we need to perform. These
are the overall steps of zoning in the brocade switch. In the next section, we will about
CLI commands for zoning.
The above step may differ if you have additional features such as Enhanced zoning in
your Storage Area Network.
You can also perform zoning via the command line. You need to use putty to connect
to the SAN switch. Below are steps to perform on CLI to create zoning on the
Brocade SAN switch.
nodefind 10:xx:xx:xx:xx:xx:xx:xx
alicreate “host1_hba1”,”10:xx:xx:xx:xx:xx:xx:xx”
alicreate “storage_hba1”,”50:xx:xx:xx:xx:xx:xx:xx”
Before we add the zone to the active config zone, we have to find it by executing the
below command.
cfgactvshow | more
You can find the active config zone at the top of the output. Once you find it now you
can add the zone into it.
cfgadd “activecfg1”,“zone1”
5. Save the active config zone
cfgsave
cfgenable “activecfg1“
Now a tricky question for you guys. Do some research and let me know your answer
in the comment section.
This document shows how to make a very basic configuration on a fiber switch, based on zoning
and how to set access permissions between the HBA's (Host Bus Adapter) servers and HBA's a
storage array. This example is based on an executed configuration for VMware ESX
environment, four servers have two HBAs each against a cabin that also has two cards. All this
will be joined by two switches, each HBA in each server to a switch (logically).
In this drawing looks more or less the environment set, well targeted is essential to have the
Node Name or World Wide Node Name (WWNN) and Port Number o World Wide Port Number
(WWPN) each of the adapter, since it is totally necessary to distinguish who is who
I said, WWPN and WWNN the aim of each server and cabin, to set up zoning on the Fiber
switch, With this get secure our environment, restrict interference and easier and understandable
administration in the future. Not to be confused with cabin level assignments on a LUN, which it
is similar or the same function, but combining both configurations will obtain the best
configuration for a SAN environment. Good, how in this scheme I have two switches, all the
settings you have on a switch have to perform on the other, but with different data (WWPN,
WWNN, Name (s, alias…)
We connect the switch to a browser, will have set before you an IP address for console or
directly in the manufacturer's manual will tell us what your IP default
We introduce the user and password connection, switch my default userid and password. “OK”,
This would be the configuration console, where we see the switch, ports used, their status and
other settings. click on “Switch Admin” for a couple of basic settings,
How is rename the switch or change the IP address, firmware update you and have all the
switches with the same version, get more licenses or change the user's password USERID or
create more users for management. All this we will do the tabs “Switch”, “Network”, “Firmware
Download”, “License” or “User”. We make the changes we are interested in and click “Apply”,
Any changes we make will notify us and we have to record, To do this because we confirmed,
For example, there are certain ports that we still need, are disabled by default, in this case is a
switch of a BladeCenter and external ports have them disabled, so we enable those who interests
us, right click “Persistent Enable”. In this case you do not see any server that is connected to any
port (or internal) That's because they are not charged directly drivers of the HBA or S.O. to lift
the connection, or directly is not wired! XD
We say yes to enable the port that interests us, which in this case is where I will connect my
cabin,
When enabled and I acknowledge that the harbor is 'Online', which it is the type Fabric Port…
we close.
And the main configuration is in “Zone Admin”, where we set the switch areas, that is, which
devices can see what devices.
Tab “Alias” we all devices connected to our switch, in my case are four servers with Qlogic
HBA, the other four are logically Qlogic HBA's on the other switch; and another storage array.
Here you have to configure that, the alias of the HBA's, to make it easier to understand the areas
to be set.
So first click on “New Alias”,
Indicate the name / alias that will help us understand what we are talking HBA, in my case
having an IBM N3300, with two controllers (UP and DOWN for me) the controller called 0a, as
my alias is N3300_DOWN_0a (for example) we give “OK”,
Select said HBA, we give “Add Member >>”
Ready, we have that alias with that member.
And now have to perform the same task with so many HBA's have, “New Alias”,
Indicate a zone name, in this case I will call ZONA_ESX01, and allow traffic between the HBA
server ESX01 cabin and storage. “OK”,
So aliases, ESX01 selected alias alias server and storage array & “Add Member >>”,
After setting this area, we set up the other areas that interest us, this is, all flows of interest we
have, in this environment logically only be traffic / access between each ESX server with cabin,
but not between servers ESX. So we keep setting areas, “New Zone”,
Indicate a name global configuration, in my case the name of the switch “CONFIG_SW10” (or
the most appropriate Believe), “OK”,
We select the areas that we have created and added as members of this configuration, “Add
Member >>”,
Store all settings from “Save Config”,
And ale, we would have our well switch configured to control access.
If we go to “Port Admin” We see the port status,
And now that I have raised all teams are if they are complimentary or not, and other useful
information.