logical-interface-state

Resource URIs

URI Description
<base_URI>/operational-state/logical-interface-state Displays logical interface information.

Usage Guidelines

Only GET operation is supported. Use of the Resource-Depth request header is recommended.

Examples

URI

The following example shows the complete cURL command and server response for the logical-interface-state GET operation.

http://host:80/rest/operational-state/logical-interface-state

curl -H "Accept: application/vnd.operational-state.resource+xml" -H "Resource-Depth: 6"  
-u "lab:Tester**"  http://10.20.229.40:80/rest/operational-state/logical-interface-state
<data xmlns="http://brocade.com/ns/rest" xmlns:y="http://brocade.com/ns/rest" y:self="/rest/operational-state">
<logical-interface-state xmlns="urn:brocade.com:mgmt:brocade-nsm-operational" y:self="/rest/operational-state/logical-interface-state">
  <main-interface-physical y:self="/rest/operational-state/logical-interface-state/main-interface-physical/291%2C%22%22">
    <interface-index>291</interface-index>
    <intf-name>&quot;&quot;</intf-name>
    <protocol-status>true</protocol-status>
    <admin-status>true</admin-status>
    <counters y:self="/rest/operational-state/logical-interface-state/main-interface-physical/291%2C%22%22/counters/20%2C24">
      <implicit-lifs>20</implicit-lifs>
      <explicit-lifs>24</explicit-lifs>
      <lif-type>enum=0</lif-type>
      <total-lifs>100</total-lifs>
      <protocol-status-up-lifs>50</protocol-status-up-lifs>
      <binded-lifs>90</binded-lifs>
      <unbinded-lifs>10</unbinded-lifs>
    </counters>
    <intf-type>enum=0</intf-type>
    <is-tagged>true</is-tagged>
    <port-mode>up</port-mode>
    <logical-interface-physical y:self="/rest/operational-state/logical-interface-state/main-interface-physical/291%2C%22%22/logical-interface-physical/%220/1.10%22">
      <logical-interface-name>0/1.10</logical-interface-name>
      <source-type>dummy</source-type>
      <protocol-status>true</protocol-status>
      <admin-status>true</admin-status>
      <lif-index>2</lif-index>
      <bridge-domain-index>291</bridge-domain-index>
      <interface-name>phyintf</interface-name>
      <is-binded>false</is-binded>
      <outer-vlan-id>100</outer-vlan-id>
      <inner-vlan-id>200</inner-vlan-id>
      <intf-type>enum=0</intf-type>
      <is-tagged>true</is-tagged>
    </logical-interface-physical>
    <logical-interface-physical y:self="/rest/operational-state/logical-interface-state/main-interface-physical/291%2C%22%22/logical-interface-physical/%220/1.10%22">
      <logical-interface-name>0/1.10</logical-interface-name>
      <source-type>dummy</source-type>
      <protocol-status>true</protocol-status>
      <admin-status>true</admin-status>
      <lif-index>1</lif-index>
      <bridge-domain-index>291</bridge-domain-index>
      <interface-name>phyintf</interface-name>
      <is-binded>false</is-binded>
      <outer-vlan-id>100</outer-vlan-id>
      <inner-vlan-id>200</inner-vlan-id>
      <intf-type>enum=0</intf-type>
      <is-tagged>true</is-tagged>
    </logical-interface-physical>
  </main-interface-physical>
  <main-interface-physical y:self="/rest/operational-state/logical-interface-state/main-interface-physical/291%2C%22%22">
    <interface-index>291</interface-index>
    <intf-name>&quot;&quot;</intf-name>
    <protocol-status>true</protocol-status>
    <admin-status>true</admin-status>
    <intf-type>enum=0</intf-type>
    <is-tagged>true</is-tagged>
    <port-mode>up</port-mode>
  </main-interface-physical>
  <main-interface-pseudo-wire y:self="/rest/operational-state/logical-interface-state/main-interface-pseudo-wire/4660">
    <interface-index>4660</interface-index>
    <protocol-status>true</protocol-status>
    <admin-status>true</admin-status>
    <counters y:self="/rest/operational-state/logical-interface-state/main-interface-pseudo-wire/4660/counters/20%2C24">
      <implicit-lifs>20</implicit-lifs>
      <explicit-lifs>24</explicit-lifs>
      <lif-type>enum=0</lif-type>
      <total-lifs>200</total-lifs>
      <protocol-status-up-lifs>50</protocol-status-up-lifs>
      <binded-lifs>90</binded-lifs>
      <unbinded-lifs>10</unbinded-lifs>
    </counters>
    <logical-interface-pseudo-wire y:self="/rest/operational-state/logical-interface-state/main-interface-pseudo-wire/4660/logical-interface-pseudo-wire/pw1">
      <logical-interface-name>pw1</logical-interface-name>
      <source-type>dummy</source-type>
      <protocol-status>true</protocol-status>
      <admin-status>true</admin-status>
      <lif-index>2</lif-index>
      <bridge-domain-index>4660</bridge-domain-index>
      <interface-name>pwintf</interface-name>
      <is-binded>false</is-binded>
      <ip-address>10.10.10.10</ip-address>
    </logical-interface-pseudo-wire>
    <logical-interface-pseudo-wire y:self="/rest/operational-state/logical-interface-state/main-interface-pseudo-wire/4660/logical-interface-pseudo-wire/pw1">
      <logical-interface-name>pw1</logical-interface-name>
      <source-type>dummy</source-type>
      <protocol-status>true</protocol-status>
      <admin-status>true</admin-status>
      <lif-index>1</lif-index>
      <bridge-domain-index>4660</bridge-domain-index>
      <interface-name>pwintf</interface-name>
      <is-binded>false</is-binded>
      <ip-address>10.10.10.10</ip-address>
    </logical-interface-pseudo-wire>
  </main-interface-pseudo-wire>
  <main-interface-pseudo-wire y:self="/rest/operational-state/logical-interface-state/main-interface-pseudo-wire/4660">
    <interface-index>4660</interface-index>
    <protocol-status>true</protocol-status>
    <admin-status>true</admin-status>
  </main-interface-pseudo-wire>
  <main-interface-tunnel y:self="/rest/operational-state/logical-interface-state/main-interface-tunnel/75828">
    <interface-index>75828</interface-index>
    <protocol-status>true</protocol-status>
    <admin-status>true</admin-status>
    <counters y:self="/rest/operational-state/logical-interface-state/main-interface-tunnel/75828/counters/20%2C24">
      <implicit-lifs>20</implicit-lifs>
      <explicit-lifs>24</explicit-lifs>
      <lif-type>enum=0</lif-type>
      <total-lifs>300</total-lifs>
      <protocol-status-up-lifs>50</protocol-status-up-lifs>
      <binded-lifs>90</binded-lifs>
      <unbinded-lifs>10</unbinded-lifs>
    </counters>
    <logical-interface-tunnel y:self="/rest/operational-state/logical-interface-state/main-interface-tunnel/75828/logical-interface-tunnel/tun1">
      <logical-interface-name>tun1</logical-interface-name>
      <source-type>dummy</source-type>
      <protocol-status>true</protocol-status>
      <admin-status>true</admin-status>
      <lif-index>2</lif-index>
      <bridge-domain-index>4643</bridge-domain-index>
      <interface-name>tunintf</interface-name>
      <is-binded>false</is-binded>
      <vni-tni>4000</vni-tni>
    </logical-interface-tunnel>
    <logical-interface-tunnel y:self="/rest/operational-state/logical-interface-state/main-interface-tunnel/75828/logical-interface-tunnel/tun1">
      <logical-interface-name>tun1</logical-interface-name>
      <source-type>dummy</source-type>
      <protocol-status>true</protocol-status>
      <admin-status>true</admin-status>
      <lif-index>1</lif-index>
      <bridge-domain-index>4643</bridge-domain-index>
      <interface-name>tunintf</interface-name>
      <is-binded>false</is-binded>
      <vni-tni>4000</vni-tni>
    </logical-interface-tunnel>
  </main-interface-tunnel>
  <main-interface-tunnel y:self="/rest/operational-state/logical-interface-state/main-interface-tunnel/75828">
    <interface-index>75828</interface-index>
    <protocol-status>true</protocol-status>
    <admin-status>true</admin-status>
  </main-interface-tunnel>
</logical-interface-state>
</data>

History

Release version History
18r.2.00 This API call was introduced.