Brocade Zoning using CLI

It is quite simple to do zoning using CLI in Brocade switches.


The commands associated with zoning are as follows


alicreate
zonecreate
cfgadd
cfgsave
cfgenable

1,login as: admin

2,Create alias for the curresponding WWN. Make sure alias name start with letter a-z or A-Z

switch10:admin> alicreate "solprod06","50:06:0e:80:04:ea:db:00"
switch10:admin> alicreate "stopro01","10:00:00:00:c9:4a:87:30"

3,create zone for the selected devices

Usage: zonecreate "arg1", "arg2"
zonecreate "zonename", "member[; member...]"

switch10:admin> zonecreate "solpod_storage","solprod06; stopro01"

4, Add new zone to existing configuration.

To find the current configuration, run "cfgshow" command,
switch10:admin> cfgshow
Defined configuration:
cfg: prodcon

USAGE:- cfgadd "cfgName", "member[; member]"

switch10:admin> cfgadd "prodcon", "solpod_storage"

5, Save the changes to memory.

switch10:admin> cfgsave


You are about to save the Defined zoning configuration.
This action will only save the changes on Defined
configuration.Any changes made on the Effective configuration will not
take effect until it is re-enabled.
Do you want to save Defined zoning configuration only?
(yes, y, no, n): [no] y
Updating flash ...

6, Enable the configuration

switch10:admin> cfgEnable "prodcon"


You are about to enable a new zoning configuration.
This action will replace the old zoning configuration
with the current configuration selected.
Do you want to enable 'prodcon' configuration
(yes, y, no, n): [no] y
zone config "prodcon" is in effect
Updating flash ...

7, verify the zone using "cfgshow" command. new firmware supports "grep" ,so it is easy to find the changes.



Hope this is helpful.

17 comments :

  1. Yes........ it is useful :)

    ReplyDelete
  2. Its Knowledgeable...
    Thank U

    Noorain

    ReplyDelete
  3. How would you save/backup a copy of the current zoning configuration before changing it? Thanks!

    ReplyDelete
  4. Hi Jenn,
    if you use Webtools for creating and managing zone, you can clone the existing zone config to create a backup. if you want to clone zoneset using CLI use zoneObjectCopy "objectName", "newName"

    ReplyDelete
  5. Hi Admin,

    please which WWN i have to select ??

    HBA WWN or switch WWN??

    ReplyDelete
    Replies
    1. Hi Avneet, Thanks for visiting this blog. For WWN based zones, you should select Server HBA WWNs.

      Delete
  6. Hi Admin,

    After creating a Clone of the zone config, How do I add the new zones to it?

    ReplyDelete
    Replies
    1. Hi, once you have the clone, use the same method which you use for normal zoning and while adding to zone config using "cfgadd", mention the clone name and then activate it.

      Delete
  7. Hi There,
    Thank you for sharing knowledgeable blog with us i hope that you will post many more blog with us :)
    We are providing the best IT consulting services with shutdown unix command, brocade zoning commands, types of zoning in san, cisco zoning commands.
    in whole world as like shutdown unix command, brocade zoning commands, types of zoning in san, cisco zoning commands, vmax3 provisioning steps, snapvx, san zoning, unix flavors, timefinder snapvx, san storage explained, storage provisioning steps, emc snapvx, san zoning, symsg commands, how to backup brocade switch config, snapvx step by step, vmax snapvx, san zoning steps, gatekeeper device, zoning explained, emc vmax3, vsan vs zoning, dell emc vmax3, difference between vmax and vmax3, thin provisioning explained, data sovereignty requirements
    Click below link for more information
    https://sajidiqubal.com/

    ReplyDelete
  8. Hi There,
    Thank you for sharing a knowledgeable blog with us I hope that you will post many more blog with us :)
    We are providing the best IT consulting services in whole USA as like as shutdown unix command, brocade zoning commands, types of zoning in san, cisco zoning commands, vmax3 provisioning steps, snapvx, san zoning, unix flavors, timefinder snapvx, san storage explained, storage provisioning steps, emc snapvx, san zoning, symsg commands, how to backup brocade switch config, snapvx step by step, vmax snapvx, san zoning steps, gatekeeper device, zoning explained, emc vmax3, vsan vs zoning, dell emc vmax3, difference between vmax and vmax3, thin provisioning explained, data sovereignty requirements.
    Click here for more information:- cisco zoning commands

    ReplyDelete
  9. Hi There,
    Thank you for sharing knowledgeable blog with us i hope that you will post many more blog with us :
    The most comprehensive guide on choosing the best blogging platform we have the good detailed comparison guide on all major blogging sites in whole USA like as shutdown unix command, brocade zoning commands, types of zoning in san, cisco zoning commands, vmax3 provisioning steps, snapvx, san zoning, unix flavors, timefinder snapvx, san storage explained, storage provisioning steps, emc snapvx, san zoning, symsg commands, how to backup brocade switch config, snapvx step by step, vmax snapvx, san zoning steps, gatekeeper device, zoning explained, emc vmax3, vsan vs zoning, dell emc vmax3, difference between vmax and vmax3, thin provisioning explained, data sovereignty requirements.
    Click here for more information:- types of zoning in san

    ReplyDelete
  10. Hi There,
    Thank you for sharing knowledgeable blog with us I hope that you will post many more blog with us :
    The most comprehensive guide on choosing the best blogging platform. We have a well-detailed comparison guide on all major blogging sites.Click here for How to backup brocade switch config

    ReplyDelete
  11. Hi There,
    Thank you for sharing knowledgeable blog with us i hope that you will post many more blog with us :)
    We provides best services online As Like shutdown unix command, brocade zoning commands, types of zoning in san, cisco zoning commands, vmax3 provisioning steps, snapvx,

    Contact Us:-
    Email:- contact@sajidiqubal.com

    READ MORE....

    ReplyDelete
  12. Hi there,
    Thank you so much for the post you do and also I like your post, here we describe the technique that ought to be followed to configure San zoning over a brocade swap utilizing the CLI.
    Click here for READ MORE......

    ReplyDelete

  13. Hi There,
    Thank you for sharing the knowledgeable blog with us I hope that you will post many more blog with us:-
    The most comprehensive guide on choosing the best blogging platform. We have the good detailed comparison guide on all major blogging sites.
    Email:contact@sajidiqubal.com
    Click here for more information:- more info/

    ReplyDelete

Admin Helpline™ © , All Rights Reserved.
Privacy Policy