Reset Search
 

 

Article

Can we check the Rest API output of "show fabric isl"?

« Go Back

Information

 
TitleCan we check the Rest API output of "show fabric isl"?
Question
Can we check the Rest API output of "show fabric isl"?
Environment
  • VDX Series
  • Network OS 7.00 or later
  • REST 
Answer
No, the REST API call to obtain the obtain the output of the command "show fabric isl" is not currently supported.
The REST API call that can generate a similar output with the exclusion of the neighbor "Nbr-Name" is the "show fabric trunk" command. More details on the supported REST API commands in NOS 7.0.0 can be found here.
-bash-4.2$ curl -u admin:password -kX POST http://10.26.141.239/rest/operational-state/show-fabric-trunk-info
<output xmlns='urn:brocade.com:mgmt:brocade-fabric-service'>
  <show-trunk-list>
    <trunk-list-groups>
      <trunk-list-group>1</trunk-list-group>
      <trunk-list-member>
        <trunk-list-src-port>65</trunk-list-src-port>
        <trunk-list-interface-type>Te</trunk-list-interface-type>
        <trunk-list-src-interface>3/0/2</trunk-list-src-interface>
        <trunk-list-nbr-rbridge-id>4</trunk-list-nbr-rbridge-id>
        <trunk-list-nbr-port>13</trunk-list-nbr-port>
        <trunk-list-nbr-interface-type>Te</trunk-list-nbr-interface-type>
        <trunk-list-nbr-interface>4/1/2</trunk-list-nbr-interface>
        <trunk-list-nbr-wwn>10:00:00:27:F8:5C:C6:88</trunk-list-nbr-wwn>
        <trunk-list-is-primary>True</trunk-list-is-primary>
      </trunk-list-member>
    </trunk-list-groups>
    <trunk-list-groups>
      <trunk-list-group>2</trunk-list-group>
      <trunk-list-member>
        <trunk-list-src-port>66</trunk-list-src-port>
        <trunk-list-interface-type>Te</trunk-list-interface-type>
        <trunk-list-src-interface>3/0/3</trunk-list-src-interface>
        <trunk-list-nbr-rbridge-id>1</trunk-list-nbr-rbridge-id>
        <trunk-list-nbr-port>66</trunk-list-nbr-port>
        <trunk-list-nbr-interface-type>Te</trunk-list-nbr-interface-type>
        <trunk-list-nbr-interface>1/0/3</trunk-list-nbr-interface>
        <trunk-list-nbr-wwn>10:00:50:EB:1A:3A:D7:6D</trunk-list-nbr-wwn>
        <trunk-list-is-primary>True</trunk-list-is-primary>
      </trunk-list-member>
    </trunk-list-groups>
  </show-trunk-list>
</output>
sw3# show fabric trunk 

Rbridge-id: 3

Trunk    Src      Source         Nbr        Nbr  
Group   Index   Interface       Index   Interface               Nbr-WWN
-------------------------------------------------------------------------------
 1      65      Te 3/0/2        13      Te 4/1/2        10:00:00:27:F8:5C:C6:88
 2      66      Te 3/0/3        66      Te 1/0/3        10:00:50:EB:1A:3A:D7:6D


 
Additional notes

Feedback

 

Was this article helpful?


   

Feedback

Please tell us how we can make this article more useful.

Characters Remaining: 255