get-ip-interface

Resource URIs

URI Description
<base_URI>/operations/get-ip-interface Retrieves the IP interface details.

Parameters

interface-name
Displays the Interface value.
if-name
Displays the interface display name as in MIB-II's ifTable. However interface-name and interface-type values of this instance forms fully qualified name for this interface.
if-state
Displays the current operational state of the interface.
line-protocol-state
Displays the 'Line protocol' state of the interface.
ip-address
Displays the IP address for the management interface.
ipv4
Displays the IP address in dotted decimal/Mask (A.B.C.D/M).
ipv4-type
Indicates whether IP address is primary/secondary and corresponding Broadcast IP.
broadcast
Displays the broadcast IP Address.
ip-mtu
Displays the MTU type.
vrf
Displays the VRF name.

Usage Guidelines

Only POST operation is supported.

Examples

URI

http://host:80/rest/operations/get-ip-interface

<get-ip-interface></get-ip-interface>
<output xmlns='urn:brocade.com:mgmt:brocade-interface-ext'>
  <interface>
    <interface-type>port-channel</interface-type>
    <interface-name>1</interface-name>
    <if-name>Port-channel 1</if-name>
    <if-state>down</if-state>
    <line-protocol-state>down</line-protocol-state>
    <ip-address>
      <ipv4>unassigned</ipv4>
    </ip-address>
  </interface>
  <interface>
    <interface-type>port-channel</interface-type>
    <interface-name>2</interface-name>
    <if-name>Port-channel 2</if-name>
    <if-state>down</if-state>
    <line-protocol-state>down</line-protocol-state>
    <ip-address>
      <ipv4>unassigned</ipv4>
    </ip-address>
  </interface>
  <has-more>false</has-more>
</output>