Submit
Path:
~
/
/
lib
/
python2.7
/
site-packages
/
awscli
/
examples
/
directconnect
/
File Content:
create-public-virtual-interface.rst
**To create a public virtual interface** The following ``create-public-virtual-interface`` command creates a public virtual interface:: aws directconnect create-public-virtual-interface --connection-id dxcon-ffjrkx17 --new-public-virtual-interface virtualInterfaceName=PublicVirtualInterface,vlan=2000,asn=65000,authKey=asdf34example,amazonAddress=203.0.113.1/30,customerAddress=203.0.113.2/30,routeFilterPrefixes=[{cidr=203.0.113.0/30},{cidr=203.0.113.4/30}] Output:: { "virtualInterfaceState": "verifying", "asn": 65000, "vlan": 2000, "customerAddress": "203.0.113.2/30", "ownerAccount": "123456789012", "connectionId": "dxcon-ffjrkx17", "virtualInterfaceId": "dxvif-fgh0hcrk", "authKey": "asdf34example", "routeFilterPrefixes": [ { "cidr": "203.0.113.0/30" }, { "cidr": "203.0.113.4/30" } ], "location": "TIVIT", "customerRouterConfig": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<logical_connection id=\"dxvif-fgh0hcrk\">\n <vlan>2000</vlan>\n <customer_address>203.0.113.2/30</customer_address>\n <amazon_address>203.0.113.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>public</connection_type>\n</logical_connection>\n", "amazonAddress": "203.0.113.1/30", "virtualInterfaceType": "public", "virtualInterfaceName": "PublicVirtualInterface" }
Submit
FILE
FOLDER
Name
Size
Permission
Action
allocate-connection-on-interconnect.rst
687 bytes
0644
allocate-hosted-connection.rst
658 bytes
0644
allocate-private-virtual-interface.rst
1465 bytes
0644
allocate-public-virtual-interface.rst
1660 bytes
0644
associate-connection-with-lag.rst
539 bytes
0644
associate-hosted-connection.rst
621 bytes
0644
associate-virtual-interface.rst
2150 bytes
0644
confirm-connection.rst
318 bytes
0644
confirm-private-virtual-interface.rst
391 bytes
0644
confirm-public-virtual-interface.rst
355 bytes
0644
create-bgp-peer.rst
2529 bytes
0644
create-connection.rst
595 bytes
0644
create-interconnect.rst
606 bytes
0644
create-lag.rst
3001 bytes
0644
create-private-virtual-interface.rst
1443 bytes
0644
create-public-virtual-interface.rst
1573 bytes
0644
delete-bgp-peer.rst
2209 bytes
0644
delete-connection.rst
459 bytes
0644
delete-interconnect.rst
253 bytes
0644
delete-lag.rst
510 bytes
0644
delete-virtual-interface.rst
282 bytes
0644
describe-connection-loa.rst
1664 bytes
0644
describe-connections-on-interconnect.rst
739 bytes
0644
describe-connections.rst
585 bytes
0644
describe-hosted-connections.rst
699 bytes
0644
describe-interconnect-loa.rst
1682 bytes
0644
describe-interconnects.rst
531 bytes
0644
describe-lags.rst
1607 bytes
0644
describe-loa.rst
1642 bytes
0644
describe-locations.rst
543 bytes
0644
describe-tags.rst
605 bytes
0644
describe-virtual-gateways.rst
388 bytes
0644
describe-virtual-interfaces.rst
2766 bytes
0644
disassociate-connection-from-lag.rst
518 bytes
0644
tag-resource.rst
398 bytes
0644
untag-resource.rst
354 bytes
0644
update-lag.rst
1331 bytes
0644
N4ST4R_ID | Naxtarrr