cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1334
Views
20
Helpful
9
Replies

How to remote a zone form a zone set?

Brett.Lombardo1
Level 1
Level 1

Hello all

I'm relatively new to MDS zoning and putting my best foot forward on the googles but i've hit a snag. 

I need to remove the following zone from a zoneset. Any input would be appreciated.

-----------------------------

# show zoneset active
zoneset name vsan10_zs vsan 10

zone name V15010ESXIORC01_v1-VX7600-a4 vsan 10
* fcid 0x010000 [pwwn 50:06:01:64:36:e0:0c:e6]
pwwn 20:00:00:25:b5:01:a0:19

#show zonetset

zoneset name vsan10_zs vsan 10

zone name V15010ESXIORC01_v1-VX7600-a4 vsan 10
fcalias name VX7600-a4 vsan 10
pwwn 50:06:01:64:36:e0:0c:e6

fcalias name V15010ESXIORC01_v0 vsan 10
pwwn 20:00:00:25:b5:01:a0:19

zone name V15010ESXIORC01_v0-VX7600-b4 vsan 10
fcalias name VX7600-b4 vsan 10
pwwn 50:06:01:6c:36:e0:0c:e6

fcalias name V15010ESXIORC01_v0 vsan 10
pwwn 20:00:00:25:b5:01:a0:19

1 Accepted Solution

Accepted Solutions

Thanks Brett

Please tell me again, which zone you would like to remove ?

V15010ESXIORC01_v1-VX7600-a4 ?

Due to the fact that you use enhanced zone mode, you should also add as last command

zone commit vsan 10

Please do after "zone commit vsan 10"

show running ...

and

show startup ...

Walter.

View solution in original post

9 Replies 9

Walter Dey
VIP Alumni
VIP Alumni

Hi Brett

Conf t

zoneset name vsan10_zs vsan 10
no member V15010ESXIORC01_v1-VX7600-a4 

zoneset activate name vsan10_zs vsan 10

Walter.

PS this procedure is non disruptive !

Hey Walter, thanks for the quick response, I keep getting this

# conf t
Enter configuration commands, one per line. End with CNTL/Z.
(config)# zoneset name vsan10_zs vsan 10
(config-zoneset)# no member V15010ESXIORC01_v1-VX7600-a4
Zone not present

Hi Brett

Please post the zone and zoneset information from the "show running" command !

Walter.

Does this help Walter? Excluded other items zoned.

!Command: show running-config zone
!Time: Thu Jul 21 00:57:10 2016

version 5.2(8e)
zone mode enhanced vsan 10
!Active Zone Database Section for vsan 10


zone name V15010ESXIORC01_v1-VX7600-a4 vsan 10
member pwwn 50:06:01:64:36:e0:0c:e6
member pwwn 20:00:00:25:b5:01:a0:19

zone name V15010ESXIORC01_v0-VX7600-b4 vsan 10
member pwwn 50:06:01:6c:36:e0:0c:e6
member pwwn 20:00:00:25:b5:01:a0:19

zoneset name vsan10_zs vsan 10

----------------

zoneset name vsan10_zs vsan 10
member V15010ESXIORC01_v1-VX7600-a4
member V15010ESXIORC01_v0-VX7600-b4

-----------

zoneset activate name vsan10_zs vsan 10
do clear zone database vsan 10
!Full Zone Database Section for vsan 10

fcalias name V15010ESXIORC01_v0 vsan 10
member pwwn 20:00:00:25:b5:01:a0:19

zone name V15010ESXIORC01_v1-VX7600-a4 vsan 10
member fcalias VX7600-a4
member fcalias V15010ESXIORC01_v0

zone name V15010ESXIORC01_v0-VX7600-b4 vsan 10
member fcalias VX7600-b4
member fcalias V15010ESXIORC01_v0

-------------------------

zoneset name vsan10_zs vsan 10

member V15010ESXIORC01_v1-VX7600-a4
member V15010ESXIORC01_v0-VX7600-b4

zone commit vsan 10

Thanks Brett

Please tell me again, which zone you would like to remove ?

V15010ESXIORC01_v1-VX7600-a4 ?

Due to the fact that you use enhanced zone mode, you should also add as last command

zone commit vsan 10

Please do after "zone commit vsan 10"

show running ...

and

show startup ...

Walter.

Thanks again Walter, looks like that worked.

Am I running in to a similar issue here?

Somehow I put in the wrong member pwwn and have this. The bold needs to be removed:

zone name V15010ESXIORC01_v1-VX7600-a1 vsan 11
member pwwn 50:06:01:61:36:e0:0c:e6
member pwwn 20:00:00:25:b5:01:b1:19
member pwwn 20:00:00:25:b5:01:b1:18

zone name V15010ESXIORC01_v1-VX7600-b1 vsan 11
member pwwn 50:06:01:69:36:e0:0c:e6
member pwwn 20:00:00:25:b5:01:b1:19
member pwwn 20:00:00:25:b5:01:b1:18

So i ran

# conf t
Enter configuration commands, one per line. End with CNTL/Z.
(config)# zone name V15010ESXIORC01_v1-VX7600-a1 vsan 11
(config-zone)# no member pwwn 20:00:00:25:b5:01:b1:19
Member not present

...Sorry still new to this.

Sorry for the confusion !

A zoneset consists of zones

zoneset name vsan10_zs vsan 10
member V15010ESXIORC01_v1-VX7600-a4 <== zone
member V15010ESXIORC01_v0-VX7600-b4 <== zone

and a zone has members, eg. defined as a pwwn, device-alias or fc-alias

zone name V15010ESXIORC01_v1-VX7600-a4 vsan 10
member pwwn 50:06:01:64:36:e0:0c:e6
member pwwn 20:00:00:25:b5:01:a0:19

Now I understand that you want to remove members of a zone, and NOT a zone from a zoneset ?

correct ?

PS.

# conf t
Enter configuration commands, one per line. End with CNTL/Z.
(config)# zone name V15010ESXIORC01_v1-VX7600-a1 vsan 11
(config-zone)# no member pwwn 20:00:00:25:b5:01:b1:19

should work, but you have to add

zone commit vsan 11

Sorry I forgot ! most important, once you have done your modifications (in memory), save the configuration:

conf t

copy run start

Thanks Walter, you are a life saver. I got it all worked out from the lines you supplied and understand it all now.

Review Cisco Networking for a $25 gift card