cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
5186
Views
0
Helpful
4
Replies

Clear MDS zoning

ranumala
Cisco Employee
Cisco Employee

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.

1 Accepted Solution

Accepted Solutions

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

View solution in original post

4 Replies 4

Vu Phan
Cisco Employee
Cisco Employee

Hello,

You can run the following command to clear zones/zoneset

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

Thanks

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.

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

thank you very much, saved lot of time.

Review Cisco Networking for a $25 gift card