interface/Port-channel

Resource URIs

URI Description
<base_URI>/config/running/interface/Port-channel/{name} Configures the list of port-channels.
GET URIs Description
<base_URI>/config/running/interface/Port-channel/{name} Retrieves the pot channel.
<base_URI>/config/running/interface/Port-channel/{name}/speed Retrieves speed of the port.
<base_URI>/config/running/interface/Port-channel/{name}/description Retrieves interface specific description.
<base_URI>/config/running/interface/Port-channel/{name}/shutdown Shutdown the selected interface
<base_URI>/config/running/interface/Port-channel/{name}/minimum-links Minimum number of links.
<base_URI>/config/running/interface/Port-channel/{name}/mtu Sets mtu value to interface.
<base_URI>/config/running/interface/Port-channel/{name}/load-balance-type Hash based load balancing
PUT URIs Payload Description
<base_URI>/config/running/interface/Port-channel/{name}/speed <speed>1000</speed> Configures speed of the port.
<base_URI>/config/running/interface/Port-channel/{name}/description <description>R1toR2</description> Configures interface specific description.
<base_URI>/config/running/interface/Port-channel/{name}/shutdown <shutdown>true</shutdown> Configures the selected interface
<base_URI>/config/running/interface/Port-channel/{name}/minimum-links <minimum-links>2</minimum-links> Configures minimum number of links.
<base_URI>/config/running/interface/Port-channel/{name}/mtu <mtu>5000</mtu> Sets mtu value to interface.
PATCH URIs Payload Description
<base_URI>/config/running/interface/Port-channel/{name} <Port-channel><speed>1000</speed></Port-channel> Configures speed of the port.
<base_URI>/config/running/interface/Port-channel/{name}/description <description>R1toR2</description> Configures interface specific description.
<base_URI>/config/running/interface/Port-channel/{name}/shutdown <shutdown>true</shutdown> Configures the selected interface
<base_URI>/config/running/interface/Port-channel/{name}/minimum-links <minimum-links>2</minimum-links> Configures minimum number of links.
<base_URI>/config/running/interface/Port-channel/{name}/mtu <mtu>5000</mtu> Sets mtu value to interface.
DELETE URIs
<base_URI>/config/running/interface/Port-channel/{name}
<base_URI>/config/running/interface/Port-channel/{name}/speed
<base_URI>/config/running/interface/Port-channel/{name}/description
<base_URI>/config/running/interface/Port-channel/{name}/shutdown
<base_URI>/config/running/interface/Port-channel/{name}/minimum-links
<base_URI>/config/running/interface/Port-channel/{name}/mtu

Usage Guidelines

GET, POST, PUT, PATCH, DELETE, OPTIONS, and HEAD operations are supported.

Examples

URI

The following example uses the GET option to retrieve the configuration details.

http://host:80/rest/config/running/interface/Port-channel/101/speed

None

<speed xmlns="urn:brocade.com:mgmt:brocade-interface" xmlns:y="http://brocade.com/ns/rest" 
y:self="/rest/config/running/interface/Port-channel/101/speed">1000</speed>

URI

The following is an example of the PUT operation to configure interface specific description.

http://host:80/rest/config/running/interface/Port-channel/101/description

<description>R1toR2</description>	

None

URI

The following is an example of the DELETE operation to remove a port channel.

http://host:80/rest/config/running/interface/Port-channel/101

None

None