Category Archives: May

Zoning on Cisco FC Switches

Fundamentals:

* A combination of multiple ports in Cisco is referred to as a ‘zone’
* A combination of multiple zones is called a ‘zoneset’
* At any time, multiple zonesets can exist in a switch. However, only one zoneset will be active

Cisco_Zoning

1. Change to config mode.

    fabsw1# config
    Enter configuration commands, one per line. End with CNTL/Z.
    fabsw1(config)#

2. Create a new zone.

    fabsw1(config)# zone name vs_v3070_7b vsan 1
    fabsw1(config-zone)#

3. Add ports to this zone, and exit zone configuration.

    fabsw1(config-zone)# member pwwn 50:00:1f:e1:50:01:81:e8
    fabsw1(config-zone)# exit
    fabsw1(config)#

4. Switch to zoneset-config, here vsan is a unique ID associated with each zoneset.

    fabsw1(config)# zoneset name ZONESET_V1 vsan 1
    fabsw1(config-zoneset)#

5. Add new zone to the zone set.

    fabsw1(config-zoneset)# member vs_v3070_7b
    fabsw1(config-zoneset)#

6. Exit to normal mode and check if the new zone is added to zoneset.

    fabsw1(config-zoneset)# end
    fabsw1#
    fabsw1# show zoneset
    zoneset name ZONESET_V1 vsan 1
    fabsw1#

7. Execute the following command from config mode to activate the new zoneset:

    fabsw1# zoneset activate name ZONESET_V1 vsan 1

8. Save the running configuration as startup configuration.

    fabsw1# copy running-config startup-config
    [########################################] 100%
    fabsw1#

9. Use the following command to verify

    fabsw1# show current-config

Zoning on Brocade FC Switches

1. telnet/ssh to the brocade switches and login as user admin

switch 1 – fabric Prd
switch 2 – fabric Prd

2. Create aliases for the hosts HBA’s on each switch

    switch_1> alicreate “srv16_HBA_0″,”10:00:00:c9:2f:a1:7a”
    switch_2> alicreate “srv16_HBA_1″,”10:00:00:c9:2f:a1:7b”

3. Create the storage zones using the aliases on each switch

    switch_1> zonecreate “Z_srv16_A”, “srv16_HBA_0; storage port1”
    switch_2> zonecreate “Z_srv16_B”, “srv16_HBA_1; storage port1”

Check the configuration

    switch_1> zoneshow Z_srv16_A
    switch_2> zoneshow Z_srv16_B

4. Add the zones to the fabrics (active configuration) on each switch

    switch_1> cfgshow FAB_A
    switch_1> cfgadd “FAB_A”,”Z_srv16_A”
    switch_1> cfgsave
    switch_1> cfgenable FAB_A

Check the configuration

    switch_1> zoneshow

    switch_2> cfgshow FAB_B
    switch_2> cfgadd “FAB_B”,”Z_srv16_B”
    switch_2> cfgsave
    switch_2> cfgenable FAB_A

Check the configuration

    switch_2> zoneshow