Get L2 Forwarder Statistics

Get L2 Forwarder Statistics

Returns statistics of the l2 forwarder on logical switch. It always returns realtime response.

Request
URI
GET
https://nsxmanager.your.domain/api/v1/logical-switches/{logical-switch-id}/inter-site-forwarder/statistics
COPY
Path Parameters
string
logical-switch-id
Required

logical-switch-id


Authentication
This operation uses the following authentication methods.
Responses
200

OK

Returns L2ForwarderStatistics of type(s) application/json
{
    "last_update_timestamp": 0,
    "logical_switch_id": "string",
    "rx": {},
    "tx": {}
}
integer As int64 As int64
last_update_timestamp
Optional

Timestamp when the l2 forwarder statistics was last updated.

string
logical_switch_id
Optional

Logical switch id on which the L2 forwarder is created.

rx
Optional

Provides the statistics of a port since the time it was created. It includes the number of incoming, outgoing and dropped packet counters and, the number of errors and failures causing the drops. The statistics will be reset on edge reboot or edge dataplane restart.

tx
Optional

Provides the statistics of a port since the time it was created. It includes the number of incoming, outgoing and dropped packet counters and, the number of errors and failures causing the drops. The statistics will be reset on edge reboot or edge dataplane restart.


400
Returns BadRequest of type(s) application/json
Operation doesn't return any data structure

403
Returns Forbidden of type(s) application/json
Operation doesn't return any data structure

404

Not Found

Operation doesn't return any data structure

412
Returns PreconditionFailed of type(s) application/json
Operation doesn't return any data structure

500
Returns InternalServerError of type(s) application/json
Operation doesn't return any data structure

503
Returns ServiceUnavailable of type(s) application/json
Operation doesn't return any data structure

Code Samples
COPY
                    curl -H 'Authorization: <value>' https://{api_host}/api/v1/logical-switches/{logical-switch-id}/inter-site-forwarder/statistics