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

Zones & Zonesets in running config question, MDS 9148, version 6.2

Marc Landry
Level 1
Level 1

Hello,

I don't understand why the "do clear zone database vsan10" line appears in the running config with respect to zones and zonesets. Why is it here? I understand that the config shows us the active and the full Zone databases, but why the clear message? What is its purpose here?

Thank you

 

zone smart-zoning enable vsan 10
!Active Zone Database Section for vsan 10
zone name Cluster_SmartZONE vsan 10
    member pwwn xx:xx:xx:xx:xx:xx:xx:xx target
!               [SF_Node0_FC1]  

.....

.....

....

 

zoneset activate name Prod_ZONESET_1 vsan 10
do clear zone database vsan 10
!Full Zone Database Section for vsan 10
zone name Cluster_SmartZONE vsan 10
    member pwwn xx:xx:xx:xx:xx:xx:xx:xx target
!               [SF_Node0_FC1]
.....

....

.....

3 Replies 3

Walter Dey
VIP Alumni
VIP Alumni

Hi Marc

I checked this with other MDS or N5k configuration. Is perfectly ok !

zoneset activate name VPLEX-Frontend-b vsan 200
do clear zone database vsan 200

After the clear...

all the zones are defined

all the zones are included in the zoneset

and finally there is a "zone commit vsan 200"

Therefore you have a clean configuration, without any dead zones that have been entered with

"conf t" and not committed.

Walter.

OK, thank you for letting me know you have it in your config as well.

Do you happen to know why it is there? It looks counter intuitive to show a clear command in the config.

I was finally able check an older config code ver 5.0 and it does not show the clear zone database. It does not show the active zones either. Interesting differences.

Thanks again

 

!Full Zone Database Section for vsan 1
zone name Z_FC1_4_FC1_1_V1 vsan 1
    member pwwn xx:xx:xx:xx:xx:xx:xx:xx
!               [ahvmnbsvr02_FC2]
.....

......

 

zoneset name ZONESET_V1 vsan 1
    member ahvmnbsvr01_zone
    member ahvmnbsvr02_zone

zoneset activate name ZONESET_V1 vsan 1

 

 

Hi Marc

This was a N5k version 5.0(7) configuration.

and I use enhanced zoning (which set logs, and therefore requires commit at the end)

system default zone distribute full
system default zone mode enhanced
zone mode enhanced vsan 200

Walter.

PS. as I mentioned before, the clear command sets up a clean configuration; however, why it is done is also not totally clear to me.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: