Here we will talk about configure zoning in dural fabric environment, zoning can be soft zoning or hard zoning(Hard Port Zoning).
Soft Zoning: This type of zoning is based on WWNs and enforced by the NameSever
Hard (Port) Zoning: This type of zoning is based on Domain ID & Port Number
Here is the syntax of creating zoning:
zoneCreate "zone1", "1,2", "1,3"
zoneCreate "zone2", "wwn2", "wwn3"
Below is any example that we are to setup SRV01(dual HBA in dual fabric environment)to SAN connect to Clariion CX4 storage.
FABRIC Switch A
**************************************************************************************
alicreate "SRV01_HBA0", "21:00:00:E0:1B:0B:F0:24"
alicreate "CX4_SPA0", "21:00:00:E0:1B:0B:F0:24"
zonecreate "SRV01_CX4_SPA0", "CX4_SPA0; SRV01_HBA0"
zonecreate "SRV01_CX4_SPB1", "CX4_SPB1; SRV01_HBA0"
cfgadd "COMP_FABRIC_A", "SRV01_CX4_SPA0; SRV01_CX4_SPB1"
cfgsave
cfgenable "COMP_FABRIC_A"
FABRIC Switch B
**************************************************************************************
alicreate "SRV01_HBA1", "21:00:00:E0:1B:0B:F0:23"
zonecreate "SRV01_CX4_SPA1", "CX4_SPA1; SRV01_HBA1"
zonecreate "SRV01_CX4_SPB0", "CX4_SPB0; SRV01_HBA1"
cfgadd "COMP_FABRIC_B", "SRV01_CX4_SPA1; SRV01_CX4_SPB0"
cfgsave
cfgenable "COMP_FABRIC_B"
Here are some CLI commands used to manage zones, zones aliases, and zone configurations
|
aliadd |
Add a member to a zone alias |
|
aliCreate |
Create a zone alias |
|
aliDelete |
Delete a zone alias |
|
aliRemove |
Remove a member from a zone alias |
|
aliShow |
Show zone alias definition |
|
cfgCreate |
Create a zone configuration |
|
cfgAdd |
Add a zone to a configuration |
|
cfgDelete |
Delete a zone configuration |
|
cfgRemove |
Remove a zone from a configuration |
|
cfgShow |
Show a zone configuration |
|
zoneAdd |
Add a member to a zone |
|
ZoneCreate |
Create a zone |
|
zoneDelete |
Delete a zone |
|
ZoneRemove |
Remove a member from a zone |
|
zoneShow |
Show a zone configuration |
|
cfgClear |
Clear all zone configuration |
|
cfgDisable |
Disable a zone configuration |
|
cfgEnable |
Enable a zone configuration |
|
cfgSave |
Save a zone configuration to flash |
|
cfgShow |
Show zone configuration definition |