L2VPNSessionStatistics

L2VPNSessionStatistics
L2VPNSessionStatistics

Session statistics gives VPN session status and traffic statistics per logical switch.

JSON Example
{
    "traffic_statistics_per_logical_switch": [
        {
            "packets_out": 0,
            "packets_receive_error": 0,
            "bytes_in": 0,
            "bum_packets_in": 0,
            "bum_bytes_out": 0,
            "logical_switch": {
                "target_display_name": "string",
                "is_valid": false,
                "target_id": "string",
                "target_type": "string"
            },
            "bytes_out": 0,
            "packets_sent_error": 0,
            "bum_packets_out": 0,
            "packets_in": 0,
            "bum_bytes_in": 0
        }
    ],
    "display_name": "string",
    "partial_stats": false,
    "session_id": "string",
    "tap_traffic_counters": [
        {
            "packets_out": 0,
            "bytes_in": 0,
            "packets_sent_error": 0,
            "packets_receive_error": 0,
            "packets_in": 0,
            "bytes_out": 0
        }
    ]
}
traffic_statistics_per_logical_switch
Optional

Traffic statistics per logical switch.

string
display_name
Optional

L2VPN display name.

boolean
partial_stats
Optional

Partial statistics is set to true if onle active node responds while standby does not. In case of both nodes responded statistics will be summed and partial stats will be false. If cluster has only active node, partial statistics will always be false.

string
session_id
Optional

Session identifier for L2VPN.

tap_traffic_counters
Optional

Tunnel port traffic counters.