[{"label":"Latest (v37.2)","version":"latest"},{"version":"v37.1"},{"version":"v37.0"},{"version":"v36.3"},{"version":"v36.2"},{"version":"v36.1"},{"version":"v36.0"},{"link":"https://developer.vmware.com/apis/1046/vmware-cloud-director","version":"v35.0"}]
vmware-cloud-director

Get IP Sec VPN Tunnel Statistics

Description

Retrieves connection statistics for a given IPSec VPN Tunnel configured on an Edge Gateway.

Request

Request

URL

URL


get
https://{api_host}/cloudapi/1.0.0/edgeGateways/{gatewayId}/ipsec/tunnels/{tunnelId}/statistics
Copy

Path Parameters

Path Parameters

string
gatewayId Required

string
tunnelId Required

Authentication

Authentication

This operation uses the following authentication methods.

Response

Response

Response Body

Response Body

200 OK

Returns EdgeIpSecVpnTunnelStatistics of type(s) application/json;version=37.0
{
	"bytesIn": 0,
	"bytesOut": 0,
	"decryptionErrors": 0,
	"encryptionErrors": 0,
	"integrityErrors": 0,
	"localSubnet": "string",
	"noMatchingPolicyErrors": 0,
	"overflowErrors": 0,
	"packetsIn": 0,
	"packetsInDropped": 0,
	"packetsOut": 0,
	"packetsOutDropped": 0,
	"packetsReceivedError": 0,
	"packetsSentError": 0,
	"peerSubnet": "string",
	"replayErrors": 0,
	"saMismatchInErrors": 0,
	"saMismatchOutErrors": 0
}
integer as int64
bytesIn Optional

Number of bytes received.


integer as int64
bytesOut Optional

Number of bytes sent.


integer as int64
decryptionErrors Optional

Number of decryption errors.


integer as int64
encryptionErrors Optional

Number of encryption errors.


integer as int64
integrityErrors Optional

Number of integrity check errors.


string
localSubnet Optional

Local subnet to which a tunnel belongs.


integer as int64
noMatchingPolicyErrors Optional

Number of packets dropped because of no matching policy is available.


integer as int64
overflowErrors Optional

Number of errors due to overflow.


integer as int64
packetsIn Optional

Number of packets received.


integer as int64
packetsInDropped Optional

Number of packets dropped while receiving.


integer as int64
packetsOut Optional

Number of packets sent.


integer as int64
packetsOutDropped Optional

Number of packets dropped while sending.


integer as int64
packetsReceivedError Optional

Number of packets reveived with errors.


integer as int64
packetsSentError Optional

Number of packets sent with errors.


string
peerSubnet Optional

Peer subnet to which a tunnel belongs.


integer as int64
replayErrors Optional

Number of replay errors.


integer as int64
saMismatchInErrors Optional

Number of SA mismatch errors while receiving.


integer as int64
saMismatchOutErrors Optional

Number of SA mismatch errors while sending.

Errors

Errors

Error
404

The specified resource was not found

Code Samples

Code Samples

cURL Command

curl https://{api_host}/cloudapi/1.0.0/edgeGateways/{gatewayId}/ipsec/tunnels/{tunnelId}/statistics


[{"label":"Latest (v37.2)","version":"latest"},{"version":"v37.1"},{"version":"v37.0"},{"version":"v36.3"},{"version":"v36.2"},{"version":"v36.1"},{"version":"v36.0"},{"link":"https://developer.vmware.com/apis/1046/vmware-cloud-director","version":"v35.0"}]
vmware-cloud-director
Feedback

Was this page helpful?