Network OS Administration Guide

Supporting Network OS 6.0.1a

Part Number: 53-1003768-04

Zone configuration scenario example

This example creates the zone configuration shown below. The example assumes that two hosts need access to the same storage device, while each host needs private storage of its own. You create two zones: Zone A contains Host 1, its private storage device, and the shared storage device; Zone B contains Host 2, its private storage device, and the shared storage device. In addition, you create two zone configurations: cfg1 in which only Zone A is effective; cfg2, in which both zones are effective.

Figure 28. Zone configuration example
  1. Log in to any switch in the Brocade VCS Fabric.
  2. Enter the show name-server detail command to list the available WWNs,
  3. Enter the configure terminal command to enter global configuration mode.
  4. Enter the zoning defined-configuration zone command to create Zone A.
  5. Enter the zoning defined-configuration zone command to create Zone B.
  6. Enter the zoning defined-configuration cfg command to create the configuration cfg1 with Zone A as its only member.
  7. Enter the zoning defined-configuration cfg command to create the configuration cfg2 with Zone A and Zone B as its members.
  8. Enter the zoning running-config defined-configuration command to view the defined zone configuration.
  9. Enter the zoning enabled-configuration cfg-name command to enable cfg2.
  10. Verify the enabled zoning configuration, by means of the show zoning enabled-configuration command.
    switch# show name-server detail
    switch# configure terminal
    Entering configuration mode terminal
    switch(config)# zoning defined-configuration zone ZoneA
    switch(config-zone-ZoneA)# member-entry 20:00:00:05:1e:ed:95:38;50:05:07:61:00:09:20:b4;50:05:07:61:00:1b:62:ed
    switch(config-zone-ZoneA)# exit
    switch(config)# zoning defined-configuration zone ZoneB
    switch(config-zone-ZoneB)# member-entry 20:00:00:05:1e:ed:18:c3;50:05:07:61:00:22:18:9b;50:05:07:61:00:1b:62:ed
    switch(config-zone-ZoneB)# exit
    switch(config)# zoning defined-configuration cfg cfg1
    switch(config-cfg-cfg1)# member-zone ZoneA
    switch(config-cfg-cfg1)# exit
    switch(config)# zoning defined-configuration cfg cfg2
    switch(config-cfg-cfg2)# member-zone ZoneA;ZoneB
    switch(config-cfg-cfg2)# exit
    switch(config)# zoning enabled-configuration cfg-name cfg2
    switch(config)# exit
    switch# show zoning enabled-configuration
    zoning enabled-configuration cfg cfg1
     member-zone ZoneA
    ! 
    zoning enabled-configuration cfg cfg2
     member-zone ZoneA
     member-zone ZoneB
    !
    zoning enabled-configuration zone ZoneA
     member-entry 20:00:00:05:1e:ed:95:38
     member-entry 50:05:07:61:00:09:20:b4
     member-entry 50:05:07:61:00:1b:62:ed
    !
    zoning enabled-configuration zone ZoneB
     member-entry 20:00:00:05:1e:ed:18:c3
     member-entry 50:05:07:61:00:22:18:9b
     member-entry 50:05:07:61:00:1b:62:ed