HPE EVA Storage
1825711 Members
3112 Online
109686 Solutions
New Discussion

CLI Command line to add an Alias to a Brocade Fibre Switch

 
SOLVED
Go to solution
Jorge Cocomess
Super Advisor

CLI Command line to add an Alias to a Brocade Fibre Switch

Hi,

I have a new server need to be part of the zone on this Brocade Fibre Switch. I do have the WWN for the new HBA Adapter. I just need to know how much add this WWN to an existing zone by command line. Step by step instructions would greatly appreciate it.

Have a great day!!

Jorge
4 REPLIES 4
Uwe Zessin
Honored Contributor
Solution

Re: CLI Command line to add an Alias to a Brocade Fibre Switch

Create an alias name:

> alicreate "SERVER3_1","12:34:56:.."

Add this alias to a zone:

> zoneadd "ZoneName","SERVER3_1"

You can check it with:

> cfgshow
It will also show the configuration name(s) and which one is effective (in use) - you'll need it later.

You can save it away and let it check for inconsistencies:

> cfgsave

Or immediately active the updated configuration:

> cfgenable "config-name"
.
Stephen Kebbell
Honored Contributor

Re: CLI Command line to add an Alias to a Brocade Fibre Switch

Hi,

the commands are as follows:

alicreate "aliasname", "WWN"

then if you are creating a new zone:

zonecreate "zonename", "aliasname1, aliasname2, aliasname3"
cfgadd "cfgname", "zonename"

or if you are adding the alias to an existing zone:

zoneadd "zonename", "alias-to-be-added"

then for either case you need to save and enable the config.

cfgsave
cfgenable "cfgname"

Replace aliasname, zonename and cfgname with the names you want to use. The cfgname already exists in your current zoning setup.

Regards,
Stephen
Jorge Cocomess
Super Advisor

Re: CLI Command line to add an Alias to a Brocade Fibre Switch

Thank you you guys so much for the command lines.

Have a great weekend.

Jorge
Jorge Cocomess
Super Advisor

Re: CLI Command line to add an Alias to a Brocade Fibre Switch

I received the answers through my questions on this forum. Thanks!!

Jorge