You are on page 1of 39

2003 Brocade Communications Systems, Incorporated.

Revision CFP261-1001-2003
Chapter 4 - 1
1
Zoning
Brocade



Product Training
Brocade Education Services
2003 Brocade Communications Systems,
Incorporated.
2003 Brocade Communications Systems, Incorporated.
Revision CFP261-1001-2003
Chapter 4 - 2
2
Overview of Zoning
Why use Brocade Zoning
What is a Zone
Components
Zone Management
Fabric OS Commands for Zoning
Zoning Considerations

Learning Objectives
2003 Brocade Communications Systems, Incorporated.
Revision CFP261-1001-2003
Chapter 4 - 3
3
Overview of Zoning
Creating virtual SANs from a
physical SAN
Limiting the scope of initiators
Heterogeneity
Application role
Carving up hubs
Security

Hardware Enforcement
Frame Filter
Software Enforcement
Name Server
Trap PLOGI
Zone Type LOOM
ASIC
BLOOM
ASIC
<domain,port> Hardware
Enforced
Hardware
Enforced

WWN Software
Enforced
Hardware
Enforced

MIXED Software
Enforced

Software
Enforced

2003 Brocade Communications Systems, Incorporated.
Revision CFP261-1001-2003
Chapter 4 - 4
4
Example
The server in the red zone sees one loop of disks
The server in the blue zone sees two storage arrays
The server in the green zone sees one loop and one array
No server sees Loop 2
2003 Brocade Communications Systems, Incorporated.
Revision CFP261-1001-2003
Chapter 4 - 5
5
Forms of Zoning
No Fabric Zoning

Zoning by application

Zoning by operating system
2003 Brocade Communications Systems, Incorporated.
Revision CFP261-1001-2003
Chapter 4 - 6
6
Forms of Zoning (cont).
Zoning by port allocation

Zoning by single HBA


2003 Brocade Communications Systems, Incorporated.
Revision CFP261-1001-2003
Chapter 4 - 7
7
Storage Provisioning
Host Level
LUN Masking
Persistent Binding
Selective Presentation

Storage Based Zoning
LUN Security

Fabric Based Zoning
Host will query Name Server
Name Server determines zones the host belongs to
Name server replies with node information of active devices
Host will connect to device

2003 Brocade Communications Systems, Incorporated.
Revision CFP261-1001-2003
Chapter 4 - 8
8
Zone Enforcement Tradeoffs
Hardware Enforced Frame Level
Easy to define
Cannot be bypassed or defeated (more secure)
Devices in a zone that are all specified by WWN can be
moved anywhere in the Fabric without changing zone
definition
If a failed device is replaced, zone definition needs to change
if WWN was specified
If a switch is replaced, the new switch will need same
domain #
Software Enforced Session Level
Devices specified by WWN and are part of a Mixed Zone
specification (Port and WWN) can be moved anywhere in
the Fabric without changing the zone definition
If a failed device is replaced, zone definition needs to change
if WWN was specified

Design Considerations
2003 Brocade Communications Systems, Incorporated.
Revision CFP261-1001-2003
Chapter 4 - 9
9
Design Considerations (contd)


When hardware zone enforcement is desired, ensure the following:

Avoid defining a device which is hardware enforced in one zone and
software enforced in another

When a zone spans mixed generation ASICs, specify devices by port

When specifying devices by WWN in a zone, ensure that all devices are
attached to a 3
rd
generation ASIC


2003 Brocade Communications Systems, Incorporated.
Revision CFP261-1001-2003
Chapter 4 - 10
10
Preparing to Set up Zoning
Create a detailed diagram
ISLs to the switches
Detailed diagram of every switch
F_Port, FL_Port, Private HBAs


2003 Brocade Communications Systems, Incorporated.
Revision CFP261-1001-2003
Chapter 4 - 11
11
Hierarchy of Components
Members
Configs
Zones
2003 Brocade Communications Systems, Incorporated.
Revision CFP261-1001-2003
Chapter 4 - 12
12
Zone Management
Zoning can be managed using
WEB TOOLS
Fabric Manager
Command Line Interface (CLI)


Create Delete Add Remove Show
Alias
aliCreate aliDelete aliAdd aliRemove aliShow
Zone
zoneCreate zoneDelete zoneAdd zoneRemove ZoneShow
Config
cfgCreate cfgDelete cfgAdd cfgRemove cfgShow


Fabric OS Management Commands
Zoning has more commands:
cfgEnable, cfgDisable, cfgSave, cfgClear,cfgTransAbort,cfgSize
2003 Brocade Communications Systems, Incorporated.
Revision CFP261-1001-2003
Chapter 4 - 13
13
Zoning Configuration
Effective Zone Configuration
Seen with cfgShow
Seen with switchShow
Saved across reboots
Effective config of none
Zone config not enabled
All hosts may see all

Enabling Zone Config
cfgEnable
Never disable one to enable another
Enable one configuration over another

RSL_SWT153:admin> switchshow
switchName: RSL_SWT153
switchType: 9.1
switchState: Online
switchMode: Native
switchRole: Subordinate
switchDomain: 1
switchId: fffc01
switchWwn: 10:00:00:60:69:50:0d:d6
switchBeacon: OFF
Zoning: ON (Main_cfgA)
RSL_SWT153:admin> cfgshow
Effective configuration:
cfg: Main_cfgA
zone: domain129_zone
10:00:00:00:c9:2b:50:c7
10:00:00:00:c9:2a:b4:54
10:00:00:00:c9:2d:13:c3
Only one active zone configuration for the entire fabric
Zone configuration has 1 or more zones as its members
2003 Brocade Communications Systems, Incorporated.
Revision CFP261-1001-2003
Chapter 4 - 14
14
Zoning Enforcement
Hard Zoning: Hardware enforced
Available through ASIC hardware logic checking
Provides security in addition to soft zoning
Denies illegal access from bad citizen HBAs

Soft Zoning: Name Server enforced
Name Server restricts visibility
Always available regardless if zoning is enabled or not
Relies on good citizens for security

Zone Definitions:
<domain, port> or <domain, area> identifier
WWN identifier
Mixed Zone
Overlapping Zone
Broadcast Zone

2003 Brocade Communications Systems, Incorporated.
Revision CFP261-1001-2003
Chapter 4 - 15
15
Zoning Implementations on SilkWorm switches
SilkWorm 2000 series

SilkWorm 3000 and 12000 series switches

SilkWorm 2000, 3000 and 12000 series switches
2003 Brocade Communications Systems, Incorporated.
Revision CFP261-1001-2003
Chapter 4 - 16
16
Zoning Schemes
Switch/Port Level Zoning: Hardware Enforced
zoneCreate z1, 1,3; 1,4
WWN Level Zoning : Hardware Enforced
zoneCreate z2, WWN1; WWN2
Mixed Zoning : Software Enforced
zoneCreate z3,1,5; WWN3

In this example, the Mixed Zoning would be software
enforced at the destination port.



2003 Brocade Communications Systems, Incorporated.
Revision CFP261-1001-2003
Chapter 4 - 17
17
Zone Objects
Zone Objects
<domain,port>
Up to 64 characters
Aliases
Node World Wide Name Includes all PWWN that share NWWN
Port World Wide Name Only single port is in the zone
Zone Aliases Up to 64 characters
Friendly names conventions for zone objects
SRV for Server SRV_SUNHOST1
STO for Storage STO_ENTPRISE_STORAGE
TPE for Tape TPE_TAPE_DRIVE1
VRA for Virtual Appliance VRA_VIT_APPLIANCE

2003 Brocade Communications Systems, Incorporated.
Revision CFP261-1001-2003
Chapter 4 - 18
18
Selecting Ports on a 12000
Ports on 12000 are often referred to as decimal area
Zoning in v4.1 requires area numbers
Area numbers distinguish ports on different logical slots


Port Slot 1 Slot 2 Slot 3 Slot 4 Slot 7 Slot 8 Slot 9 Slot 10
==== ====== ====== ====== ====== ====== ====== ====== =======
15 15 31 47 63 15 31 47 63
14 14 30 46 62 14 30 46 62
13 13 29 45 61 13 29 45 61
12 12 28 44 60 12 28 44 60
11 11 27 43 59 11 27 43 59
10 10 26 42 58 10 26 42 58
9 9 25 41 57 9 25 41 57
8 8 24 40 56 8 24 40 56
7 7 23 39 55 7 23 39 55
6 6 22 38 54 6 22 38 54
5 5 21 37 53 5 21 37 53
4 4 20 36 52 4 20 36 52
3 3 19 35 51 3 19 35 51
2 2 18 34 50 2 18 34 50
1 1 17 33 49 1 17 33 49
0 0 16 32 48 0 16 32 48
SWITCH 0 SWITCH 1
2003 Brocade Communications Systems, Incorporated.
Revision CFP261-1001-2003
Chapter 4 - 19
19
Zoning Steps for a One-Switch Fabric
EngHost
MktHost
3 Switch 1
9
7
s3
s2
s1
s4
s5
1. Plan zoning to meet objectives
2. Create Members
>aliCreate EngHost1,1,3
>aliCreate EngStor,s1wwn;s2wwn
>aliCreate Mkt,1,9;s5wwn;s4wwn;s3wwn
3. Create Zones
>zoneCreateZoneEng,EngHost1;EngStor
>zoneCreate ZoneMkt,Mkt
4. Create Configuration
>cfgCreate cfgEngMkt,ZoneEng;ZoneMkt
5. Enable Configuration
>cfgEnable cfgEngMkt
6. Save Configuration
>cfgSave
2003 Brocade Communications Systems, Incorporated.
Revision CFP261-1001-2003
Chapter 4 - 20
20
cfgShow Output
EngHost
MktHost
3 Switch 1
7
s3
s2
s1
s4
s5
SW1:admin> cfgShow
Defined configuration:
cfg: cfgEngMkt
ZoneEng; ZoneMkt
zone: ZoneEng EngHost; EngStor;
zone: ZoneMkt Mkt
alias: EngStor 21:00:00:20:37:87:48:e7;
21:00:00:20:37:87:23:e2
alias: EngHost 1,3
alias: Mkt 21:00:00:20:37:87:49:29;
21:00:00:20:37:87:e5:20; 1,9;
21:00:00:20:37:87:20:c5

Effective configuration:
cfg: cfgEngMkt
zone: ZoneEng 1,3;
21:00:00:20:37:87:23:e2;
21:00:00:20:37:87:48:e7;
zone: ZoneMkt 1,9;
21:00:00:20:37:87:e5:20;
21:00:00:20:37:87:49:29;
21:00:00:20:37:87:20:c5
9
2003 Brocade Communications Systems, Incorporated.
Revision CFP261-1001-2003
Chapter 4 - 21
21
portZoneShow Command
Used to determine the type of zone enforcement being used

RSL_SWT122:admin> portzoneshow
PORT: 0 Enforcement: HARD PORT defaultHard: 1 F-port: 1
PORT: 1 Enforcement: HARD PORT defaultHard: 1 F-port: 1
PORT: 2 Enforcement: HARD WWN defaultHard: 0 F-port: 1
PORT: 3 Not Zoned
PORT: 4 Enforcement: E-Port defaultHard: 0 F-port: 0
PORT: 5 Enforcement: E-Port defaultHard: 0 F-port: 0
PORT: 6 Enforcement: E-Port defaultHard: 0 F-port: 0
PORT: 7 Enforcement: E-Port defaultHard: 0 F-port: 0
PORT: 8 Enforcement: E-Port defaultHard: 0 F-port: 0
[* Output Truncated *]
PORT: 31 Not Zoned

2003 Brocade Communications Systems, Incorporated.
Revision CFP261-1001-2003
Chapter 4 - 22
22
WWN1
GREEN
Zone
BLUE
Zone
Hardware Enforced
Zoning
Dom, Port
2,9
Dom, Port
2,8
RED
Zone
Software Enforced
Zoning
Dom, Port
2,0
WWN3
PURPLE
Zone
WWN1
WWN2
Dom, Port
2,6
Dom, Port
2,7
0 1 2 3 4 5 6 7
8 9 10 11 12 13 14 15
Domain #2
Hardware & Software Zoning
2003 Brocade Communications Systems, Incorporated.
Revision CFP261-1001-2003
Chapter 4 - 23
23
Red Zone
Red_Zone 4,1;WWN3

;Red_Zone
Software
Enforced
Software
Enforced
Purple Zone
Enabled Fabric Zoning

Prod_Daily Purple_Zone
Purple_Zone WWN1;WWN2
Hardware
Enforced
Hardware
Enforced
FCAL Zoning
WWN2
0 1 2 3 4 5 6 7
8 9 10 11 12 13 14 15
Domain 4
Quad Quad
Quad Quad
WWN1
FCAL
4,1
WWN3
2003 Brocade Communications Systems, Incorporated.
Revision CFP261-1001-2003
Chapter 4 - 24
24
Software
Enforced
;Green_Zone
Green_Zone 4,4; WWN2
Green
Zone
Software
Enforced
4,4
Hardware
Enforced
Hardware
Enforced
Purple
Zone


Prod_Daily Purple_Zone

Purple_Zone WWN1; WWN2

Overlapping Zones, Port Hardware/Software Enforced
WWN1
Quad Quad
Quad Quad
WWN2
4,4
0 1 2 3 4 5 6 7
8 9 10 11 12 13 14 15
Enabled Zoning
Domain 4
2003 Brocade Communications Systems, Incorporated.
Revision CFP261-1001-2003
Chapter 4 - 25
25
Zones and Mixed Generation ASICs
What happens when you zone across mixed generations of ASICs?

WWN zoning specification across ASICs

Port specification across ASICs

Mix of WWN and port across ASICs

2003 Brocade Communications Systems, Incorporated.
Revision CFP261-1001-2003
Chapter 4 - 26
26
Purple
Zone
Hardware
Enforced
Software
Enforced
Green
Zone
Hardware
Enforced
Hardware
Enforced
Blue
Zone
Software
Enforced
Software
Enforced
Red
Zone
Hardware
Enforced
Software
Enforced
Zoning in a Mixed Generation ASIC Environment
0 1 2 3 4 5 6 7
8 9 10 11 12 13 14 15
Domain #9
0 1 2 3 4 5 6 7
8 9 10 11 12 13 14 15
Domain #2
WWN2
0 1 2 3 4 5 6 7
8 9 10 11 12 13 14 15
Domain #4
0 1 2 3 4 5 6 7
8 9 10 11 12 13 14 15
Domain #5
0 1 2 3 4 5 6 7
8 9 10 11 12 13 14 15
Domain #6
0 1 2 3 4 5 6 7
8 9 10 11 12 13 14 15
Domain #7
Dom 9,15
0 1 2 3 4 5 6 7
8 9 10 11 12 13 14 15
Domain #3
0 1 2 3 4 5 6 7
8 9 10 11 12 13 14 15
Domain #8
WWN5 Dom 8,4
Dom 8,8
WWN3
BLOOM BLOOM BLOOM
LOOM BLOOM LOOM
BLOOM BLOOM
WWN1
Dom 4,7
2
nd
and 3
rd
generation ASICs
2003 Brocade Communications Systems, Incorporated.
Revision CFP261-1001-2003
Chapter 4 - 27
27
Adding/Merging Zones
Adding a new switch to a existing Fabric
No previous zoning on switch
ISL to existing fabric
With zoning loaded on switch
cfgClear and cfgSave commands to sanitize joining switch
When added, the zoning configuration in effect will propagate to the
new switch transparently
Merging two switches/Fabric
Case 1 - Identical zone configuration on both switches/Fabrics
New Fabric with all switches and same zone configuration in effect
Case 2 - Different zone configuration
Attempt to merge zone configurations
If merging attempt fails, then ISL will segment and split a Fabric
If the zone merge fails, the Fabrics will remain two separate Fabrics with
their original zone configuration, and the ISL will segment

2003 Brocade Communications Systems, Incorporated.
Revision CFP261-1001-2003
Chapter 4 - 28
28
Flash
Memory

CONFIGURATION
DEFINITIONS

ENABLED
CONFIGURATION

SDRAM
SilkWorm
Flash
Memory

CONFIGURATION
DEFINITIONS

cfgEngMkt
ZoneEng
ZoneMkt

ENABLED
CONFIGURATION

cfgEngMkt
ZoneEng
ZoneMkt

SDRAM
SilkWorm
Switch
Domain
1

Switch
Domain
2

Brocade Zoning
Adding a new switch with no zoning - cfgShow
2003 Brocade Communications Systems, Incorporated.
Revision CFP261-1001-2003
Chapter 4 - 29
29
Flash
Memory
SDRAM
SilkWorm
Flash
Memory

CONFIGURATION
DEFINITIONS

cfgEngMkt
ZoneEng
ZoneMkt

SDRAM
SilkWorm
Switch
Domain
1

Switch
Domain
2

ISL
ENABLED
CONFIGURATION

cfgEngMkt
ZoneEng
ZoneMkt

Brocade Zoning
Current cfg Propagates to New Switch

CONFIGURATION
DEFINITIONS

cfgEngMkt
ZoneEng
ZoneMkt



ENABLED
CONFIGURATION

cfgEngMkt
ZoneEng
ZoneMkt
Propagate Definitions
2003 Brocade Communications Systems, Incorporated.
Revision CFP261-1001-2003
Chapter 4 - 30
30
Flash
Memory

CONFIGURATION
DEFINITIONS

test_cfg
testnt_zone
testsun_zone

ENABLED
CONFIGURATION





SDRAM
SilkWorm
Flash
Memory

CONFIGURATION
DEFINITIONS

cfgEngMkt
ZoneEng
ZoneMkt

ENABLED
CONFIGURATION

cfgEngMkt
ZoneEng
ZoneMkt

SDRAM
SilkWorm
Switch
Domain
1

Switch
Domain
2

Brocade Zoning
Merging Configurations
2003 Brocade Communications Systems, Incorporated.
Revision CFP261-1001-2003
Chapter 4 - 31
31
Flash
Memory

CONFIGURATION
DEFINITIONS

test_cfg
testnt_zone
testsun_zone


ENABLED
CONFIGURATION

test_cfg
testnt_zone
testsun_zone


SDRAM
SilkWorm
Flash
Memory

CONFIGURATION
DEFINITIONS

cfgEngMkt
ZoneEng
ZoneMkt

ENABLED
CONFIGURATION

cfgEngMkt
ZoneEng
ZoneMkt

SDRAM
SilkWorm
Switch
Domain
1

Switch
Domain
2

Brocade Zoning
Merging Configurations >cfgenable test_cfg
2003 Brocade Communications Systems, Incorporated.
Revision CFP261-1001-2003
Chapter 4 - 32
32
Flash
Memory

CONFIGURATION
DEFINITIONS

test_cfg
testnt_zone
testsun_zone


ENABLED
CONFIGURATION

test_cfg
testnt_zone
testsun_zone

SDRAM
SilkWorm
Flash
Memory

CONFIGURATION
DEFINITIONS

cfgEngMkt
ZoneEng
ZoneMkt

ENABLED
CONFIGURATION

cfgEngMkt
ZoneEng
ZoneMkt

SDRAM
SilkWorm
Switch
Domain
1

Switch
Domain
2

ISL
Brocade Zoning
Merging Zone Conflict ISL the Fabrics
Fabric Segmented
2003 Brocade Communications Systems, Incorporated.
Revision CFP261-1001-2003
Chapter 4 - 33
33
Flash
Memory

CONFIGURATION
DEFINITIONS

test_cfg
testnt_zone
testsun_zone



ENABLED
CONFIGURATION

SDRAM
SilkWorm
Flash
Memory

CONFIGURATION
DEFINITIONS

cfgEngMkt
ZoneEng
ZoneMkt

SDRAM
SilkWorm
Switch
Domain
1

Switch
Domain
2

ISL
ENABLED
CONFIGURATION

cfgEngMkt
ZoneEng
ZoneMkt

ISL
Brocade Zoning
Merging Fix
>portDisable <E_Port#>
>cfgDisable
>portEnable <E_Port#>
2003 Brocade Communications Systems, Incorporated.
Revision CFP261-1001-2003
Chapter 4 - 34
34
Flash
Memory

CONFIGURATION
DEFINITIONS

cfgEngMkt
ZoneEng
ZoneMkt
test_cfg
testnt_zone
testsun_zone



ENABLED
CONFIGURATION

cfgEngMkt
ZoneEng
ZoneMkt
SDRAM
SilkWorm
Flash
Memory

CONFIGURATION
DEFINITIONS

cfgEngMkt
ZoneEng
ZoneMkt
test_cfg
testnt_zone
testsun_zone


SDRAM
SilkWorm
Switch
Domain
1

Switch
Domain
2

ISL
ENABLED
CONFIGURATION

cfgEngMkt
ZoneEng
ZoneMkt

Merge Definitions
Brocade Zoning
Merging Problem Now Resolved
2003 Brocade Communications Systems, Incorporated.
Revision CFP261-1001-2003
Chapter 4 - 35
35
Flash
Memory

CONFIGURATION
DEFINITIONS

cfgAll
ZoneEng
ZoneMkt
testnt_zone
testsun_zone



ENABLED
CONFIGURATION

cfgEngMkt
ZoneEng
ZoneMkt
SDRAM
SilkWorm
Flash
Memory

CONFIGURATION
DEFINITIONS

cfgAll
ZoneEng
ZoneMkt
testnt_zone
testsun_zone



SDRAM
SilkWorm
Switch
Domain
1

Switch
Domain
2

ISL
ENABLED
CONFIGURATION

cfgEngMkt
ZoneEng
ZoneMkt

Brocade Zoning
Merging Update definitions
2003 Brocade Communications Systems, Incorporated.
Revision CFP261-1001-2003
Chapter 4 - 36
36
Flash
Memory

CONFIGURATION
DEFINITIONS

cfgAll
ZoneEng
ZoneMkt
testnt_zone
testsun_zone



ENABLED
CONFIGURATION

cfgAll
ZoneEng
ZoneMkt
testnt_zone
testsun_zone
SDRAM
SilkWorm
Flash
Memory

CONFIGURATION
DEFINITIONS

cfgAll
ZoneEng
ZoneMkt
testnt_zone
testsun_zone



SDRAM
SilkWorm
Switch
Domain
1

Switch
Domain
2

ISL
ENABLED
CONFIGURATION

cfgAll
ZoneEng
ZoneMkt
testnt_zone
testsun_zone
Brocade Zoning
Merging Enable new definition >cfgenable cfgAll
2003 Brocade Communications Systems, Incorporated.
Revision CFP261-1001-2003
Chapter 4 - 37
37
Best Practices for Zoning
SilkWorm 2000 Series
Use <domain, port> for zone members

SilkWorm 3000 Series
Use WWN or <domain, port> zones
Referred to as Advanced Zoning

SilkWorm v4.x Series switches
Use WWN or <domain, area> zones
Referred to as Advanced Zoning

Mixed ASIC Fabrics
Preferable use <domain, port> identifiers
2003 Brocade Communications Systems, Incorporated.
Revision CFP261-1001-2003
Chapter 4 - 38
38
Summary
Zoning logically separates the Fabric into subsets
Software enforced
Uses NS, and HBAs need to be good citizens
Mixture of WWNs and <domain,port> pairs
Hardware enforced
Only with all <domain,port> pairs or all WWNs
When connected, a device automatically is in the zone
If zoning is enabled, all devices must be in a zone
Loom ASIC zones are treated independently and the entire cfg does
not go software enforced when a mixed zone type has been
introduced
2003 Brocade Communications Systems, Incorporated.
Revision CFP261-1001-2003
Chapter 4 - 39
39
Review Questions
1. What are some reasons for implementing Zoning?


2. What happens when two zone configurations do not match when
merging?


3. What is the purpose of a broadcast zone?


4. What is the difference between aliDelete and aliRemove?

You might also like