PATH:
usr
/
local
/
jetapps
/
var
/
lib
/
aws
/
lib
/
python2.7
/
site-packages
/
awscli
/
examples
/
directconnect
**To associate a virtual interface with a connection** The following example associates the specified virtual interface with the specified LAG. Alternatively, to associate the virtual interface with a connection, specify the ID of an AWS Direct Connect connection for ``--connection-id``; for example, ``dxcon-ffnikghc``. Command:: aws directconnect associate-virtual-interface --connection-id dxlag-ffjhj9lx --virtual-interface-id dxvif-fgputw0j Output:: { "virtualInterfaceState": "pending", "asn": 65000, "vlan": 123, "customerAddress": "169.254.255.2/30", "ownerAccount": "123456789012", "connectionId": "dxlag-ffjhj9lx", "addressFamily": "ipv4", "virtualGatewayId": "vgw-38e90b51", "virtualInterfaceId": "dxvif-fgputw0j", "authKey": "0x123pK5_VBqv.UQ3kJ4123_", "routeFilterPrefixes": [], "location": "CSVA1", "bgpPeers": [ { "bgpStatus": "down", "customerAddress": "169.254.255.2/30", "addressFamily": "ipv4", "authKey": "0x123pK5_VBqv.UQ3kJ4123_", "bgpPeerState": "deleting", "amazonAddress": "169.254.255.1/30", "asn": 65000 }, { "bgpStatus": "down", "customerAddress": "169.254.255.2/30", "addressFamily": "ipv4", "authKey": "0x123pK5_VBqv.UQ3kJ4123_", "bgpPeerState": "pending", "amazonAddress": "169.254.255.1/30", "asn": 65000 } ], "customerRouterConfig": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<logical_connection id=\"dxvif-fgputw0j\">\n <vlan>123</vlan>\n <customer_address>169.254.255.2/30</customer_address>\n <amazon_address>169.254.255.1/30</amazon_address>\n <bgp_asn>65000</bgp_asn>\n <bgp_auth_key>0x123pK5_VBqv.UQ3kJ4123_</bgp_auth_key>\n <amazon_bgp_asn>7224</amazon_bgp_asn>\n <connection_type>private</connection_type>\n</logical_connection>\n", "amazonAddress": "169.254.255.1/30", "virtualInterfaceType": "private", "virtualInterfaceName": "VIF1A" }
[-] 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]