cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
4098
Views
30
Helpful
13
Replies

How to change a zone?

EricGaoDBA
Level 1
Level 1

Dear Experts,

There's two Cisco MDS 9***,they're be used in multi-path environment.

Now I have to change the port on the server ,from port 1 to port 3.So,zone changing is needed.

How can I deal with it?

1.Changing the zone member ?

2.Add a new zone with the port3 and previous ports ?

And my colleagues are very interested in zone deleting option,can you give an simple example?Is there any difference between single and multi-path environment ?

Thanks a lot !

1 Accepted Solution

Accepted Solutions

# config t

# zone name EricGao vsan 10

# no member pwwn 10:**:**:**:**:**:**:**:**:25   ( old WWN you want to remove)

# member pwwn 10:**:**:**:**:**:**:**:**:27 (new WWN you want to add)

# zoneset activate name <zonesetname>  vsan 10

@dynamoxxx

View solution in original post

13 Replies 13

dynamoxxx
Level 5
Level 5

how do you zone today ?  If you are using WWN based zoning you don't need to do anything.

@dynamoxxx

Yes,WWN based zoning.

The port 1 and port 3 are on different hba card,they have different WWN.

ok, you are changing host HBAs ports.  Are you using fcalias or device alias  ? If you are using fcalias you just need to remove the old WWN from that alias and add the new one, activate the zone set and you are done.  If you using device alias you will need to delete/re-create device alias using the new WWN, add it to the zone and reactivate the zone set.

@dynamoxxx

Here is the zone:

  zone name EricGao vsan 20
  * fcid 0x0c0001 [pwwn 10:**:**:**:**:**:**:**:**:25]
  * fcid 0x0c0002 [pwwn 10:**:**:**:**:**:**:**:**:18]
  * fcid 0x0c0003 [pwwn 10:**:**:**:**:**:**:**:**:ba]

can you share "sh running-config" , at least  for that specific zone.

@dynamoxxx

sh running-config:

zone name EricGao vsan 10
member pwwn 10:**:**:**:**:**:**:**:**:25
member pwwn 10:**:**:**:**:**:**:**:**:18
member pwwn 10:**:**:**:**:**:**:**:**:ba

Thank you.

Ok, so find the zone you need to update, remove the old WWN , add new WWN and activated the zoneset and are all set. You might have to do additional work on the storage array itself to make the new WWN is being used for masking/presentation. You will need to use your host multipathing software to validate you have path redundancy back.

@dynamoxxx

Dynamoxxx,you are so considerate.Thanks a lot !

I have a further question:

How can I update the zone? Is there an update command? or Just create a new zone containing the new WWN and then delete the old zone?

cli or DCNM ?

@dynamoxxx

Cli

# config t

# zone name EricGao vsan 10

# no member pwwn 10:**:**:**:**:**:**:**:**:25   ( old WWN you want to remove)

# member pwwn 10:**:**:**:**:**:**:**:**:27 (new WWN you want to add)

# zoneset activate name <zonesetname>  vsan 10

@dynamoxxx

Dynamoxxx,Thanks again for your kind help !

no worries, good luck.

@dynamoxxx