CmdID

CmdID / aws / aws directconnect

aws directconnect allocate-private-virtual-interface

Provisions a private virtual interface to be owned by the specified Amazon Web Services account. AWS CLI reference

1 example 3 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 provision a private virtual interface

The following allocate-private-virtual-interface example provisions a private virtual interface to be owned by a different customer.

aws directconnect allocate-private-virtual-interface --connection-id dxcon-ffjrkx17 --owner-account 123456789012 --new-private-virtual-interface-allocation virtualInterfaceName=PrivateVirtualInterface,vlan=1000,asn=65000,authKey=asdf34example,amazonAddress=192.168.1.1/30,customerAddress=192.168.1.2/30Identify
--connection-idThe ID of the connection on which the private virtual interface is provisioned.
--owner-accountThe ID of the Amazon Web Services account that owns the virtual private interface.
--new-private-virtual-interface-allocationInformation about the private virtual interface.
Its output
{
    "virtualInterfaceState": "confirming",
    "asn": 65000,
    "vlan": 1000,
    "customerAddress": "192.168.1.2/30",
    "ownerAccount": "123456789012",
    "connectionId": "dxcon-ffjrkx17",
    "virtualInterfaceId": "dxvif-fgy8orxu",
    "authKey": "asdf34example",
    "routeFilterPrefixes": [],
    "location": "TIVIT",
    "customerRouterConfig": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n  <logical_connection id=\"dxvif-fgy8orxu\">\n  <vlan>1000</vlan>\n  <customer_address>192.168.1.2/30</customer_address>\n  <amazon_address>192.168.1.1/30</amazon_address>\n  <bgp_asn>65000</bgp_asn>\n  <bgp_auth_key>asdf34example</bgp_auth_key>\n  <amazon_bgp_asn>7224</amazon_bgp_asn>\n  <connection_type>private</connection_type>\n</logical_connection>\n",
    "amazonAddress": "192.168.1.1/30",
    "virtualInterfaceType": "private",
    "virtualInterfaceName": "PrivateVirtualInterface"
}

For more information, see Direct Connect virtual interfaces and hosted virtual interfaces in the AWS Direct Connect User Guide.

Options

3 in the AWS CLI reference
--connection-idThe ID of the connection on which the private virtual interface is provisioned.
--new-private-virtual-interface-allocationInformation about the private virtual interface.
--owner-accountThe ID of the Amazon Web Services account that owns the virtual private interface.