get-interface-switchport

Retrieves switch-port/Layer 2 characteristics of the interfaces configured as switchport in the managed device.

Resource URIs

URI Description
<base_URI>/operations/get-interface-switchport Returns switch-port or Layer 2 characteristics of all the interfaces in the managed device.

Parameters

interface-name
Displays the Interface value.
interface-type
Displays the type of the interface.
mode
Displays the mode of the port-channel.
fcoe-port-enabled
Displays the FCoE capability is enabled on the interface.
ingress-filter-enabled
Indicates if the 'Ingress filtering' is enabled for the interface.
acceptable-frame-type
Displays the switch-port ingress Frame admission policy - whether only tagged Frames are allowed or all.
default-vlan
Displays the 'default vlan' identifier value for this switch-port.
vlanid
Displays the list of active VLAN identifiers.

Usage Guidelines

Only POST operation is supported.

Examples

URI

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>