Brocade Management Software Community

Expand all | Collapse all

BNA API: Fabric name appears only on primary switch

  • 1.  BNA API: Fabric name appears only on primary switch

    Posted 10-13-2017 03:54 AM

    Hello,

     

    By using the command below to retrieve fabric information, ecverything is fine except the Fabricname.

    The FabricName result is appearing only on principal switch, not on other memebers of Fabric. 

    http:///rest/resourcegroups/All/fcfabrics/10:00:00:05:1E:A7:1F:EB

     

    Can someaone help?

     

    Best regards.

    Nordin.


    #BrocadeManagementSoftwareCommunity


  • 2.  Re: BNA API: Fabric name appears only on primary switch

    Posted 10-13-2017 04:27 AM

    Hi,

     

    when I check REST API docs, the examples there only lists the fabric name for the principal switch. mm, What version of BNA and FOS are you using? I assume that you see the fabric name in all switchshow output as well in the fabricshow ?


    #BrocadeManagementSoftwareCommunity


  • 3.  Re: BNA API: Fabric name appears only on primary switch

    Posted 10-13-2017 07:32 AM

    Hi Martin,

     

    The BNA version is 14.3.0 and FOS is V7.4.1d.

    Below output of fabricshow and switchshow.

     

    SSAN01:FID10:fts> fabricshow
    Switch ID   Worldwide Name          Enet IP Addr    FC IP Addr      Name
    -------------------------------------------------------------------------
      1: fffc01 10:00:c4:f5:77:aa:0e:99 10.176.0.61     10.176.0.63    >"SSAN01"
      3: fffc03 10:00:c5:55:77:aa:7e:31 10.176.0.71     10.176.0.73     "SSAN10"

    SSAN01:FID10:fts> switchshow
    switchName:     SSAN01
    switchType:     133.0
    switchState:    Online
    switchMode:     Native
    switchRole:     Principal
    switchDomain:   1
    switchId:       fffc01
    switchWwn:      10:00:c4:f5:77:aa:0e:99
    zoning:         ON (fts_fab_1)
    switchBeacon:   OFF
    FC Router:      OFF
    HIF Mode:       OFF
    Allow XISL Use: ON
    LS Attributes:  [FID: 10, Base Switch: No, Default Switch: No, Address Mode 0]

     

    SSAN10:FID10:fts> fabricshow
    Switch ID   Worldwide Name          Enet IP Addr    FC IP Addr      Name
    -------------------------------------------------------------------------
      1: fffc01 10:00:c4:f5:77:aa:0e:99 10.176.0.61     10.176.0.63    >"SSAN01"
      3: fffc03 10:00:c5:55:77:aa:7e:31 10.176.0.71     10.176.0.73     "SSAN10"

     

    SSAN10:FID10:fts> switchshow
    switchName:     SSAN10
    switchType:     133.0
    switchState:    Online
    switchMode:     Native
    switchRole:     Subordinate
    switchDomain:   3
    switchId:       fffc03
    switchWwn:      10:00:c5:55:77:aa:7e:31
    zoning:         ON (fts_fab_1)
    switchBeacon:   OFF
    FC Router:      OFF
    HIF Mode:       OFF
    Allow XISL Use: ON
    LS Attributes:  [FID: 10, Base Switch: No, Default Switch: No, Address Mode 0]

     

    Best regards.

    Nordin?


    #BrocadeManagementSoftwareCommunity


  • 4.  Re: BNA API: Fabric name appears only on primary switch

    Posted 10-18-2017 06:34 AM

    Hi Nordin,

     

    I justed tested with 14.3.0 and 8.x, and when I run the query

     

    http:///rest/resourcegroups/All/fcfabrics/

     

    I get the list of fabrics, as represented by their principal switches and with fabric name listed (set by CLI: fabricname).

     

    When I then take one fabric, e.g.

     

    http://

     

    I get the information for this fabric, and it principal list. When I list all switches in this fabric with

     

     http://

     

    I am not getting any fabricname information. Fabric name seems to be tied to the fabric (represented by the principal switch).

    And not on the individual switches in the fabric.


    #BrocadeManagementSoftwareCommunity