CmdID

CmdID / aws / aws directconnect

aws directconnect associate-hosted-connection

Associates a hosted connection and its virtual interfaces with a link aggregation group (LAG) or interconnect. AWS CLI reference

1 example 2 options Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from aws-cli, each command read by CmdID

To associate a hosted connection with a LAG

The following associate-hosted-connection example associates the specified hosted connection with the specified LAG.

aws directconnect associate-hosted-connection --parent-connection-id dxlag-fhccu14t --connection-id dxcon-fg9607vmIdentify
--parent-connection-idThe ID of the interconnect or the LAG.
--connection-idThe ID of the hosted connection.
Its output
{
    "partnerName": "TIVIT",
    "vlan": 101,
    "ownerAccount": "123456789012",
    "connectionId": "dxcon-fg9607vm",
    "lagId": "dxlag-fhccu14t",
    "connectionState": "ordering",
    "bandwidth": "500Mbps",
    "location": "TIVIT",
    "connectionName": "mydcinterconnect",
    "region": "us-west-2"
}

For more information, see Direct Connect link aggregation groups (LAGs) in the AWS Direct Connect User Guide.

Options

2 in the AWS CLI reference
--connection-idThe ID of the hosted connection.
--parent-connection-idThe ID of the interconnect or the LAG.