Zone Configuration of Brocade shows how zoning decides which hosts can talk to which storage in a SAN.
We cover what zoning is, the different types, and how to set up zones on Brocade switches without breaking anything.

Types-of-configuration
  • Members: the WWN (World Wide Name) numbers of HBAs (Host Bus Adapters), disks and storage subsystems get friendly alias names, and these are called members.
  • Zones: a group of members put together is called a zone.
  • Configs: one zone, or a group of zones, makes a config. You can have as many configs as you like, but only one can be enabled at any time.

You can name the members of a zone in two ways: by WWPN or by switch port (domain,index). A zone can also mix the two.

  1. WWPN Zoning
    • Based on the World Wide Port Name (WWPN) of devices.
    • Every HBA and storage port has its own unique WWPN.
    • It’s flexible, because the zoning stays the same even if you move a device to a different port.
    • Type: Hard Zoning
      Example:
      zonecreate “Zone_A”, “20:00:00:25:B5:11:22:33; 10:00:00:90:FA:55:66:77”
  1. Domain, Index Zoning (Port Zoning)
    • Based on physical switch ports, identified by domain ID and port index.
    • It’s tied to the physical layout of the switch.
    • If a device moves to another port, you have to update the zone.
    • Type: Hard Zoning
      Example:
      zonecreate “Zone_B”, “1,2; 1,5”
  1. Mixed Zoning
    • Puts WWPN members and port (domain,index) members in one zone. It isn’t a third kind of zoning, just the two styles together.
    • Brocade advises keeping each zone to one style, because mixing them changes how the switch enforces the zone (see below).
    • Type: Hard Zoning (session-based enforcement on Gen 6 switches)
      Example:
      zonecreate “Zone_C”, “20:00:00:25:B5:11:22:33; 1,5”

There are two kinds of zoning enforcement.

  • Soft Zoning (name server zoning):
    • The name server only tells a host about the devices in its zones.
    • Nothing in the switch hardware blocks the frames, so a host that already knows another device’s address can still reach it.
    • That makes it the less secure kind.
  • Hard Zoning (hardware-enforced):
    • The switch ASIC (Application-Specific Integrated Circuit) checks frames and drops any that don’t match the zone configuration.
    • Devices can only talk if they’re in the same zone, so access control is strict.
    • Brocade does hard zoning in two ways:
      • Frame-based: every frame is checked. You get this on Gen 6 when all members of a zone are named the same way (all WWPN or all domain,index), and on Gen 7 even for mixed zones.
      • Session-based: only the frames that set up a session (ELS frames such as PLOGI) are checked. On Gen 6 this happens when a zone mixes WWPN and domain,index members, or when one port is named by WWPN in one zone and by domain,index in another. On any platform it can also happen when the switch runs out of hardware zoning resources.

Brocade switches enforce zoning in hardware. Keep each zone to one naming style (WWPN aliases are the usual choice) so you stay on frame-based enforcement.

  • Defined Config: holds every zone you’ve created, but it isn’t active.
  • Enabled Config: the configuration that’s actually running in the fabric right now.
  • You can build several configurations, but only one of them can be enabled at a time.
  • Example commands:
    cfgcreate “Config_A”, “Zone_A; Zone_B” cfgenable “Config_A”

    To view available configurations:

cfgshow

To check enabled configurations:

cfgactvshow

Scenario
  • Server WWPN: 10:00:00:25:B5:11:22:33

  • Storage WWPN: 50:06:01:60:3A:E0:45:67

  • Zone Configuration Name: CFG_PROD_SAN


Step 1: Create an Alias for the Server
  • Create the alias when the server is being zoned for the first time.
    alicreate "ALI_SRV_APP01_HBA1","10:00:00:25:B5:11:22:33"

Step 2: Create or Reuse the Storage Alias
  • If the storage alias already exists, reuse it

  • If it does not exist, create it once
    alicreate “ALI_STG_POWERSTORE_P1”,“50:06:01:60:3A:E0:45:67”


Step 3: Create the Zone (Single-Initiator Zoning)
  • zonecreate "ZONE_APP01_TO_POWERSTORE","ALI_SRV_APP01_HBA1;ALI_STG_POWERSTORE_P1"

Step 4: Create or Update the Zone Configuration
  • Option 1: Create a New Configuration (First-Time Setup)
    • Use this only if no configuration exists on the fabric.
      cfgcreate "CFG_PROD_SAN","ZONE_APP01_TO_POWERSTORE"

Option 2: Add the Zone to an Existing Configuration
  • If the configuration already exists, skip cfgcreate and use:
    cfgadd "CFG_PROD_SAN","ZONE_APP01_TO_POWERSTORE"

Step 5: Save the Configuration
  • cfgsave

Step 6: Enable the Configuration
  • cfgenable "CFG_PROD_SAN"

Zoning Completed
  • The server APP01 is now zoned to the storage, and once the host side rescans it can see its LUNs.

Important Notes (Best Practices)
  • ✔ Only one active configuration is allowed per fabric

  • ✔ Always use aliases, never raw WWPNs

  • ✔ Follow single-initiator zoning

  • ✔ Run cfgshow and zoneshow before enabling

  • ✔ Perform zoning during approved maintenance windows

Interview questions

Click a question to open it. Each one is phrased the way an interviewer would ask it, and underneath you’ll find why they ask it and one way to answer in your own words.

Fresher level

1. Can you explain in simple words what zoning is and why we need it?

Why they ask this: Zoning is the SAN task you’ll do most often, and they want to hear that you understand it’s about deciding who can talk to whom.

How you might answer: I think of zoning as a guest list for the SAN. Devices can only see and talk to each other when they’re in the same zone, so a server sees only the storage ports meant for it.

Without zoning, every server would see every storage port, which is a security risk, and one misbehaving server could disturb all the others.

2. What’s the difference between an alias, a zone and a config in Brocade zoning?

Why they ask this: They’re checking that you know the building blocks before you go near a live fabric.

How you might answer: An alias is a friendly name for a WWPN, like ALI_SRV_APP01_HBA1, and a zone groups the aliases that are allowed to talk to each other, say one server HBA and one storage port.

A config is a set of zones. You can define lots of configs, but the fabric only ever has one enabled.

2–5 years experience

3. A server team says they can’t see their new LUN after you zoned their host. What would you check?

Why they ask this: It’s a ticket you’ll see all the time at work, and they want a step-by-step approach that looks at the switch, the array and the host.

How you might answer: I’d start with nsshow to make sure the host and storage WWPNs are logged in, then look at cfgshow to check the zone is in the effective config and not only in the defined one. People often forget cfgenable after cfgadd.

If zoning looks fine, I’d ask the storage team to check LUN masking for the right host WWPN and the server team to rescan the HBA. WWPN typos happen a lot too, so I’d compare them character by character.

4. Walk me through zoning a new server to an existing storage array on Brocade.

Why they ask this: They want the procedure you’d follow on a normal day, the order of the commands and the safety checks along the way.

How you might answer: I’d make an alias for the server HBA with alicreate, reuse the storage alias that’s already there, and build a single-initiator zone with zonecreate. Then I’d add that zone to the existing config with cfgadd rather than cfgcreate.

After that I run cfgsave, check it all with cfgshow and zoneshow, and run cfgenable on the config. Finally I ask the server team to rescan and tell me they can see the storage.

Senior level

5. Your team uses port zoning everywhere. Would you move to WWPN zoning, and how would you do it safely?

Why they ask this: They want you to weigh port zoning against WWPN zoning and describe a careful plan for moving over.

How you might answer: Port zoning breaks as soon as someone moves a cable, while WWPN zoning follows the device, so daily work gets easier. On the other hand, a replaced HBA comes with a new WWPN, and you have to remember to update the alias.

I’d do it one fabric at a time. I’d build the new WWPN-based zones alongside the old ones, enable them, check every host still has its paths and only then remove the old port zones. Fabric B waits until fabric A has been running cleanly for a while.

6. A junior ran cfgenable on the wrong config and several hosts lost storage. How do you respond, and what would you change afterwards?

Why they ask this: They want to see how you handle an incident and how you stop it happening again without blaming anyone.

How you might answer: Getting service back comes first, so I’d enable the correct config again with cfgenable, using the last saved cfgshow or the config backup. Then I’d check with the server teams that all their paths are back.

After that I’d bring in a few rules: a configupload backup before every zoning change, a second person reviewing the commands, and changes on one fabric at a time. I’d also sit with the junior and go through what happened, so they learn from it instead of learning to hide mistakes.

Further reading: Zoning configuration

If you want to go further with zoning configuration, the official reference is here: Broadcom: Brocade Fibre Channel Networking. You can also work through the whole Brocade FC (Fibre Channel) Switches course on SaatVedha, one step at a time.

Scroll to Top

This website uses cookies

We use a few cookies to keep this site working. If you allow it, we also use Google Analytics to count visits so we can improve our lessons. You can accept all, deny the optional ones, or choose what to allow.