CmdID / aws / aws directconnect
aws directconnect update-lag
Updates the attributes of the specified link aggregation group (LAG). AWS CLI reference
1 example 4 options Its page in the AWS CLI reference
Examples
To update a LAG
The following update-lag example changes the name of the specified LAG.
aws directconnect update-lag --lag-id dxlag-ffjhj9lx --lag-name 2ConnLagIdentify--lag-idThe ID of the LAG.--lag-nameThe name of the LAG.Its output, shortened
{
"awsDevice": "CSVA1-23u8tlpaz8iks",
"numberOfConnections": 2,
"lagState": "down",
"ownerAccount": "123456789012",
"lagName": "2ConnLag",
"connections": [
{
"ownerAccount": "123456789012",
"connectionId": "dxcon-fflqyj95",
"lagId": "dxlag-ffjhj9lx",
"connectionState": "requested",
"bandwidth": "1Gbps",
"location": "CSVA1",
"connectionName": "Requested Connection 2 for Lag dxlag-ffjhj9lx",
"region": "us-west-2"
},
{
"ownerAccount": "123456789012",
"connectionId": "dxcon-ffqr6x5q",
"lagId": "dxlag-ffjhj9lx",
"connectionState": "requested",
"bandwidth": "1Gbps",
"location": "CSVA1",
"connectionName": "Requested Connection 1 for Lag dxlag-ffjhj9lx",
"region": "us-west-2"
}
],
"lagId": "dxlag-ffjhj9lx",
"minimumLinks": 0,
… 4 more linesFor more information, see Update a LAG at a Direct Connect endpoint in the AWS Direct Connect User Guide.
Options
--encryption-modeThe LAG MAC Security (MACsec) encryption mode.--lag-idThe ID of the LAG.--lag-nameThe name of the LAG.--minimum-linksThe minimum number of physical connections that must be operational for the LAG itself to be operational.