Port Channel
The below API's are used to create groups of tool ports as port-channel and provide traffic load-balancing. By default, symmetric hashing is enabled for IPv4 and IPv6 traffic.
Configure Port-channel
Request URL | /api/config/portchannel/<port-channel-id> |
Description | Use this API to add the members from a port-channel Note: Edit port-channel not supported. Please delete and add the port-channel to change the member ports |
Method | POST |
Request Body | Example URL (member-add): https://192.168.0.35:8091/api/config/portchannel/11 Body: {"add_member" :["Ethernet12", "Ethernet20", "Ethernet24"] "description": "test" } |
Response Body | NA |
Status code |
|
Delete Port-channel
Request URL | /api/config/portchannel/<port-channel-id> |
Description | Use this API to delete all the members from a port-channel |
Method | DELETE |
Request Body | Example URL: https://192.168.0.35:8091/api/config/portchannel/11 |
Response Body | NA |
Status code |
|
Get Port-channel Information
Request URL | /api/info/portchannel/<port-group-id> |
Description | Use this API to get the portchannel related information from the system |
Method | GET |
Request Body | NA |
Response Body | { |
"ports": [ "Ethernet20", "Ethernet24" ], "comment": "test" } | |
Status code |
|
Get all Port-channel Information
Request URL | /api/info/portchannel |
Description | Use this API to get all the portchannel related information from the system |
Method | GET |
Request Body | NA |
Response Body | { "2": { "ports": [ "Ethernet0", ], "comment": "test" } "3": { "ports": [ "Ethernet20", "Ethernet24" ], } } |
Status code |
|
Last updated