Retrieves switch-port/Layer 2 characteristics of the interfaces configured as switchport in the managed device.
| URI | Description |
|---|---|
| <base_URI>/operations/get-interface-switchport | Returns switch-port or Layer 2 characteristics of all the interfaces in the managed device. |
Only POST operation is supported.
http://host:80/rest/operations/get-interface-switchport
<get-interface-switchport></get-interface-switchport>
<output xmlns='urn:brocade.com:mgmt:brocade-interface-ext'>
<switchport>
<interface-name>195/2/1</interface-name>
<interface-type>port-channel</interface-type>
<mode>access</mode>
<fcoe-port-enabled>false</fcoe-port-enabled>
<ingress-filter-enabled>true</ingress-filter-enabled>
<acceptable-frame-type>admit-all</acceptable-frame-type>
<default-vlan>1</default-vlan>
<active-vlans>
<vlanid>1</vlanid>
</active-vlans>
</switchport>
</output>