MDS 9000 cli structure query

Hi all,
I have been reading the following documentation:
Cisco MDS 9000 Family CLI Configuration Guide, Release 4.x
My question is more to do with CLI commands, so if I have posted to the wrong forum let me know where I should have posted my question and I'll imediately take action.
Question: Can CLI commands be performed on one line?
For example, to create a a VSAN the documentation shows a number of separate rules:
1) vsan database
2) vsan 2
3) vsan 2 name TechDoc
It seems rule 3 is dependent on having entered into a specifc submode from entering rules 1 and 2 first.
Could a single rule have been written?
vsan database vsan 2 name TechDoc
Similarly, to create a Zone:
1) zone name Zone1 vsan 3
2) member ip-address 10.15.0.0 255.255.0.0
Could the following have been written?
zone name Zone1 vsan 3 member ip-address 10.15.0.0 255.255.0.0
The reason I ask, is that I am also looking at the following documentation:
Cisco MDS 9000 Family Command Reference, Release 5.x
and it appears to suggest rules can be defined in one swoop. For example with the vsan database command it seems to also have the vsan-id and interfaces, ports and so forth all included:
vsan database vsan vsan-id [interface fc slot/port | fcip fcip-id | fv slot/dpp-number/fv-port | iscsi
slot/port | port-channel portchannel-number.subinterface-number} | interop [mode]
[loadbalancing {src-dst-id | src-dst-ox-id}] | loadbalancing {src-dst-id | src-dst-ox-id} |
name name [interop [mode] [loadbalancing {src-dst-id | src-dst-ox-id}] | loadbalancing
{src-dst-id | src-dst-ox-id} | suspend [interop [mode] [loadbalancing {src-dst-id |
src-dst-ox-id}] | loadbalancing {src-dst-id | src-dst-ox-id}] | suspend [interop [mode]
[loadbalancing {src-dst-id | src-dst-ox-id}] | loadbalancing {src-dst-id | src-dst-ox-id}]]
I also notice that there seems to be multile commands that can be used to achieve the same thing:
For example, command "vsan database" has an option to specify an interface:
Again aplogies for perhaps ridiculus questions, but I am just starting out with this area. Any inights are greatly welcomed.
regards,
Brian

Hi Vu Phan,
Thanks for responding.
Would it be possible for someone to run such a command on a MDS 9000 switch and send me the output.
I actually do not have access to a physical switch (academic budget constrains). I am an academic who wishes to construct a formal model and would like to be able to model the CLI in real world terms and not from a typical academic view of the world (often an abstraction of an already abstracted view of the world) :-)
Jumping back to my original question, is it possible to perform two or three rules in one rule? Presumably there will be cases where it is and is not possible.
Many thanks,
Brian.

Similar Messages

  • Using bind in CATSEARCH structured query

    We used to bind the whole query string inside CATSEARCH, like this:
    AND CATSEARCH(a.title, 'test', :s_query) > 0
    and bind s_query to 'id = 1234', and so on.
    However, it looks like the statement cache does not like this kind of query, and will cache a statement for every variations of s_query. It turns out we have hit the performance bottleneck for this SQL.
    Is there a way to bind a parameter inside the structured query in CATSEARCH, like 'id = :my_id', so that only 1 instance of the SQL is cached? Or any other suggestions?
    Thanks in advance,
    Jason

    There is no way to pass partial bind variables as the
    structured part of catsearch.
    Using a bind variable for the entire structured part
    should cache only one of the sql. You're probably seeing
    the internal queries that the ctxcat index does on its $I
    table. Right now there's no way to get around that, except
    of course turning on cursor sharing.

  • What is the best practice for QOS in an MDS 9000 environment for the FCIP traffic?

    Our storage group is implementing an MDS 9000 FCIP environment.  The person configuring the Nexus equipment is asking what QOS markings and bandwidth requirements should be used for the FCIP traffic.
    Is there a document that describes the QOS recommendations for MDS FCIP?

    Hello
    You can change the DB isolation level to Read uncommitted
    http://technet.microsoft.com/en-us/library/ms378149(v=sql.110).aspx
    or use WITH (NOLOCK)
    I do use NOLOCK option for the dirty reads to avoid locks on the tables
    Javier Villegas |
    @javier_vill | http://sql-javier-villegas.blogspot.com/
    Please click "Propose As Answer" if a post solves your problem or "Vote As Helpful" if a post has been useful to you

  • ISCSI-to-FC routing in Cisco MDS 9000 Family

    Hi,
    I'm puzzled about support for iSCSI-to-FC routing in the MDS 9000 family. Earlier hardware such as the 9216i switch and the MPS-14/2 module had a feature to allow an iSCSI Initiator to connect transparently to an FC target. This equipment is now EOL and has been replaced by models such as the 9222i switch and the 18/4 Port Multiservice Module. The datasheets for these replacements strongly imply that they support iSCSI-to-FC routing in a similar way to the earlier products - for example "iSCSI for extension of the SAN to Ethernet attached servers - Extends the benefits of Fibre Channel SAN-based storage to Ethernet attached servers".
    I tried to find some hard technical info to confirm this. Chapter 4, "Configuring iSCSI" in "Cisco MDS 9000 Family NX-OS IP Services Configuration Guide Release 5.0(1a)" says that the feature is only available on the IP Storage Module, the 9216i switch, and the MPS-14/2 module, all of which are now EOL. It doesn't mention the replacement models in connection with this functionality, though they are mentioned elsewhere in the book for other features such as FC over IP. I've searched for documentation of the iSCSI support on the new models and the only document which seems relevant is this chapter - but it says it doesn't apply to these models.
    Do the replacement models support iSCSI-to-FC routing or not? The datasheets use wording nearly identical to the earlier models in this area, so I assume they do. If they do, how is it configured and where is it documented? I sent feedback on this to the documentation feedback address a while ago, but haven't had a reply.
    Many Thanks,
                                jjf

    The "Configuring iSCSI" chapter in both 3.3.3 and 4.1.1 documentation similarly talk about IPS and 14/2 modules but make no mention of 18/4, however I've used iSCSI on the 18/4 with both releases. I can only guess the same is true for 5.0 since I have yet to load 5.0 on any switches.
    In terms of other documentation I don't think there is any, but all the required information is presented in the "Configuring iSCSI" chapters however it's not the easiest thing to understand from the documentation. Following is the overview I sent to a teammate on how to setup iSCSI.
    1. configure Ethernet ports with ip addresses
      1a. add a route to the host, iSCSI client, via the gigabit interface 2. enable iscsi on the switch
      2a. enable iscsi on the module with the gige port
      2b. 'no shut' the iscsi interface corresponding to gige port
          e.g. gige3/4 -> iscsi3/4
      2c. no additional configuration of the interfaces is needed, although at some point turning on authentication would be a good idea
    3. create iscsi initiator
      3a. use the clients ip address as the initiator name, using the node name would be better but I haven't tried it that way so ymmv
          e.g. 'iscsi initiator ip-address xxx.xxx.xxx.xxx'
      3b. use a "system assigned" nwwn and set it static
          e.g. 'static pWWN system-assign'
      3c. allocate one "system assigned" pwwn and set it static
          e.g. 'static pWWN system-assign 1'
      3d. assign vsans, an iscsi initiator can be in more than one vsan
          e.g. 'vsan xxx'
    4. create targets
       spcsw1(config)# iscsi virtual-target name iqn.000190300646.fa02cb
       spcsw1(config-iscsi-tgt)# pwwn 50:06:04:8a:d5:f0:79:a1
       spcsw1(config-iscsi-tgt)# initiator ip address xx.xx.xx.xx permit
    5. zone the iscsi initiator's pwwn to the target pwwns, use 'sh iscsi initiator configured' to see the pwwn
    6. configure the hosts iscsi initiator, usually not much more than specifying the ip address of the gige port on the MDS

  • Does cisco MDS 9000 switch by default set a little higher R_T_TOV?

    Hi, All:
    Not sure anyone has done LOS for cisco MDS 9000 switch before. I tried to insert code violation which is equal to 103ms but only see link reset but not NOS/OLS. is it because that Cisco MDS has default higher ? Or can we set R_T_TOV on switch?

    Hi Larry - [this|http://lists.apple.com/archives/usb/2008/Oct/msg00021.html] was the only thing I could find about transactions timing out, but since you don't have anything plugged in, it really doesn't apply. Have you tried resetting your SMU?
    If that doesn't work, run Disk Utility from your install disc and see what it comes up with. Your suspicion that the MB may be faulty is probably correct, and if you are still within the 90 day warrant period, you should call the repair place and have them replace it yet again.

  • TKL MDS 9000 Best Practices Discussion

    TKL MDS 9000 Configuration best practice discussion forum
    This is a discussion forum for TKL and other customers who would like to ask for questions around best practices followed for configuring the MDS 9000 platform a core in Data Center storage networks.
    The experts Joe Kastura and Venkat Kris  : Technical Leads from Advance Services team will be answering your questions.
    (Please post your question to the chat session).  

  • The Cisco MDS 9000 Port Analyzer Adapter

    Hi,
    At my client place, we are having an issue with BackUp via TSM and a library.
    We would like to analyse the traffic that pass in the Fiber Channel of our MDS-9513.
    From what we saw, Wireshark, our soft to analyse network traffic is only using NIC card to analyse.
    Is the only way to analyse the FC traffic to pass via "The Cisco MDS 9000 Port Analyzer Adapter" ?
    If that is the only way, is there a way tor ent this equipment for the time necesery to analyse our trace ?
    Thank you in advance for you help.
    Christian Carrier

    The Cisco Traffic Analyzer provides real-time analysis of SPAN traffic or analysis of captured traffic through a Web browser user interface. Traffic encapsulated by one or more Port Analyzer Adapters can be analyzed concurrently with a single PC and ntop, which is public domain software enhanced by Cisco for Fibre Channel traffic analysis. This Cisco Traffic Analyzer solution enables you to quickly determine the throughput for traffic between specific Fibre Channel sources and destinations, all traffic in a particular Virtual SAN (VSAN), or all network traffic. Round trip response times, SCSI I/Os per second, SCSI read vs. write traffic throughput and frame counts, SCSI session status and management task information are provided. Additional statistics are also available on Fibre Channel frame sizes and network management protocols.
    For further information click this link.
    http://www.cisco.com/en/US/products/hw/ps4159/ps4358/products_data_sheet09186a0080142d34.html#wp1002317

  • Mathematical Theory of Structured Query Language?

    Hi, gurus.
    I'm very interested in the mathematical theory of structured query language.
    Could anyone recommend me some books or sites on the mathematical theory of structured query language?
    Thx, in advance.

    Simply google "relational algebra".
    Regards...

  • Wildcard_maxterms ignores structured query in CATSEARCH

    If I search on basic wildcard, like ra*, I am getting the DRG-51030 error even for searches where the structured query would limit the return to a handful of rows.
    is this by design, or is this a bug? I understand I can increase the wildcard_maxterms parameter but I want to make sure I got it right before I do that

    The query expands to include the number of matching terms in your ctxcat index, regardless of other filter conditions, so you need to increase the wildcard_maxterms parameter or use something more specific than ra*.

  • Data guard directory structure query

    my OS IS WINDOWS2003
    ORACLE VERSION 10GR1
    i have a query regarding directory structure.What i did is i kept exactly the same directory structure on both primary and standby..please clear me on that
    Its what i did
    Primary SID- PROD
    Directory--- D:\oracle\product\10.2.0\PROD\abc.dbf(all datafiles,redo,control are in this directory)
    Archive location on Primary D:\PROD\ARCHIVE\.arc(all archives)
    Now what i did on standby.i created different sid--PROD2
    But i have kept exactly the same directory structure on standby too as
    datafiles in D:\oracle\product\10.2.0\PROD\abc.dbf(all datafiles)
    Archive location on standby D:\PROD\ARCHIVE\.arc(all archives).
    As i kept the same directory structure so i didnot set parameters db_file_name_convert and log_file _name_convert
    Please clear me on this before i move forward to check for archive shipping because i get confused that may be i followed wrong and i should have kept as
    Standby datafiles = d:\oracle\product\10.2.0\prod2\.dbf
    standby archives = d:\prod2\archive
    please tell.i really need your reply urgently
    can this approach of same directory structure affect the primary in bad way or is that fine

    please clear me on my above note
    i have taken the same directory structure as it was on primary even the sid name in directory is same.
    PRIMARY SID= PROD
    STANDBY SID =PROD2
    but datafiles,redo,control and archive location i have kept the same sid as of primary.
    D:\oracle\product\10.2.0\PROD\.dbf
    D:\oracle\product\10.2.0\PROD\.ctl
    D:\oracle\product\10.2.0\PROD\.redo
    i just changed control file with standby and also i did not created standby redo's as i read in document its needed for switchover.so i thought i 'll create later on.
    i am getting error in trace file of standby
    0ra-19527 physical standby redo log must be renamed
    ora-00312 online log 1 thread 1: D:\oracle\product\10.2.0\oradata\prod\reo01.log
    error 19527 creating /clearing online redo logfile 1

  • Import structure query

    hi gurus,
    In a se37 function builder i have a structure in the import paramter
    ie i am getting list of client in the import
    how i can write the query to get the details of the list of client
    it says the error as
    "it" must be a flat structure. You cannot use internal
    tables, strings, references, or structures as components. -
    senthil.

    u have to write the select condition as per mentioned in my last post
    second option can be tht u can have a loop at the internal table having clients and inside loop u can fetch the client details one by one like -
    loop at itab.
    select single * from KNA1 into corresponding fields of itab1 where Mandt = itab-mandt.
    endloop.
    second option will degrade ur performance so use the first one only.
    amit

  • Two Structure Query with APD

    I am using a query which has two structures within APD and got an error during activation.
    I found OSS note 751577 which explains the workaround for queries with two structures, even though I added additional columns as suggested in the note I am still getting the error message during activation.
    Let me know if anyone was able to get queries with two structure working with APD.
    Thanks!
    -Deepu

    Hi Thomas,
    I have a query with 2 structures. Note 751577,
    The Analysis Process Designer supports only queries with one structure, the structure for key figures.
    Check whether your query includes two structures.
    If it does, the following workaround is available: Multiply the number of rows by the number of columns.
    If a query has four rows and five columns, you must create twenty columns, for example, to make a permitted query available.
    I tried this workaround as mentioned but still end up getting the same error msg.
    Could you please help me?
    Regard,
    Rohit
    Edited by: rohitmulay on Mar 31, 2011 7:00 AM

  • Global Org Structure query

    Hello,
    I have one query regarding creating Org Structure. We are setting up one global org structure for 10 countries.
    The org structure format is as follows -
    Root org unit
    Company
    --- Division
        --- Department
             --- Country
    We have created the sub org units as per each country under each department e.g. sub org units India, US, UK under org unit Product Development . Currently each country has one company code except India. India has 3 company codes. So do I need to create 3 different org units for India to assign proper cost centers and company code.
    Also for the departments existing only in one country, do I need to create a sub org unit for that country. e.g. org unit Product Management exist only in US, so whether to create sub org unit US under Product Management or directly assign staff assignments at org unit product management?
    Please reply.
    Thanks in advance.

    Hi Dilek,
    As per you suggestion, I need to create 3 sub org units for 3 company codes in India under org unit Prod Management (department), is this correct.
    So the org structure will look like below -
    Global Company (root org unit)
    --- Division (Customer Support)
      Function (R&D)
    Department (Product Management)
    Company code (IN01)
    Company code (IN02)
    Underneath sub org unit IN01 and IN02 will be staff assignments.
    Can I get your email id so I can send you the screenshot of the org structre created.
    Thanks.

  • Complex Tree Structure Query

    Hi,
    I have a table which contains the hierarchial data upto 4 levels. I needed to have the information of all the four levels in a row, so I created 3 tree structured views and one another view using the tree structured views as below
    --To get the great grand parent id for the children*
    CREATE OR REPLACE VIEW VR_PO_TREE AS
    SELECT LEVEL pathlength,
    connect_by_root partner_organization_id root_po,
    partner_organization_id,
    partner_common_name,
    partner_organization_type
    FROM partner_organization po
    START WITH po.org_entity_above_id IS NULL
    CONNECT BY PRIOR po.partner_organization_id = po.org_entity_above_id
    ORDER BY po.partner_organization_id;
    -- level 2 (grant parent) id
    CREATE OR REPLACE VIEW VR_PO_AREA_TR AS
    SELECT LEVEL pathlength,
    connect_by_root partner_organization_id root_po,
    partner_organization_id,
    partner_common_name,
    partner_organization_type
    FROM partner_organization vcpo
    START WITH vco.partner_organization_type = 'AREA'
    CONNECT BY PRIOR vcpo.partner_organization_id = vcpo.org_entity_above_id
    ORDER BY vcpo.partner_organization_id;
    --level 3 (parent) id*
    CREATE OR REPLACE VIEW VR_PO_REGION_TREE AS
    SELECT LEVEL pathlength,
    connect_by_root partner_organization_id root_po,
    vcpo.partner_organization_id,
    vcpo.partner_common_name,
    vcpo.partner_type
    FROM partner_organization vcpo
    START WITH vcpo.partner_organization_type = 'REGION'
    CONNECT BY PRIOR vcpo.partner_organization_id = vcpo.org_entity_above_id
    ORDER BY vcpo.partner_organization_id;
    ---and finally created a view to have all the levels in a single row
    CREATE OR REPLACE VIEW VR_PO_ALL_TREE AS
    SELECT pot.pathlength,
    po.partner_organization_id,
    po.partner_common_name,
    pot.root_po int_partner_org_id,
    pot.intl_po_name int_partner_common_name,
    vpat.root_po area_partner_org_id,
    vpat.area_po_name area_partner_common_name,
    vprt.root_po region_partner_org_id,
    vprt.region_po_name region_partner_common_name
    FROM partner_organization po
    JOIN vr_po_tree pot
    ON pot.partner_organization_id = po.partner_organization_id
    LEFT outer JOIN vr_po_area_tr vpat
    ON vpat.partner_organization_id = po.partner_organization_id
    LEFT OUTER JOIN vr_po_region_tree vprt
    ON vprt.partner_organization_id = po.partner_organization_id;
    All the views are working fine, very fast, giving the expected output.
    if we make a join to the view vr_po_all_tree in a query that also works fine. However, if we make an outer join to a query that has the join to vr_po_all_tree, Oracle throws an internal error - Ora-00600 internal error codes, arguments [qrctce1], [0],[0],.....
    Is the view vr_po_all_tree is cause for this problem?, in such a case can any one help me to rewrite the view with a simple query to give the same results?
    Thanks in advance.
    Nattu
    Edited by: Nattu on Nov 26, 2009 8:25 PM
    Edited by: Nattu on Nov 27, 2009 11:48 AM
    Edited by: Nattu on Nov 27, 2009 11:55 AM

    Hi,
    if we make a join to the view vr_po_all_tree in a query that also works fine. However, if we make an outer join to a query that has the join to vr_po_all_tree, Oracle throws an internal error - Ora-00600 internal error codes, arguments [qrctce1], [0],[0],.....
    Is the view vr_po_all_tree is cause for this problem?As Sven said, ORA-00600 is the sign of some low-level problem, and you should seek a solution from Oracle support. Your views are not the cause of this problem; most likely, the views trigger something that would not be a problem except for a installatin problem or maybe a bug.
    We can try to find a work-around for you, but don't ignore the problem.
    in such a case can any one help me to rewrite the view with a simple query to give the same results?It seems very likely that you could do something that didn't involve so many CONNECT BYs and outer joins.
    Post some sample data (CREATE TABLE and INSERT statements) and the results you want from that data.
    Simplify as much as possible. For example, in the first view you say:
    CREATE OR REPLACE VIEW VR_PO_TREE AS
    SELECT LEVEL pathlength,
    connect_by_root partner_organization_id root_po,
    connect_by_root partner_common_name intl_po_name,
    connect_by_root is_wbti is_wbti,
    connect_by_root is_sil_int is_sil_int,
    connect_by_root organization_entity_code int_org_entity_code,
    org_entity_above_id, partner_organization_id,
    partner_organization_type,
    sys_connect_by_path(partner_organization_id, '\') po_path_id,
    sys_connect_by_path(partner_common_name, '\') po_path_name
    FROM ...That is, you're selecting 1 pseudo-column (LEVEL), 4 CONNECT_BY_ROOTs, 3 plain columns, and 2 SYS_CONNECT_BY_PATHs.
    Can you post a problem with just one of each: 1 pseudo-column, 1 CONNECT_BY_ROOT, 1 plain column, and 1 SYS_CONNECT_BY_PATH?  Adding the others later should be easy.
    Any information you can give about the data would be helpful.
    In particular,
    (a) Can org_entity_above be NULL on the same row where partner_organization_type is 'AREA' or 'REGION'?
    (b) How many ancestors with partner_organization_type = 'AREA' Can a node have? 1? No more than 1?  1 or more? 0 or more?
    (c) Same for 'REGION'.  How many ancestors with partner_organization_type = 'REGION' Can a node have? 1? No more than 1?  1 or more? 0 or more?
    (d) Can a node with partner_organization_type = 'REGION' be the ancestor of a row with partner_organization_type = 'AREA'?
    (e) Other way around: can a node with partner_organization_type = 'AREA' be the ancestor of a row with partner_organization_type = 'REGION'?
    Some of these questions may seem silly to you, because you know the table and the data so well.  I don't, so you'll have to explain things.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • How to delete entire data from MDS UI using SQL query or Using SSIS

    Hi All,
    Using SSIS i loaded data in MDS UI(Subcription view),I want when i execute my package next time and load data in MDS it should be blank or data should not be in UI.

    Hi
    please checked following url to insert data  in your MDM
    http://msdn.microsoft.com/en-us/library/jj819772.aspx

Maybe you are looking for