Tuesday, August 6, 2013

CISCO ZONING STEPS THROUGH CLI

 CISCO ZONING STEPS THROUGH CLI 
                              ====================================

Once we have logged in the switch , we need to switch to configuration mode to make changes. " Config Terminal " or "config t " takes to the configuration mode. 

We can execute the normal commands to list configurations through normal mode only. Config mode is ony to make changes in the current configuration. 

Below is the process how to create zoning in Cisco through CLI. Also refer link " http://www.cisco.com/en/US/docs/storage/san_switches/mds9000/sw/san-os/quick/guide/qcg_zones.html" for better understanding 

- Create Alias 
==============
     
FTDCOSAN01(config)# fcalias name webisstg70 vsan 3           ## creates alias with name of server ## 
FTDCOSAN01(config-alias)# member pwwn <port wwn no>          ## adds the wwn of the server in the alias ## 
FTDCOSAN01(config-alias)#exit 

## Fcalias created with name webisstg70 ## 

- Create Zone 
================

FTDCOSAN01(config)# zone name zone_webisstg70 vsan 3         ## creates zone ## 
FTDCOSAN01(config-zone)# member fcalias FTDC04portB          ## adds Storage box port ( alias ) in the zone 
FTDCOSAN01(config-zone)# member fcalias webisstg70           ## adds server wwn ( alias ) in the zone 
FTDCOSAN01(config-zone)# exit

## Zone has been created with FTDC04portB and webisstg70 as members ## 

## You can check the storage box port alias by using command " fcalias show " ( will run on normal prompt ) ## 

- Add zone to zoneset 
=========================

Check the currently active zoneset first 

TDCOSAN01# show zoneset
zoneset name OddDisk_zoneset vsan 3
zone name zone_ftdcsarbapp02 vsan 3
fcalias name FTDC03portB vsan 3
pwwn 50:06:0e:80:10:22:99:21

So "OddDisk_zoneset" is the active zoneset. We need to add the zone in this zoneset 


FTDCOSAN01(config)# zoneset name OddDisk_zoneset vsan 3     ## gets in the config for this zoneset ## 
FTDCOSAN01(config-zoneset)# member zone_webisstg70          ## adds the zone create in previous step to the active zoneset ## 

- Activate the zoneset 
=============================

## Now we need to activate the modified zoneset ## 

FTDCOSAN01(config)# zoneset activate name OddDisk_zoneset vsan 3

##  IMPORTANT : If the above changes have been made properly , it will show you activating zoneset, otherwise it will give message that no change has been made to zoneset ## 

- Checking the configuration 
================================

## Crosscheck if your zone is showing in the active configuration ## 


" show zone active "  or   "show zoneset active " will show you the active zone configuration. We have to make sure that the zone listed in the output has the entries as we wanted it to have :) 

5 comments:

  1. Hi There,
    Thank you for sharing knowledgeable blog with us i hope that you will post many more blog with us :)
    We provides best services online As Like shutdown unix command, brocade zoning commands, types of zoning in san, cisco zoning commands, vmax3 provisioning steps, snapvx,

    Contact Us:-
    Email:- contact@sajidiqubal.com

    READ MORE....

    ReplyDelete
  2. Hi There,
    Thank you so much for the post you do and also I like your post,we have a well-detailed comparison guide on all major blogging sites and the most comprehensive guide on choosing the best blogging platform, here you can see VMware vSAN 6.6 Technical Overview.
    Click here for Read more

    ReplyDelete
  3. Hi there,
    Thank you so much for the post you do and also I like your post, here we describe the technique that ought to be followed to configure San zoning over a brocade swap utilizing the CLI.
    Click here for READ MORE......

    ReplyDelete

  4. Hi There,
    Thank you for sharing the knowledgeable blog with us I hope that you will post many more blog with us:-
    The most comprehensive guide on choosing the best blogging platform. We have the good detailed comparison guide on all major blogging sites.
    Email:contact@sajidiqubal.com
    Click here for more information:- more info/

    ReplyDelete