CmdID / aws / aws directconnect
aws directconnect associate-connection-with-lag
Associates an existing connection with a link aggregation group (LAG). AWS CLI reference
1 example 2 options Its page in the AWS CLI reference
Examples
To associate a connection with a LAG
The following associate-connection-with-lag example associates the specified connection with the specified LAG.
aws directconnect associate-connection-with-lag --lag-id dxlag-fhccu14t --connection-id dxcon-fg9607vmIdentify--lag-idThe ID of the LAG with which to associate the connection.--connection-idThe ID of the connection.Its output
{
"ownerAccount": "123456789012",
"connectionId": "dxcon-fg9607vm",
"lagId": "dxlag-fhccu14t",
"connectionState": "requested",
"bandwidth": "1Gbps",
"location": "EqDC2",
"connectionName": "Con2ForLag",
"region": "us-west-2"
}For more information, see Associate a connection with a LAG at a Direct Connect endpoint in the AWS Direct Connect User Guide.
Options
--connection-idThe ID of the connection.--lag-idThe ID of the LAG with which to associate the connection.