Policy > Networking > Network Services > VPN > L2VPN > Statistics

Get L2VPN session statistics under Tier-1 (Deprecated)

- no enforcement point path specified: statistics are evaluated on each enforcement point.
- an enforcement point path is specified: statistics are evaluated only on the given
enforcement point.
- source=realtime: statistics are fetched realtime from the enforcement point.
- source=cached: cached statistics from the enforcement point are returned.
Deprecated: This API is deprecated. Please use GET //infra/tier-1s/<tier-1-id>/l2vpn-services/<service-id>/ sessions/<session-id>/statistics instead.

Request:

Method:
GET
URI Path(s):
/policy/api/v1/infra/tier-1s/{tier-1-id}/locale-services/{locale-service-id}/l2vpn-services/{service-id}/sessions/{session-id}/statistics
Request Headers:
n/a
Query Parameters:
PolicyRuntimeRequestParameters+
Request Body:
n/a

Example Request:

GET https://<policy-mgr>/policy/api/v1/infra/tier-1s/int_net/locale-services/default/l2vpn-services/default/sessions/stretched-pa-site/statistics

Successful Response:

Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
AggregateL2VPNSessionStatistics+

Required Permissions:

read

Feature:

policy_statistics

Additional Errors: