Professional Documents
Culture Documents
Brocade BCFP 4.0 Zoning Guide
Brocade BCFP 4.0 Zoning Guide
Product Training
2006 Brocade Communications Systems, Incorporated.
CFP264 ILT 0806
CFP264
Brocade 4 Gbit/sec Accelerated BCFP
Instructor-Led Module 6
Brocade SilkWorm Zoning
2006 Brocade Communications Systems, Incorporated.
Revision CFP264 ILT 0806
Page 6-2
2
2006 Brocade Communications Systems, Incorporated.
CFP264 ILT 0806
Following this module and associated lab, an attendee should
be able to:
Understand the basic concepts associated with Zoning
Iimplement a Zoning scheme using the command line
syntax
Activate or deactivate a Default Zone
Ddifferentiate between Hardware and Session
enforcement
Add a new switch to an existing fabric with Zoning enabled
State the best practices that should be considered when
implementing Zoning
Objectives
2006 Brocade Communications Systems, Incorporated.
Revision CFP264 ILT 0806
Page 6-3
3
2006 Brocade Communications Systems, Incorporated.
CFP264 ILT 0806
Server in the Red zone sees the disks in Loop 1
Server in the Blue zone sees the two disk Arrays
Server in the Green zone sees the disks in Loop 1 and one disk Array
Server 4 sees no disk
No server sees the disks in Loop 2
Server 4
Zoning Overview
A zone is a specified group of fabric-connected devices, also called zone members.
Any device, or zone member, connected to the fabric can be included in one or
more zones. Devices can communicate only with devices that are in the same zone.
After zoning has been enabled, if a device is not explicitly defined in a zone that
device is considered not to exist. In the example above both Server 4 and Loop 2
are not defined. When Server 4 queries the fabric to discover what devices it can
see, Zoning rejects the request because it is not defined in any zone. Likewise,
when the Servers in the Red, Blue and Green zones query the fabric, none of them
will see the disk in Loop 2 because it is not defined in any zone. The device will be
isolated and will be inaccessible by other devices in the fabric. Devices that attach
to the fabric need to be added to a new or existing zone before their ability to
communicate is enabled.
After the zone members are grouped into zones, zones are grouped into a zone
configuration and the zone configuration can then be enabled. When enabled, the
zone configuration is distributed to all switches in the fabric and an RSCN is
delivered by each switch to its local nodes that are effected by changes in the
enabled zone configuration.
The Fabric OS Administrators Guide describes zoning concepts in more detail.
2006 Brocade Communications Systems, Incorporated.
Revision CFP264 ILT 0806
Page 6-4
4
2006 Brocade Communications Systems, Incorporated.
CFP264 ILT 0806
Prepare
Create a detailed diagram of the fabric
All switches require a Zoning license
Define
Establish a naming convention
Identify members by port or WWN
Create aliases, zones, zone configuration
Exclude E_Ports
Analyze zone configuration
Can be done with CLI, Web Tools, Fabric Manager or
SAN Health
Enable the zone configuration
Verify there is accessibility between zone members
Process to Implement Zoning
Create a detailed switch diagram of the fabric showing ISL connectivity. This
will help account for every switch in the fabric and the E_Ports that are in
use. Expand each switch diagram to show every port (F_Port, FL_Port).
Switch ports that are not in use should remain disabled with a
portcfgpersistentdisable command.
Define a naming convention to help identify and reference devices in the
fabric. Naming conventions can also be used when creating zones and zone
configurations.
The zoning syntax when creating a zoning set ultimately defines what zoning
scheme will be enforced as the frame is delivered to the destination port.
More information on this will follow.
Analyze the zones to ensure that all nodes are members of the correct
zone(s). When the aliases have been added to zones and the zones are
added to the zone configuration, enable the zone configuration and test from
the host that each target can be accessed. For fabrics with multiple zones
enabled, it is generally best to configure one zone at a time and then test it
with the Zone Analyzer available in Web Tools. If you create all the zones
without testing each zone as it is created, it is difficult to debug. After the first
zone is setup in the fabric, the user may plug in devices and then test the
connections to confirm that everything is functioning properly.
2006 Brocade Communications Systems, Incorporated.
Revision CFP264 ILT 0806
Page 6-5
5
2006 Brocade Communications Systems, Incorporated.
CFP264 ILT 0806
Hierarchy of Objects
Members
or Aliases
Config
Zones
Member:
Alias is given a name, e.g. Server_1, Disk_Array_2.
Physical Fabric port number or area number.
Node World Wide Name - Obtained using nsshow or switchshow.
Port World Wide Name Obtained using nsshow or portloginshow.
64 characters maximum: A-Z, a-z, 0-9 and the _ are allowed.
Zone:
Is given a name, e.g. Red_Zone.
Contains two or more members and uses a ; as a separator.
The same member can be in multiple zones.
Zone definition is persistent; it remains until deleted or changed by an
administrator.
Configuration:
Is given a name, e.g. Production_Cfg.
Is one or more zones.
Configuration may be disabled or one configuration may be in effect from any
switch in the fabric.
An administrator selects which configuration is currently enabled.
A configuration is saved when enabled and then distributed to the remaining
switches in the fabric where it is enabled and saved.
2006 Brocade Communications Systems, Incorporated.
Revision CFP264 ILT 0806
Page 6-6
6
2006 Brocade Communications Systems, Incorporated.
CFP264 ILT 0806
Zone Management
Zoning can be managed using:
Command Line Interface (CLI)
Web Tools
Fabric Manager
Use the zonehelp command to display help information
Create Delete Add Remove Show
Alias alicreate alidelete aliadd aliremove alishow
Zone zonecreate zonedelete zoneadd zoneremove zoneshow
Zone
Config
cfgcreate cfgdelete cfgadd cfgremove cfgshow
Fabric OS Zone Management Commands
The following commands are used to create/modify the defined zone configuration:
*create Creates a new alias, zone or configuration
*delete Deletes the entire alias, zone or configuration
*add Adds a member to an existing alias, zone or configuration
*remove Removes one or more members from an existing alias, zone
or configuration
*show Displays alias, zone and/or configuration information
Web Tools and Fabric Manager provide a GUI that makes the administration of
zoning easier.
2006 Brocade Communications Systems, Incorporated.
Revision CFP264 ILT 0806
Page 6-7
7
2006 Brocade Communications Systems, Incorporated.
CFP264 ILT 0806
Zone Aliases
The use of aliases is optional but aids in the understanding of the zoning
structure and content
Naming
May be up to 64 characters
Are case sensitive
Members
<domain, port> or <domain, area>
Node World Wide Name - from nsshow
Port World Wide Name - from nsshow or portloginshow
Sample naming conventions
SRV for Server SRV_SunHost1
STO for Storage STO_Entprise
TPE for Tape TPE_Drive1
VRA for Virtual Appliance VRA_Prod2
Zone objects identified by port number or area number are specified as a pair of decimal numbers
d,area, where d is the Domain ID of the switch and area is the area number on that switch. If the
switch is replaced that is referenced by <domain, port> or <domain, area>, the new switch should be
configured with the predecessors Domain ID. If a Domain ID is changed to a new value, all zones
that referenced the predecessors domain number will need to be updated with the successors value.
Worldwide Names are specified as a 16 digit hexadecimal number separated by colons, for example
10:00:00:90:69:00:00:8a. When node name is used to specify a zone object, all ports on that device
are in the zone. When port name is used to specify a zone object, only that single port is in the zone.
Zone aliases simplify repetitive entry of zone objects such as port numbers or NWWN. For
example, the name Eng could be used as an alias for 10:00:00:80:33:3f:aa:11. An alias is a name
assigned to a device or group of devices. By creating an alias you can assign a familiar name to a
device, or you can group multiple devices into a single name. This can simplify cumbersome entries
and it allows an intuitive naming structure such as using NT_Storage to define all NT storage ports in
the fabric.
When a zoned host is returned the list of network targets (referenced by <domain,port> or PWWN or
NWWN) by the Name Server, the host will send a PLOGI request to the destination addresses. If the
PLOGI frame is allowed to pass at the egress port and the target at the destination address replies
an accept to the PLOGI request, the Brocade switch and Zoning has completed its responsibility of
networking the source and destination. Limiting the amount of LUNs and target IDs that the host can
access when the SCSI inquiry command is sent, is the responsibility by the storage provisioning
software located at the storage device.
2006 Brocade Communications Systems, Incorporated.
Revision CFP264 ILT 0806
Page 6-8
8
2006 Brocade Communications Systems, Incorporated.
CFP264 ILT 0806
Domain 1
Zoning Example
1. Plan for your zoning scheme to meet objectives
Eng Host
Mkt Host
S1
S2
S3
S4
S5
2. Create Aliases
>alicreate Eng_Host,1,0
>alicreate Eng_Stor,s1wwn; s2wwn
>alicreate Mkt_Host,1,16
>alicreate Mkt_Stor,s3wwn; s4wwn; s5wwn
3. Create Zones
>zonecreate Zone_Eng,Eng_Host; Eng_Stor
>zonecreate Zone_Mkt,Mkt_Host; Mkt_Stor
4. Create Configuration
>cfgcreate Cfg_EngMkt,Zone_Eng; Zone_Mkt
This example should not be viewed as a best practice but rather an example that
shows how a domain, port and WWN would be coded. The CLI is used to illustrate
the zoning structure. Once this is understood, the Web Tools GUI would be a better
tool to use.
Zoning has a very systematic yet simple approach to implementing:
Zoning requires prior planning. What are your goals? How will you achieve them?
Create members using aliases.
Create zones using alias members.
Create a configuration using zones.
Enable the zone configuration throughout the fabric.
Note: A cfgenable also saves the defined configuration and the name of the
effective configuration to flash memory.
2006 Brocade Communications Systems, Incorporated.
Revision CFP264 ILT 0806
Page 6-9
9
2006 Brocade Communications Systems, Incorporated.
CFP264 ILT 0806
Domain 1
Zoning Example (cont.)
sw4100:admin> cfgshow
Defined configuration:
cfg: Cfg_EngMkt
Zone_Eng; Zone_Mkt
zone: Zone_Eng Eng_Host; Eng_Stor
zone: Zone_Mkt Mkt_Host; Mkt_Stor
alias: Eng_Stor 21:00:00:20:37:87:48:e7;
21:00:00:20:37:87:23:e2
alias: Eng_Host 1,0
alias: Mkt_Stor 21:00:00:20:37:87:49:29;
21:00:00:20:37:87:e5:20;
21:00:00:20:37:87:20:c5
alias: Mkt_Host 1,16
Effective configuration:
no configuration in effect
Eng Host
Mkt Host
S1
S2
S3
S4
S5
A cfgshow displays the defined configuration and since zoning has not been
enabled, there is no effective configuration. Zoning is fabric-wide, thus any switch
can be used to display the current zoning configurations.
The defined configuration is the Zoning Database and contains all zone objects that
have been created. It is possible to have several zone configurations but only one
can be enabled.
2006 Brocade Communications Systems, Incorporated.
Revision CFP264 ILT 0806
Page 6-10
10
2006 Brocade Communications Systems, Incorporated.
CFP264 ILT 0806
Domain 1
Zoning Example (cont.)
Eng Host
Mkt Host
S1
S2
S3
S4
S5
5. Enable Configuration
>cfgenable Cfg_EngMkt
Note: A cfgenable also saves the defined configuration and the name of the
effective configuration to flash memory.
2006 Brocade Communications Systems, Incorporated.
Revision CFP264 ILT 0806
Page 6-11
11
2006 Brocade Communications Systems, Incorporated.
CFP264 ILT 0806
Domain 1
Zoning Example (cont.)
sw4100:admin> cfgshow
Defined configuration:
cfg: Cfg_EngMkt
Zone_Eng; Zone_Mkt
zone: Zone_Eng Eng_Host; Eng_Stor
zone: Zone_Mkt Mkt_Host; Mkt_Stor
alias: Eng_Stor 21:00:00:20:37:87:48:e7;
21:00:00:20:37:87:23:e2
alias: Eng_Host 1,0
alias: Mkt_Stor 21:00:00:20:37:87:49:29;
21:00:00:20:37:87:e5:20;
21:00:00:20:37:87:20:c5
alias: Mkt_Host 1,16
Effective configuration:
cfg: Cfg_EngMkt
zone: Zone_Eng 1,0;
21:00:00:20:37:87:23:e2;
21:00:00:20:37:87:48:e7
zone: Zone_Mkt 1,16;
21:00:00:20:37:87:e5:20;
21:00:00:20:37:87:49:29;
21:00:00:20:37:87:20:c5
Eng Host
Mkt Host
S1
S2
S3
S4
S5
Since zoning is now enabled, the configuration in effect is displayed.
2006 Brocade Communications Systems, Incorporated.
Revision CFP264 ILT 0806
Page 6-12
12
2006 Brocade Communications Systems, Incorporated.
CFP264 ILT 0806
Enabling Zoning
Only one active zone configuration for entire fabric
Enabled with cfgenable
You do not have to disable one zone configuration to enable another
Enable one configuration over another
Saves the zone configuration (no subsequent cfgsave needed)
Saved across power cycles, reboots
Effective zone configuration displayed in switchshow
sw4100:admin> switchshow
switchName: sw4100
switchType: 32.0
switchState: Online
switchMode: Native
switchRole: Principal
switchDomain: 1
switchId: fffc01
switchWwn: 10:00:00:05:1e:34:01:e6
switchBeacon: OFF
Zoning: ON (Cfg_EngMkt)
A zone configuration is a group of zones that are enforced whenever that
zone configuration is enabled. A zone can be included in more than one
zone configuration.
To define a zone configuration, specify the list of zones to be included and
assign a zone configuration name. Zoning may be disabled at any time.
When a zone configuration is in effect, all zones that are members of that
configuration are in effect.
Defined configuration: The complete set of all zone objects that have been
defined in the fabric.
Effective configuration: A single zone configuration that is currently in
effect. The effective configuration is built when an administrator enables a
specified zone configuration. This configuration is compiled by checking for
undefined zone names, or zone alias names, or other issues.
Saved configuration: A copy of the defined configuration plus the name of
the effective configuration which is saved in flash memory by the cfgsave
command. There may be differences between the saved configuration and
the defined configuration if the system administrator has modified any of the
zone definitions and has not saved them.
2006 Brocade Communications Systems, Incorporated.
Revision CFP264 ILT 0806
Page 6-13
13
2006 Brocade Communications Systems, Incorporated.
CFP264 ILT 0806
Flash
Memory
DEFINED
CONFIGURATION
Cfg_EngMkt
Zone_Eng
Zone_Mkt
EFFECTIVE
CONFIGURATION
RAM
Domain
1
Enabling Zoning (cont.)
sw4100:admin> cfgenable Cfg_EngMkt
Cfg_EngMkt
Zone_Eng
Zone_Mkt
1
2
3
1
Cfg_EngMkt becomes
effective configuration
2
Defined configuration
is written to flash memory
3
Name of effective configuration
is written to flash memory
(Cfg_EngMkt)
Note: cfgenable performs an
implicit cfgsave
Use the cfgenable command to enable a zone configuration. The specified zone
configuration is built by checking for undefined zone names, zone alias names, or
other inconsistencies by expanding zone aliases, removing duplicate entries, and
then installing the current configuration.
If the build fails, the previous state is preserved (zoning remains disabled, or the
previous configuration remains in effect). If the build succeeds, the new
configuration replaces the previous configuration.
2006 Brocade Communications Systems, Incorporated.
Revision CFP264 ILT 0806
Page 6-14
14
2006 Brocade Communications Systems, Incorporated.
CFP264 ILT 0806
Flash
Memory
DEFINED
CONFIGURATION
Cfg_EngMkt
Zone_Eng
Zone_Mkt
EFFECTIVE
CONFIGURATION
RAM
Domain
1
Disabling Zoning
sw4100:admin> cfgdisable
Cfg_EngMkt
Zone_Eng
Zone_Mkt
2
1
Effective configuration
is disabled
2
Defined configuration
is written to flash memory
3
Name of effective configuration
set to none in flash memory
1
EFFECTIVE
CONFIGURATION
3
Use the cfgdisable command to disable the current zone configuration. The fabric
returns to non-zoning mode, in which all devices see each other.
This command ends and commits the current zoning transaction buffer to both
volatile and flash memory. If a transaction is open on a different switch in the fabric
when this command is run, the transaction on the other switch is automatically
aborted. A message is displayed on the other switches to indicate the aborting of
the transaction.
2006 Brocade Communications Systems, Incorporated.
Revision CFP264 ILT 0806
Page 6-15
15
2006 Brocade Communications Systems, Incorporated.
CFP264 ILT 0806
Flash
Memory
DEFINED
CONFIGURATION
Cfg_EngMkt
Zone_Eng
Zone_Mkt
xxxx
xxxx
EFFECTIVE
CONFIGURATION
RAM
Domain
1
Saving Zoning
sw4100:admin> cfgsave
Cfg_EngMkt
Zone_Eng
Zone_Mkt
1
2
3
2
Defined configuration
is written to flash memory
3
Name of effective configuration
is written to flash memory
(Cfg_EngMkt)
1
Any changes made to the defined
configuration before issuing cfgsave
Note: cfgsave does not do a cfgenable
Use the cfgsave command to save the current zone configuration. The defined
configuration and the name of the enabled configuration are written to flash memory
in all switches in the fabric. This allows changes to be made to the defined
configuration without an immediate enabling of them.
The saved configuration is automatically reloaded by the switch on power on and, if
a configuration was in effect at the time it was saved, the same configuration is
reinstalled with an automatic cfgenable command.
Because the saved configuration is reloaded at power on, only valid configurations
are saved. The cfgsave command verifies that the enabled configuration is valid by
performing the same tests as cfgenable. If the tests fail, an error is displayed and
the configuration is not saved. Tests might fail if a configuration has been modified
since the last cfgenable.
This command ends and commits the current transaction. If a transaction is open on
a different switch in the fabric when this command is run, the transaction on the
other switch is automatically aborted. A message is displayed on the other switches
to indicate the aborting of the transaction.
If the defined configuration is larger than the supported maximum zoning database
size, the following message is issued: Commit zone DB larger than supported -
<zone db size> greater than <max zone db size>
Note: A cfgsave does not make any changes to the effective configuration. A
cfgenable command is still needed to enable any changes made in the defined
configuration.
2006 Brocade Communications Systems, Incorporated.
Revision CFP264 ILT 0806
Page 6-16
16
2006 Brocade Communications Systems, Incorporated.
CFP264 ILT 0806
Flash
Memory
DEFINED
CONFIGURATION
Cfg_EngMkt
Zone_Eng
Zone_Mkt
EFFECTIVE
CONFIGURATION
RAM
Domain
1
Clearing Zoning
sw4100:admin> cfgclear
1
Defined configuration is cleared
from RAM
DEFINED
CONFIGURATION
1
Note: cfgclear does not disable the
effective configuration and does
not save anything to flash memory
Use the cfgclear command to clear all zone information in the defined configuration.
All defined zone objects are deleted. If an attempt is made to clear the defined
configuration while a zone configuration is enabled, you are warned to first disable
the enabled zone configuration.
After using the cfgclear command, use the cfgsave command to commit the defined
and effective configuration to flash memory for all the switches in the fabric.
2006 Brocade Communications Systems, Incorporated.
Revision CFP264 ILT 0806
Page 6-17
17
2006 Brocade Communications Systems, Incorporated.
CFP264 ILT 0806
Flash
Memory
EFFECTIVE
CONFIGURATION
RAM
Domain
1
Maximum Zoning Database Size
Determined by the amount of Flash
Memory available for storing the
defined configuration
Amount varies by Fabric OS release
Size displayed with cfgsize
command in bytes
Zone DB max size
Committed size
Transaction size
DEFINED
CONFIGURATION
Cfg_EngMkt
Zone_Eng
Zone_Mkt
Use the cfgsize command to display the size details of the zone database. The size
details include the Zone DB maximum size, the committed size, and the transaction
size. All sizes are in bytes.
Zone DB max size is the upper limit for the defined configuration, determined by the
amount of flash memory available for storing the defined configuration.
Committed size is the size of the defined configuration currently stored in flash
memory.
Transaction size is the size of the uncommitted defined configuration. This value will
be nonzero if the defined configuration is being modified, otherwise it is 0.
sw4100:admin> cfgsize
Zone DB max size - 127726 bytes
committed - 8812
transaction - 0
2006 Brocade Communications Systems, Incorporated.
Revision CFP264 ILT 0806
Page 6-18
18
2006 Brocade Communications Systems, Incorporated.
CFP264 ILT 0806
Maximum Zoning Database Size (cont.)
The switch with the lowest maximum
determines the maximum zoning
database size for the fabric
96 KB
128 KB
256 KB
Zoning Database
Maximum Size by FOS
v2.6.x
v3.1.x
v3.0.x
v4.0.x
v4.1.x
v4.2.x
v3.2.x
v4.4.x
v5.0.x
v5.1.x
Max DB Size?
The switch with the lowest maximum determines the maximum zoning database
size for the fabric.
If a switch attempts to join a fabric that has a zone database size greater than the
supported maximum size of the switch, a segmentation error will occur (the request
to join the fabric will be rejected) preventing the switch from joining the fabric.
2006 Brocade Communications Systems, Incorporated.
Revision CFP264 ILT 0806
Page 6-19
19
2006 Brocade Communications Systems, Incorporated.
CFP264 ILT 0806
Zone Object Commands
You can use these commands for all zone object types:
configuration, zone and alias
zoneobjectcopy
Copies a zone object to a new zone object
zoneobjectcopy Cfg_EngMkt, Cfg_Test
zoneobjectrename
Renames a zone object
zoneobjectrename Zone_Redd, Zone_Red
zoneobjectexpunge
Deletes the zone object and removes it from the member list of all
other objects
zoneobjectexpunge Mkt_Host
sw4100:admin> cfgshow "*"
cfg: USA_cfg Red_zone; White_zone; Blue_zone
sw4100:admin> zoneobjectcopy "USA_cfg", "UK_cfg"
sw4100:admin> cfgshow "*"
cfg: UK_cfg Red_zone; White_zone; Blue_zone
cfg: USA_cfg Red_zone; White_zone; Blue_zone
sw4100:admin> cfgshow
Defined configuration:
cfg: USA_cfg Red_zone; White_zone; Blue_zone
zone: Blue_zone 1,0; 1,1
zone: Red_zone 1,2; 1,3
zone: White_zone 1,4; 1,5
sw4100:admin> zoneobjectexpunge Blue_zone"
sw4100:admin> cfgshow
Defined configuration:
cfg: USA_cfg Red_zone; White_zone
zone: Red_zone 1,2; 1,3
zone: White_zone 1,4; 1,5
2006 Brocade Communications Systems, Incorporated.
Revision CFP264 ILT 0806
Page 6-20
20
2006 Brocade Communications Systems, Incorporated.
CFP264 ILT 0806
Zoning Display Commands
nsaliasshow
Displays local name server information and the defined
configuration aliases to which the device belongs
sw4100:admin> nsaliasshow
{
Type Pid COS PortName NodeName TTL(sec)
NL 0204e2; 3;21:00:00:fa:ce:00:21:1e;20:00:00:fa:ce:00:21:1e; na
FC4s: FCP [STOREX RS2999FCPH3 MT09]
Fabric Port Name: 20:04:00:60:69:01:44:22
Permanent Port Name: 21:00:00:fa:ce:00:21:1e
Aliases: Sun_Disk1
NL 0204ef; 3;21:00:00:ad:bc:04:6f:70;20:00:00:ad:bc:04:6f:70; na
FC4s: FCP [STOREX RS2999FCPH3 JB09]
Fabric Port Name: 20:04:00:60:69:01:44:22
Permanent Port Name: 21:00:00:ad:bc:04:6f:70
Aliases:
The Local Name Server has 2 entries }
This node has not
been defined
in any alias
This command is a duplicate of the nsshow command with the added feature of
displaying the defined configuration aliases that the device belongs to.
The message There is no entry in the Local Name Server is
displayed if there is no information in this switch, but there still may be devices
connected to other switches in the Fabric. The command nsallshow shows
information from all switches.
2006 Brocade Communications Systems, Incorporated.
Revision CFP264 ILT 0806
Page 6-21
21
2006 Brocade Communications Systems, Incorporated.
CFP264 ILT 0806
Displays all the name server entries matching a given WWN,
PID (in hex) or alias
sw4100:admin> nodefind Disk_1
Local:
Type Pid COS PortName NodeName SCR
NL 0314d9; 3;22:00:00:04:cf:5d:dc:2d;20:00:00:04:cf:5d:dc:2d; 0
FC4s: FCP [SEAGATE ST318452FC 0001]
Fabric Port Name: 20:14:00:60:69:80:04:79
Permanent Port Name: 22:00:00:04:cf:5d:dc:2d
Device type: Physical Target
Aliases: Disk_1
Zoning Display Commands (cont.)
nodefind
RSL1_ST07_B41:admin> nodefind 21:00:00:04:cf:bd:56:bd
Local:
Type Pid COS PortName NodeName SCR
NL 0200e2; 3;21:00:00:04:cf:bd:56:bd;20:00:00:04:cf:bd:56:bd; 0
FC4s: FCP [SEAGATE ST318452FC 0005]
Fabric Port Name: 20:00:00:05:1e:02:a6:6d
Permanent Port Name: 21:00:00:04:cf:bd:56:bd
Device type: Physical Target
Aliases:
RSL1_ST07_B41:admin> nodefind 0x0200e2
Local:
Type Pid COS PortName NodeName SCR
NL 0200e2; 3;21:00:00:04:cf:bd:56:bd;20:00:00:04:cf:bd:56:bd; 0
FC4s: FCP [SEAGATE ST318452FC 0005]
Fabric Port Name: 20:00:00:05:1e:02:a6:6d
Permanent Port Name: 21:00:00:04:cf:bd:56:bd
Device type: Physical Target
Aliases:
2006 Brocade Communications Systems, Incorporated.
Revision CFP264 ILT 0806
Page 6-22
22
2006 Brocade Communications Systems, Incorporated.
CFP264 ILT 0806
Zoning Display Commands (cont.)
nszonemember
Displays the information of all online devices which are zoned
with the given device (WWN or PID)
sw4100:admin> nszonemember 0x0406e2
2 local zoned members:
Type Pid COS PortName NodeName SCR
NL 0406e2; 3;22:00:00:20:37:d9:6b:b3;20:00:00:20:37:d9:6b:b3; 0
FC4s: FCP [SEAGATE ST318304FC 0005]
Fabric Port Name: 20:06:00:60:69:50:06:78
Permanent Port Name: 22:00:00:20:37:d9:6b:b3
Device type: Physical Target
NL 040901; 2,3;10:00:00:00:c9:26:0e:ae;20:00:00:00:c9:26:0e:ae; 3
Fabric Port Name: 20:09:00:60:69:50:06:78
Permanent Port Name: 10:00:00:00:c9:26:0e:ae
Device type: Physical Initiator
No remote zoned members
Also can use the WWN:
sw4100:admin> nszonemember 22:00:00:20:37:d9:6b:b3
2006 Brocade Communications Systems, Incorporated.
Revision CFP264 ILT 0806
Page 6-23
23
2006 Brocade Communications Systems, Incorporated.
CFP264 ILT 0806
Zoning Display Commands (cont.)
nszonemember -u
Displays all unzoned devices in the entire fabric
sw4100:admin> nszonemember -u
Pid: 0x041ea9; Aliases: stor32b_1
Pid: 0x041eaa; Aliases: stor32b_2
Pid: 0x041eab; Aliases: stor32b_3
Pid: 0x041eac; Aliases: stor32b_4
Pid: 0x041fad; Aliases: stor32a_5
Pid: 0x041fae; Aliases: stor32a_6
Pid: 0x041fb1; Aliases: stor32a_7
Pid: 0x041fb2; Aliases: stor32a_8
Pid: 0x062800; Aliases:
Totally 9 unzoned devices in the fabric.
Some useful options with nszonemember:
-a Displays each local devices online zoned data, including PID and zone alias.
-u Displays all unzoned devices in the entire fabric.
2006 Brocade Communications Systems, Incorporated.
Revision CFP264 ILT 0806
Page 6-24
24
2006 Brocade Communications Systems, Incorporated.
CFP264 ILT 0806
Additional Zone Management Commands
cfgtransshow
Displays the current zoning transaction information
cfgtransabort
Aborts the current zoning transaction (anything since the
last save)
cfgactvshow
Displays the zoning effective configuration
sw4100:admin> cfgtransshow
There is no outstanding zone transactions
sw4100:admin> cfgclear
Do you really want to clear all configurations? (yes, y, no, n):
[no] y
Clearing All zoning configurations...
sw4100:admin> cfgtransshow
Current transaction token is 271010736
It is abortable
sw4100:admin> cfgtransabort
sw4100:admin> cfgactvshow
Effective configuration:
cfg: Cfg_EngMkt
zone: Zone_Eng 1,0;
21:00:00:20:37:87:23:e2;
21:00:00:20:37:87:48:e7
zone: Zone_Mkt 1,16;
21:00:00:20:37:87:e5:20;
21:00:00:20:37:87:49:29;
21:00:00:20:37:87:20:c5
2006 Brocade Communications Systems, Incorporated.
Revision CFP264 ILT 0806
Page 6-25
25
2006 Brocade Communications Systems, Incorporated.
CFP264 ILT 0806
Default Zoning
In early versions of Fabric OS, when zoning was not
implemented or a cfgdisable command was issued, all
devices in the fabric could access each other
In Fabric OS v5.1.0, you can now create a default zone:
Controls what device access is allowed within a fabric when zoning
is not enabled
Enable all device access with defzone --allaccess (default)
Disable all device access with defzone --noaccess
How it works:
When a user-specified zone configuration is not enabled, defzone
is in effect
When a user-specified zone configuration is enabled, the defzone
is overridden
The new default zone feature can enable or disable device access within a
fabric. Default zones are based on the FC-GS standard, but are not
supported when the switch or Director is in interop mode.
The defzone allaccess is the default because it matches how zoning
worked prior to Fabric OS v5.1.0.
2006 Brocade Communications Systems, Incorporated.
Revision CFP264 ILT 0806
Page 6-26
26
2006 Brocade Communications Systems, Incorporated.
CFP264 ILT 0806
Default Zoning (cont.)
defzone Command
To create a no-access default zone
defzone --noaccess
Creates the following (hidden) zone configuration
cfgcreate d__efault__Cfg, d__efault__Zone
zonecreate d__efault__Zone,00:00:00:00:00:00:00:01
To create an all-access default zone
defzone --allaccess
Does the equivalent of the following zoning commands
cfgdelete d__efault__Cfg
zonedelete d__efault__Zone
Changes must be committed to the fabric
Normally a cfgsave will be used
A cfgenable or cfgdisable can be used since each includes an
implied save
Two underscore
characters used
in all instances
The new defzone command configures a default zone configuration and
displays the current configuration. The command has no optional
parameters, and takes one of three required arguments:
--allaccess Create a default zone that enables all device-to-
device access within the fabric. This is the default behavior in Fabric
OS v5.1, and matches the default behavior in a non-zoned fabric.
--noaccess Create a default zone that disables all device-to-
device access within the fabric.
--show Display the current default zone.
Names beginning with d__efault__ are reserved for default zoning use
(note: two underscore characters are used in each instance.)
Note: The setting of the defzone command is stored in the zoning
transaction buffer. Normally, a cfgsave is used to commit the zoning
transaction to the entire fabric. A cfgenable or cfgdisable will do the
commit since each command does an implied cfgsave. Because the
setting is stored in the zoning transaction buffer, a cfgtransabort could
be used to abort the defzone command.
2006 Brocade Communications Systems, Incorporated.
Revision CFP264 ILT 0806
Page 6-27
27
2006 Brocade Communications Systems, Incorporated.
CFP264 ILT 0806
Default Zoning
defzone Command (cont.)
Display the current default zone
sw4100:admin> defzone --show
Default Zone Access Mode
committed - No Access
transaction - No Transaction
If Zoning is not
enabled, devices
in the fabric can not
access each other
2006 Brocade Communications Systems, Incorporated.
Revision CFP264 ILT 0806
Page 6-28
28
2006 Brocade Communications Systems, Incorporated.
CFP264 ILT 0806
Default Zoning
defzone Command (cont.)
On a Fabric OS v5.1.0 switch, the cfgactvshow and
cfgshow commands do not display the default zone or zone
configuration
On switches running releases earlier than Fabric OS v5.1.0,
the d__efault__Cfg and d__efault__Zone can be
seen, but not managed
With defzone set to noaccess, perform all zoning tasks
from a switch running Fabric OS v5.1
A cfgdisable issued from a switch running an earlier
version is rejected
From a switch running earlier versions of Fabric OS, the zone* commands
cannot manage the default zone, and the cfg* commands cannot manage
the default zone configuration.
For example, attempting to disable d__efault__Cfg on a Fabric OS
v5.0.1 switch results in the following error message:
RCSRCA_SFC_REJECTED
Sfc Was Rejected: Remote Switch Unable To Process.
2006 Brocade Communications Systems, Incorporated.
Revision CFP264 ILT 0806
Page 6-29
29
2006 Brocade Communications Systems, Incorporated.
CFP264 ILT 0806
Default Zoning
defzone Command (cont.)
When the defzone is configured as noaccess and zoning
is disabled, then the cfgshow output on a Fabric OS v5.1.0
switch is different from a switch with an earlier release
sw4100:admin> cfgshow
Defined configuration:
Effective configuration:
no configuration in effect:
(No Access)
v5.1.0
v5.0.1
sw200E:admin> cfgshow
Defined configuration:
cfg: d__efault__Cfg
d__efault__Zone
zone: d__efault__Zone
00:00:00:00:00:00:00:01
Effective configuration:
cfg: d__efault__Cfg
zone: d__efault__Zone
00:00:00:00:00:00:00:01
When zoning is not enabled and the default zone is set to no access,
the cfgshow output for the v5.1.0 switch is different from a switch
with an earlier release. See slide above.
Use the defzone --show command to determine which mode the
default zone is set to (Access or No Access).
sw4100:admin> defzone --show
Default Zone Access Mode
committed - No Access
transaction - No Transaction
sw4100:admin> switchshow
switchName: sw4100
switchType: 32.0
switchState: Online
switchMode: Native
switchRole: Subordinate
switchDomain: 2
switchId: fffc02
switchWwn: 10:00:00:05:1e:02:a6:6d
zoning: ON (No Access)
switchBeacon: OFF
<truncated output>
2006 Brocade Communications Systems, Incorporated.
Revision CFP264 ILT 0806
Page 6-30
30
2006 Brocade Communications Systems, Incorporated.
CFP264 ILT 0806
Web Tools Zoning Administration
Click here
for
Zoning
Admin
Location of the Zone Admin icon. A login is required before the Zone
Administration screen appears.
2006 Brocade Communications Systems, Incorporated.
Revision CFP264 ILT 0806
Page 6-31
31
2006 Brocade Communications Systems, Incorporated.
CFP264 ILT 0806
Web Tools Zoning Administration (cont.)
This screen allows for the creation and modification of aliases, zones and
configuration.
2006 Brocade Communications Systems, Incorporated.
Revision CFP264 ILT 0806
Page 6-32
32
2006 Brocade Communications Systems, Incorporated.
CFP264 ILT 0806
Zoning Enforcement
Session Enforcement
Name Server restricts PLOGIs
Hardware Enforcement
Available through ASIC hardware logic checking
Denies illegal access from bad citizens
1
Product Training
2006 Brocade Communications Systems, Incorporated.
CFP264 ILT 0806
CFP264
Brocade 4 Gbit/sec Accelerated BCFP
End of Instructor-Led Module 6
Brocade SilkWorm Zoning
2006 Brocade Communications Systems, Incorporated.
Revision CFP264 ILT 0806
Page 6-52
This page left blank for formatting