| Euca2ools Guide / Virtual Private Cloud (VPC)-Compatible Commands | |
Show information about VPN connections.
euca-describe-vpn-connections [--format format] [--stylesheet stylesheet] [vpn_connection_ID [vpn_connection_ID ...]]
| Option | Description | Required |
|---|---|---|
| vpn_connection_ID [vpn_connection_ID ...] | Description. | No |
| --format format | Show connection information in the specified format. Valid values: cisco-ios-isr, juniper-junos-j, juniper-screenos-6.1, juniper-screenos-6.2, generic, xml, or none Default value: xml |
No |
| --stylesheet stylesheet | Format the connection information using an XSL
stylesheet. If the value contains "{format}" it will
be replaced with the format chosen by the --format
option. If the value is an HTTP or HTTPS URL it will
be downloaded as needed. Default: value of the vpn- stylesheet region option. |
No |
You can add filters to your request so that the response includes information for only certain VPC connections. For example, you can use a filter to return only the VPC connection that has a specific ID. Some tips for using filters with this command:
The following are the available filters for euca-describe-vpc-connections:
| Filter | Description |
|---|---|
| bgp-asn | the BGP AS number advertised by the customer gateway router |
| customer-gateway-configuration | connection information for the customer gateway |
| customer-gateway-id | ID of the connected customer gateway |
| state | the VPN connection's state (available, deleting, deleted, pending) |
| option.static-routes-only | whether the VPN connection is restricted to static routes instead of using BGP |
| route.destination-cidr-block | the address block corresponding to the subnet used in the data center behind the customer gateway router |
| tag-key | key of a tag assigned to the VPC |
| tag-value | value of a tag assigned to the VPC |
| tag:KEY | specific tag key/value combination |
| vpc-connection-id | the VPN connection's ID |
| vpc-gateway-id | ID of the connected virtual private gateway |
| Option | Description |
|---|---|
| --show-empty-fields | Show empty fields using (nil) as a placeholder to indicate that this data was not requested. Empty fields are not shown by default. |
| --region value | Specify region value as the cloud region to use. You can set this by using the environment variable AWS_DEFAULT_REGION. |
| -U,--url value | Overrides the URL for the service call with the value entered. You can set this by using the environment variable AWS_AUTOSCALING_URL. |
| -I, --access-key-id value | User's access key ID |
| -S, --secret-key value | User's AWS secret Key to use. |
| --debug | Prints what the command sends to the server and what it receives from the server. Use when you're trying to debug Euca2ools. |
| --debugger | Enable interactive debugger on error. |
| --version | Display the version of this tool. |
| -h,--help | Display the manual page for the command. |