Retrieves operational data for all the VLANs, physical interfaces and port-channels.
| URI | Description |
|---|---|
| <base_URI>/operations/get-interface-detail | Retrieves operational data for a given VLAN and enumeration of all the interfaces belonging to this VLAN. |
Only POST operation is supported.
http://host:80/rest/operations/get-interface-detail
<get-interface-detail></get-interface-detail>
<output xmlns='urn:brocade.com:mgmt:brocade-interface-ext'>
<interface>
<interface-type>port-channel</interface-type>
<interface-name>1</interface-name>
<port-mode>unknown</port-mode>
<if-name>Port-channel 1</if-name>
<if-state>up</if-state>
<line-protocol-state>up</line-protocol-state>
<hardware-type>aggregate</hardware-type>
<current-hardware-address>60:9c:9f:0e:e6:f0</current-hardware-address>
<logical-hardware-address>60:9c:9f:0e:e6:f0</logical-hardware-address>
<if-description>lag-to-bek-1</if-description>
<ifindex>671088641</ifindex>
<mtu>9216</mtu>
<actual-line-speed>600Gbps</actual-line-speed>
<configured-line-speed>100Gbps</configured-line-speed>
<queuing-strategy>fifo</queuing-strategy>
<ifHCInOctets>82201936202292</ifHCInOctets>
<ifHCInUcastPkts>316118913731</ifHCInUcastPkts>
<ifHCInMulticastPkts>466925</ifHCInMulticastPkts>
<ifHCInBroadcastPkts>0</ifHCInBroadcastPkts>
<ifHCInErrors>0</ifHCInErrors>
<ifHCOutOctets>83391499158384</ifHCOutOctets>
<ifHCOutUcastPkts>320694336080</ifHCOutUcastPkts>
<ifHCOutMulticastPkts>431024</ifHCOutMulticastPkts>
<ifHCOutBroadcastPkts>0</ifHCOutBroadcastPkts>
<ifHCOutErrors>0</ifHCOutErrors>
</interface>
<interface>
<interface-type>port-channel</interface-type>
<interface-name>2</interface-name>
<port-mode>unknown</port-mode>
<if-name>Port-channel 2</if-name>
<if-state>down</if-state>
<line-protocol-state>down</line-protocol-state>
<line-protocol-state-info> (admin down)</line-protocol-state-info>
<hardware-type>aggregate</hardware-type>
<current-hardware-address>60:9c:9f:0d:3e:4f</current-hardware-address>
<logical-hardware-address>60:9c:9f:0d:3e:4f</logical-hardware-address>
<if-description>Insight port-channel on MM2</if-description>
<ifindex>671088642</ifindex>
<mtu>1548</mtu>
<actual-line-speed>nil</actual-line-speed>
<configured-line-speed>10Gbps</configured-line-speed>
<queuing-strategy>fifo</queuing-strategy>
<ifHCInOctets>0</ifHCInOctets>
<ifHCInUcastPkts>0</ifHCInUcastPkts>
<ifHCInMulticastPkts>0</ifHCInMulticastPkts>
<ifHCInBroadcastPkts>0</ifHCInBroadcastPkts>
<ifHCInErrors>0</ifHCInErrors>
<ifHCOutOctets>0</ifHCOutOctets>
<ifHCOutUcastPkts>0</ifHCOutUcastPkts>
<ifHCOutMulticastPkts>0</ifHCOutMulticastPkts>
<ifHCOutBroadcastPkts>0</ifHCOutBroadcastPkts>
<ifHCOutErrors>0</ifHCOutErrors>
</interface>
<has-more>false</has-more>
</output>
If the entire information cannot be retrieved in a single execution, the last lines of output says has-more=true.
<has-more xmlns="urn:brocade.com:mgmt:brocade-interface-ext">true</has-more> </rpc-reply>
In such cases the remaining information can be retrieved using "last-rcvd-interface" as shown in the request body below.
<get-interface-detail>
<last-rcvd-interface>
<interface-type>port-channel</interface-type>
<interface-name>3</interface-name>
</last-rcvd-interface>
</get-interface-detail>
The API can be used to retrieve information regarding a specific port by applying filter as in the request body below.
<get-interface-detail> <interface-type>port-channel</interface-type> <interface-name>2</interface-name> </get-interface-detail>