Start a Conversation

This post is more than 5 years old

Solved!

Go to Solution

7190

April 26th, 2010 06:00

How does one Create Brocade Zones with Brocade commands ?

All:

I have to create a bunch of Brocade Zones at once and I want to do it with commands, not from the GUI, which takes longer.

Is there a manual that tells you how to do this?

Does anybody have an example of doing this?

I can do this on a Cisco, but I don't know how to do it on a Brocade.

     Stuart

9 Legend

 • 

20.4K Posts

April 26th, 2010 07:00

Stuart,

If you google for “Brocade OS Command Reference Manual 6.1” you will see the commands that allow you create aliases, zones, zonesets ..etc.

To create new alias

aliCreate "CX600_SPA", "21:00:00:20:37:0c:76:8c"

To delete alias

aliDelete "CX600_SPA"

To add member WWN to an existing alias

aliAdd "CX600_SPA", "21:00:00:20:37:0c:76:8c"

To remove member WWN from an existing alias

aliRemove "CX600_SPA", "21:00:00:20:37:0c:71:d2"

To create a zone

zoneCreate "CX600_SPA_SERVER_A", "CX600_SPA;SERVER_A"

To delete a zone

zoneDelete "CX600_SPA_SERVER_A"

To add member to an existing zone

zoneAdd "CX600_SPA_SERVER_B","SERVER_B"

To remove members from an existing zone

zoneRemove "CX600_SPA_SERVER_B","SERVER_B"

To view existing config information

cfgShow

To add a zone to zone config

cfgAdd "cfgName", "SERVER_A_ZONE; SERVER_B_ZONE"

To remove a zone from zone config

cfgRemove "cfgName", "SERVER_B_ZONE"

To save current zone config after adding / removing members

cfgSave

To enable zone configuration

cfgEnable "cfgName"

4 Operator

 • 

2.1K Posts

April 26th, 2010 07:00

If you go to the Connectirx Brocade Support page under Support by Product (or use the link below):

      https://support.emc.com/products/ConnectrixBrocade.aspx

On the right hand side under "Top Manuals" click the link "Connectrix Directors and Switches General Reference". This will take you to the page with all the documentation you could want including reference and admin guides for various FOS levels. This should include what you need as well as much much more.

April 26th, 2010 07:00

And when you are done, here is a nice command:

zone --validate

which does what it says on the tin

(well, it will tell you things like "member does not exist" on fabric)

1 Rookie

 • 

63 Posts

April 26th, 2010 08:00

Dynamox:

   This will get me going in the right direction.  Thanks.  I also found something similar in "emc180422" in Primus.

   Again, I was hoping for a helpful and "well-exampled" manual like Cisco has...  But I can make this work...

      Stuart

April 26th, 2010 08:00

Thank you for the feedback on the Cisco Cookbook being useful.   I worked with Cisco on the creation and posting of that manual to assist users.   I'm currently working with Brocade on the creation of a similar type of Cookbook manual.   Any feedback on way to improve documentation or other areas of the Brocade product line are always appreciated.

Thank you.

1 Rookie

 • 

63 Posts

April 26th, 2010 08:00

This is helpful.  The command reference manual has an alphabetic list of commands from a - z for all Brocade switch commands.

However, the Cisco web site has some very good manuals called "Cisco Family Cookbook" or something like that, which tells you in chapters - this is how you go about creatiing a zoneset for the first time, and then create aliases, and then create zones, and then activate the zones.  It's "process oriented" rather than command oriented.   That's what I was hoping for....

   Stuart

5 Posts

November 13th, 2015 06:00

Hi I have one query we can perform zoning using node WWN ? In my env im seeing one fabric zoniing was configured with Node WWN. Is it correct ? Please confirm ASAP.

Host HBA1

Port WWN:10:00:00:00:c9:e1:87:1d Node WWN:20:00:00:00:c9:e1:87:1d

Host HBA2

Port WWN: 10:00:00:00:c9:b9:52:db Node WWN: 20:00:00:00:c9:b9:52:db

Switch A>

zone:  z_WinHostSQL01_HBA1_SANCONB_1B                 50:0a:09:82:9d:c9:f1:5c                 10:00:00:00:c9:e1:87:1d

zone:  z_WinHostSQL01_HBA1_SANCONA_0C                 50:0a:09:83:8d:c9:f1:5c                 10:00:00:00:c9:e1:87:1d

zone:  z_WinHostSQL01_HBA1_SANCONA_1A                 50:0a:09:81:8d:c9:f1:5c                 10:00:00:00:c9:e1:87:1d

zone:  z_WinHostSQL01_HBA1_SANCONB_0D                 50:0a:09:84:9d:c9:f1:5c                 10:00:00:00:c9:e1:87:1d           

Switch A>

Switch B>

zone:  z_WinHostSQL01_HBA2_SANCONA_0D                 50:0a:09:84:8d:c9:f1:5c                 20:00:00:00:c9:b9:52:db

zone:  z_WinHostSQL01_HBA2_SANCONA_1B                 50:0a:09:82:8d:c9:f1:5c                 20:00:00:00:c9:b9:52:db

zone:  z_WinHostSQL01_HBA2_SANCONB_0C                 50:0a:09:83:9d:c9:f1:5c                20:00:00:00:c9:b9:52:db

zone:  z_WinHostSQL01_HBA2_SANCONB_1A                 50:0a:09:83:9d:c9:f1:5c                 20:00:00:00:c9:b9:52:db

Switch B>

No Events found!

Top