CmdID / aws / aws directconnect
aws directconnect delete-lag
Deletes the specified link aggregation group (LAG). AWS CLI reference
1 example 1 option Its page in the AWS CLI reference
Examples
To delete a LAG
The following delete-lag example deletes the specified LAG.
aws directconnect delete-lag --lag-id dxlag-ffrhowd9Identify--lag-idThe ID of the LAG.Its output
{
"awsDevice": "EqDC2-4h6ce2r1bes6",
"numberOfConnections": 0,
"lagState": "deleted",
"ownerAccount": "123456789012",
"lagName": "TestLAG",
"connections": [],
"lagId": "dxlag-ffrhowd9",
"minimumLinks": 0,
"connectionsBandwidth": "1Gbps",
"region": "us-west-2",
"location": "EqDC2"
}For more information, see Delete a Direct Connect endpoint LAG in the AWS Direct Connect User Guide.
Options
--lag-idThe ID of the LAG.