PATH:
usr
/
local
/
jetapps
/
var
/
lib
/
aws
/
lib
/
python2.7
/
site-packages
/
awscli
/
examples
/
directconnect
**To create a LAG with new connections** The following example creates a LAG and requests two new AWS Direct Connect connections for the LAG with a bandwidth of 1 Gbps. Command:: aws directconnect create-lag --location CSVA1 --number-of-connections 2 --connections-bandwidth 1Gbps --lag-name 1GBLag Output:: { "awsDevice": "CSVA1-23u8tlpaz8iks", "numberOfConnections": 2, "lagState": "pending", "ownerAccount": "123456789012", "lagName": "1GBLag", "connections": [ { "ownerAccount": "123456789012", "connectionId": "dxcon-ffqr6x5q", "lagId": "dxlag-ffjhj9lx", "connectionState": "requested", "bandwidth": "1Gbps", "location": "CSVA1", "connectionName": "Requested Connection 1 for Lag dxlag-ffjhj9lx", "region": "us-east-1" }, { "ownerAccount": "123456789012", "connectionId": "dxcon-fflqyj95", "lagId": "dxlag-ffjhj9lx", "connectionState": "requested", "bandwidth": "1Gbps", "location": "CSVA1", "connectionName": "Requested Connection 2 for Lag dxlag-ffjhj9lx", "region": "us-east-1" } ], "lagId": "dxlag-ffjhj9lx", "minimumLinks": 0, "connectionsBandwidth": "1Gbps", "region": "us-east-1", "location": "CSVA1" } **To create a LAG using an existing connection** The following example creates a LAG from an existing connection in your account, and requests a second new connection for the LAG with the same bandwidth and location as the existing connection. Command:: aws directconnect create-lag --location EqDC2 --number-of-connections 2 --connections-bandwidth 1Gbps --lag-name 2ConnLAG --connection-id dxcon-fgk145dr Output:: { "awsDevice": "EqDC2-4h6ce2r1bes6", "numberOfConnections": 2, "lagState": "pending", "ownerAccount": "123456789012", "lagName": "2ConnLAG", "connections": [ { "ownerAccount": "123456789012", "connectionId": "dxcon-fh6ljcvo", "lagId": "dxlag-fhccu14t", "connectionState": "requested", "bandwidth": "1Gbps", "location": "EqDC2", "connectionName": "Requested Connection 1 for Lag dxlag-fhccu14t", "region": "us-east-1" }, { "ownerAccount": "123456789012", "connectionId": "dxcon-fgk145dr", "lagId": "dxlag-fhccu14t", "connectionState": "down", "bandwidth": "1Gbps", "location": "EqDC2", "connectionName": "VAConn1", "region": "us-east-1" } ], "lagId": "dxlag-fhccu14t", "minimumLinks": 0, "connectionsBandwidth": "1Gbps", "region": "us-east-1", "location": "EqDC2" }
[-] tag-resource.rst
[edit]
[-] delete-direct-connect-gateway-association.rst
[edit]
[-] create-connection.rst
[edit]
[-] confirm-public-virtual-interface.rst
[edit]
[-] confirm-private-virtual-interface.rst
[edit]
[-] describe-lags.rst
[edit]
[-] create-interconnect.rst
[edit]
[-] describe-locations.rst
[edit]
[+]
..
[-] associate-hosted-connection.rst
[edit]
[-] associate-virtual-interface.rst
[edit]
[-] create-lag.rst
[edit]
[-] delete-virtual-interface.rst
[edit]
[-] allocate-public-virtual-interface.rst
[edit]
[-] create-public-virtual-interface.rst
[edit]
[-] describe-virtual-gateways.rst
[edit]
[-] describe-connection-loa.rst
[edit]
[-] confirm-connection.rst
[edit]
[-] describe-loa.rst
[edit]
[-] delete-interconnect.rst
[edit]
[-] delete-lag.rst
[edit]
[-] update-lag.rst
[edit]
[-] describe-hosted-connections.rst
[edit]
[-] describe-interconnect-loa.rst
[edit]
[-] create-direct-connect-gateway-association.rst
[edit]
[-] describe-tags.rst
[edit]
[-] describe-connections.rst
[edit]
[-] delete-direct-connect-gateway.rst
[edit]
[-] create-private-virtual-interface.rst
[edit]
[-] allocate-connection-on-interconnect.rst
[edit]
[-] disassociate-connection-from-lag.rst
[edit]
[-] create-bgp-peer.rst
[edit]
[-] describe-connections-on-interconnect.rst
[edit]
[-] describe-direct-connect-gateway-attachments.rst
[edit]
[-] describe-virtual-interfaces.rst
[edit]
[-] delete-connection.rst
[edit]
[-] describe-interconnects.rst
[edit]
[-] describe-direct-connect-gateway-associations.rst
[edit]
[-] describe-direct-connect-gateways.rst
[edit]
[-] associate-connection-with-lag.rst
[edit]
[-] delete-bgp-peer.rst
[edit]
[-] create-direct-connect-gateway.rst
[edit]
[-] untag-resource.rst
[edit]
[-] allocate-hosted-connection.rst
[edit]
[-] allocate-private-virtual-interface.rst
[edit]