Create A Link Aggregation Group
POST {{baseUrl}}/networks/:networkId/switch/linkAggregations
Create a link aggregation group #### Body Parameters Parameter|Type|Description :-------------: |:-------------: |:-------------: switchPorts| array| Array of switch or stack ports for creating aggregation group. Minimum 2 and maximum 8 ports are supported. switchProfilePorts| array| Array of switch profile ports for creating aggregation group. Minimum 2 and maximum 8 ports are supported.
Supports Action Batches
Resource | Operation |
---|---|
/networks/{networkId}/switch/linkAggregations | create |
Request Body
{"switchPorts"=>[{"serial"=>"<string>", "portId"=>"<string>"}, {"serial"=>"<string>", "portId"=>"<string>"}], "switchProfilePorts"=>[{"profile"=>"<string>", "portId"=>"<string>"}, {"profile"=>"<string>", "portId"=>"<string>"}]}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
X-Cisco-Meraki-API-Key | null | ||
Content-Type | string |
RESPONSES
status: Created
{"id":"NDU2N18yXzM=","switchPorts":[{"serial":"Q234-ABCD-0001","portId":"1"},{"serial":"Q234-ABCD-0002","portId":"2"},{"serial":"Q234-ABCD-0003","portId":"3"},{"serial":"Q234-ABCD-0004","portId":"4"},{"serial":"Q234-ABCD-0005","portId":"5"},{"serial":"Q234-ABCD-0006","portId":"6"},{"serial":"Q234-ABCD-0007","portId":"7"},{"serial":"Q234-ABCD-0008","portId":"8"}]}