UNSOLVED

cool-Wn6_9

updated

18 years ago

CW

cool-Wn6_9

29 Posts

0

1271

August 21st, 2008 20:00

Pushing Zonesets using CLI

Can someone please help me how to push the zoning in cisco switch using CLI?
  • dynamox

    11 Legend

    20419 Posts

    87439 Points

    517

    0

    Posted August 21st, 2008 21:00

    Create Aliases

    1.Conf T
    2.Fcalias name [SERVER_NAME_HBAx] vsan [XX]
    3.Member pwwn [world wide name]
    4.Exit
    5.end

    Create Zones

    1.Conf t
    2.Zone name [ZNE_SERVER_STORAGE] vsan [XX]
    3.Member Fcalias [SERVER_NAME]
    4.Member Fcalias [STORAGE_NAME]
    5.Exit

    Add Zone to Active Zoneset

    1.Zoneset name set[XX] vsan [XX]
    2.Member [ZNE_SERVER_STORAGE]
    3.End

    Activate Zoneset

    1.Conf t
    2.Zoneset activate name set[XX] vsan [XX]
  • RRR

    6 Operator

    5739 Posts

    517

    0

    Posted August 22nd, 2008 01:00

    Can this be set up as the default, so each new zoneset activation, alias change/addition or zone change/addition is distributed automatically ?
  • RRR

    6 Operator

    5739 Posts

    517

    0

    Posted August 22nd, 2008 01:00

    And how to distribute a zoneset to all other switches ? Or can you enable this being the default (such as in Brocade) ?
  • Gart1

    10 Posts

    517

    0

    Posted August 22nd, 2008 01:00

    conf t
    zoneset distribute full vsan XX
  • Gart1

    10 Posts

    517

    0

    Posted August 22nd, 2008 06:00

    It can but I cannot remember the commands to set this parameter.
  • RRR

    6 Operator

    5739 Posts

    517

    0

    Posted August 22nd, 2008 07:00

    :(


    And in the GUI ?
    I wonder why on Earth you wouldn't want such a change distributed to all other switches.
  • AranH1

    2163 Posts

    517

    0

    Posted August 22nd, 2008 10:00

    You might also consider using device aliases instead of fcaliases. The fcalias is specific to each vsan, but the device-alias is available to all the vsans on the switch. You create them using the device-alias database:

    conf t
    device-alias database
    device-alias name pwwn
    device-alias commit
  • cincystorage

    2 Intern

    467 Posts

    517

    0

    Posted August 27th, 2008 09:00

    Can this be set up as the default, so each new
    zoneset activation, alias change/addition or zone
    change/addition is distributed automatically ?


    If you turn on enhanced zones, I'm thinking that may happen automatically...
  • RRR

    6 Operator

    5739 Posts

    517

    0

    Posted August 31st, 2008 12:00

    Will try
    Thank you
  • shewitt1

    45 Posts

    97

    0

    Posted September 2nd, 2008 08:00

    When I first started working on the MDS, I did everything via the CLI. My background is in Cisco IP networking, so it was natural. Once I gave Fabric Manager a try, I was hooked. My favorite thing about fabric manager is how you can preview the zone changes before applying them. This has saved me a couple times when the activation would have deleted a zone I wanted in there.

    The other reason I like it is because one time I had a typo when activating a zoneset. If you accidentally mistype the zone name or the VSAN number (assuming you type in a valid name or number) you can activate the wrong zoneset on the wrong VSAN. Generally this is a very bad thing. ;-)

    By using the FM GUI, I protect myself from that very dangerous typo and get to preview the changes. I still use the CLI for certain tasks, but I'm sold on FM for zoning changes.