Get Gre Tunnel Statistics

Get Gre Tunnel Statistics

Retrieves statistics for a GRE Tunnel on the Provider Gateway.

Request
URI
GET
https://{api_host}/cloudapi/1.0.0/externalNetworks/{externalNetworkId}/providerGatewayServices/greTunnels/{tunnelId}/statistics
COPY
Path Parameters
string
externalNetworkId
Required

externalNetworkId

string
tunnelId
Required

tunnelId


Authentication
This operation uses the following authentication methods.
Responses
200

OK

Returns ProviderGatewayGreTunnelStatistics of type(s) application/json;version=39.1
{
    "destinationAddress": "string",
    "lastUpdated": "string",
    "transmittedStatistics": {
        "totalBytes": 0,
        "totalPackets": 0,
        "packetsDropped": 0
    },
    "receivedStatistics": {
        "totalBytes": 0,
        "totalPackets": 0,
        "packetsDropped": 0
    }
}
string
destinationAddress
Optional

The destination IP Address of the tunnel. IPv4 only.

string
lastUpdated
Optional

ISO-8601 date string reflecting the time the statistics were last updated.

transmittedStatistics
Optional

Traffic Statistics for a GRE Tunnel, either for received (RX) or transmitted (TX) traffic.

receivedStatistics
Optional

Traffic Statistics for a GRE Tunnel, either for received (RX) or transmitted (TX) traffic.


Code Samples
COPY
                    curl -H 'Authorization: <value>' https://{api_host}/cloudapi/1.0.0/externalNetworks/{externalNetworkId}/providerGatewayServices/greTunnels/{tunnelId}/statistics