UNSOLVED

Manussnair

updated

11 years ago

M

Manussnair

1 Rookie

•

6 Posts

0

41809

April 18th, 2014 18:00

Brocade Zone Deletion from effective config

Hello,

Im new to the brocade SAN switch admin and I have been assigned a task to clean up all the unused zones. I have collected the details and used zonedelete command to delete the zones. But the zones are still showing up in the cfgsave command but when I use zoneshow command, it says , zone not present. I find it really crazy. Does anyone know what is going on with it or Im I doing something wrong. Even the zoneObjectExpunge command outputs Zone doesn't exist !!!!

  • Manussnair

    1 Rookie

    •

    6 Posts

    24404

    0

    Posted April 19th, 2014 15:00

    Yes...I enabled it and saved as well

  • Manussnair

    1 Rookie

    •

    6 Posts

    24483

    0

    Posted April 21st, 2014 09:00

    zone:  z_shasta_fc0
    zone:  z_sneezy_fc0
    zone:  z_sun2tk_fc0
    zone:  z_teton_fc0
    zone:  z_tft_fc0
    zone:  z_thetis_fc0
    zone:  z_tom_backup_fc5
    zone:  z_tom_fc3
    zone:  z_whitney_fc0
    sw48k-a:admin> zoneshow z_shasta_fc0

    "z_shasta_fc0" does not exist.
    sw48k-a:admin> zoneshow z_hyde_fc0

    "z_hyde_fc0" does not exist.

  • etaljic81

    1000 Posts

    24483

    0

    Posted April 21st, 2014 10:00

    One more thing. Once you remove the zone from the config make sure you enable and save the config:

    cfgenable "cfgname"

    cfgsave (no parameters are required; just enter cfgsave)

  • etaljic81

    1000 Posts

    2359

    0

    Posted April 21st, 2014 10:00

    The cfgenable command probably saved it automatically. You should be all set now. The zone will no re-appear again

  • etaljic81

    1000 Posts

    24483

    1

    Posted April 21st, 2014 10:00

    You need quotes because the zoneshow is looking for a pattern.

    To remove the zone from the config (i.e. zoneset): cfgremove "cfgName", "zonename"

    To delete a zone: zonedelete "zonename"

    To delete an alias: alidelete "aliasname"

  • Manussnair

    1 Rookie

    •

    6 Posts

    24483

    0

    Posted April 21st, 2014 10:00

    sw48k-a:admin> san_48ka

    sw48k-a:admin> cfgremove "san_48ka","z_shasta_fc0"

    sw48k-a:admin> zonedelete "z_shasta_fc0"

    sw48k-a:admin> cfgenable "san_48ka"

    You are about to enable a new zoning configuration.

    This action will replace the old zoning configuration with the

    current configuration selected. If the update includes changes

    to one or more traffic isolation zones, the update may result in

    localized disruption to traffic on ports associated with

    the traffic isolation zone changes

    Do you want to enable 'san_48ka' configuration  (yes, y, no, n): [no] y

    zone config "san_48ka" is in effect

    Updating flash ...

    sw48k-a:admin> cfgsave

    You are about to save the Defined zoning configuration. This

    action will only save the changes on Defined configuration.

    Any changes made on the Effective configuration will not

    take effect until it is re-enabled.

    Do you want to save Defined zoning configuration only?  (yes, y, no, n): [no] y

    Nothing changed: nothing to save, returning ...

    sw48k-a:admin>

    sw48k-a:admin>

    sw48k-a:admin> zoneshow "z_shasta_fc0"

    "z_shasta_fc0" does not exist.
    sw48k-a:admin>
    sw48k-a:admin>
    sw48k-a:admin>

    Looks like it worked it time, I hope it doesn't show up after sometime. Also, do you have any idea about how to delete a zone in the effective configuration. The sentence "

    Any changes made on the Effective configuration will not

    take effect until it is re-enabled." followed by "Nothing changed: nothing to save, returning ..." is something that appears to be confusing.

  • etaljic81

    1000 Posts

    2359

    0

    Posted April 21st, 2014 10:00

    No problem. Glad you got it to work

  • Manussnair

    1 Rookie

    •

    6 Posts

    2359

    0

    Posted April 21st, 2014 10:00

    Thank You so much Ernes

  • Manussnair

    1 Rookie

    •

    6 Posts

    24484

    0

    Posted April 21st, 2014 10:00

    That's crazy !!

    Now it is getting displayed. Do you know what is the exact procedure to delete the zones and alias which are not being used. I have tried deleting them but they are still showing up.

    zone:  z_shasta_fc0
    zone:  z_sneezy_fc0
    zone:  z_sun2tk_fc0
    zone:  z_teton_fc0
    zone:  z_tft_fc0
    zone:  z_thetis_fc0
    zone:  z_tom_backup_fc5
    zone:  z_tom_fc3
    zone:  z_whitney_fc0
    sw48k-a:admin> zoneshow "z_shasta_fc0"
    zone:  z_shasta_fc0
                    CX3_2854_SPA_FE0; CX3_2854_SPB_FE0; hitachi_1b; shasta_fc0

    sw48k-a:admin> zoneshow z_shasta_fc0
    zone:  z_shasta_fc0
                    CX3_2854_SPA_FE0; CX3_2854_SPB_FE0; hitachi_1b; shasta_fc0

    sw48k-a:admin>


  • etaljic81

    1000 Posts

    24483

    0

    Posted April 21st, 2014 10:00

    Try putting quotes around it: zoneshow "z_shasta_fc0"