cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
7970
Views
0
Helpful
3
Replies

how to add new WWN to existing fcalias/Zone/zoneset by using Cisco CLI

how to add new WWN to existing fcalias/Zone/zoneset by using Cisco CLI

3 Replies 3

jihicks
Cisco Employee
Cisco Employee

Here is an  example:                                                                                                                       VSAN in use VSAN 1                                                                                                                         FCALIAS name My_Storage
new PWWN is 50:00:00:00:00:00:00:60
Zone name Host_A_My_Storage
zoneset name Production
Zoning by pwwn

9148s-1(config)# fcalias name My_Storage vsan 1
9148s-1(config-fcalias)# fcalias name My_Storage vsan 1
9148s-1(config-fcalias)# member pwwn 50:00:00:00:00:00:00:60

9148s-1(config-fcalias)# exit                                                                                                         9148s-1(config)# zone name Host_A_My_Storage vsan 1
9148s-1(config-zone)# member pwwn 50:00:00:00:00:00:00:60
9148s-1(config-zone)# exit

9148s-1(config)# zoneset activate name Production vsan 1
9148s-1(config)# end

9148s-1# copy running-config startup-config

If you are zoning by FCALIAS  and the FCALIAS name is already in the zone(s) but you are just adding a new member, then you just update the FCALIAS as above and then activate the zoneset to pick up the change.

Best regards,
Jim

Hi Jim

I'm confused ! 

9148s-1(config-zone)# member pwwn 50:00:00:00:00:00:00:60

should it not be replaces by

9148s-1(config-zone)# member fcalias My_Storage

Walter.

Hi Walter,

I assumed that he was adding a new PWWN and not replacing a current one.

Also, he did not state that he was zoning by FCALIAS.

Add the new PWWN to an existing FCALIAS.

If he is already zoning by FCALIAS, then he doesn't have to add that FCALIAS to the zone again, it would already be there.

If he is zoning by PWWN, then he has to add the new PWWN to the existing zone ( or create a new one).

Either way, he has to activate the zoneset again.

Best regards,

Jim

Review Cisco Networking for a $25 gift card