Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Cisco Employee

Clear MDS zoning

Hello

I have MDS 9148 configured with zonesets and zones, what is the quickest way to delete all zones and its zonesets rather than deleting each one by one.

thanQ.

Everyone's tags (4)
1 ACCEPTED SOLUTION

Accepted Solutions
Cisco Employee

Clear MDS zoning

Hello,

you need to de-activate zoneset first

LLN01-MDS9148-Z-SW1# conf t

LLN01-MDS9148-Z-SW1(config)# no zoneset activate name sw1_zoneset_active vsan 30

LLN01-MDS9148-Z-SW1(config)# exit

LLN01-MDS9148-Z-SW1# clear zone database vsan 30

Thanks

4 REPLIES
Cisco Employee

Clear MDS zoning

Hello,

You can run the following command to clear zones/zoneset

mds# clear zone database vsan xx  (xx is van number)

Thanks

Cisco Employee

Clear MDS zoning

Here is the command o/p i tried but no luck.

ALLN01-MDS9148-Z-SW1# clear zone database vsan 30

ALLN01-MDS9148-Z-SW1# sh zoneset active

zoneset name sw1_zoneset_active vsan 30

  zone name Z_Z01_cax01-WinTest07-vhba1_A4_B5 vsan 30

    pwwn 20:10:0e:00:00:00:00:bf

  * fcid 0x261300 [pwwn 50:06:01:64:46:e0:19:a7]

  * fcid 0x261400 [pwwn 50:06:01:6d:46:e0:19:a7]

  zone name Z_Z01_cax01-WinTest09-vhba1_A4_B5 vsan 30

    pwwn 20:10:0e:00:00:00:00:9e

  * fcid 0x261300 [pwwn 50:06:01:64:46:e0:19:a7]

  * fcid 0x261400 [pwwn 50:06:01:6d:46:e0:19:a7]

o/p truncated.

Cisco Employee

Clear MDS zoning

Hello,

you need to de-activate zoneset first

LLN01-MDS9148-Z-SW1# conf t

LLN01-MDS9148-Z-SW1(config)# no zoneset activate name sw1_zoneset_active vsan 30

LLN01-MDS9148-Z-SW1(config)# exit

LLN01-MDS9148-Z-SW1# clear zone database vsan 30

Thanks

Cisco Employee

Clear MDS zoning

thank you very much, saved lot of time.

2086
Views
0
Helpful
4
Replies
CreatePlease to create content