Get Logical Port Statistics
Returns statistics of a specified logical port. If the logical port is attached to a logical router port, query parameter "source=realtime" is not supported.
lport-id
Data source type.
OK
{
"tx_bytes": {
"total": 0,
"multicast_broadcast": 0,
"dropped": 0
},
"rx_packets": {
"total": 0,
"multicast_broadcast": 0,
"dropped": 0
},
"tx_packets": {
"total": 0,
"multicast_broadcast": 0,
"dropped": 0
},
"rx_bytes": {
"total": 0,
"multicast_broadcast": 0,
"dropped": 0
},
"mac_learning": {
"macs_learned": 0,
"mac_not_learned_packets_dropped": 0,
"mac_not_learned_packets_allowed": 0
},
"dropped_by_security_packets": {
"spoof_guard_dropped": [
{
"counter": 0,
"packet_type": "string"
}
],
"dhcp_server_dropped_ipv4": 0,
"dhcp_server_dropped_ipv6": 0,
"dhcp_client_dropped_ipv4": 0,
"bpdu_filter_dropped": 0,
"dhcp_client_dropped_ipv6": 0
},
"logical_port_id": "string",
"last_update_timestamp": 0
}
{
"details": "string",
"related_errors": [
"ApiError Object"
],
"module_name": "string",
"error_message": "string",
"error_code": 0
}
Additional data about the error
Further details about the error
The module name where the error occurred
A description of the error
A numeric error code
{
"details": "string",
"related_errors": [
"ApiError Object"
],
"module_name": "string",
"error_message": "string",
"error_code": 0
}
Additional data about the error
Further details about the error
The module name where the error occurred
A description of the error
A numeric error code
Not Found
{
"details": "string",
"related_errors": [
"ApiError Object"
],
"module_name": "string",
"error_message": "string",
"error_code": 0
}
Additional data about the error
Further details about the error
The module name where the error occurred
A description of the error
A numeric error code
{
"details": "string",
"related_errors": [
"ApiError Object"
],
"module_name": "string",
"error_message": "string",
"error_code": 0
}
Additional data about the error
Further details about the error
The module name where the error occurred
A description of the error
A numeric error code
{
"details": "string",
"related_errors": [
"ApiError Object"
],
"module_name": "string",
"error_message": "string",
"error_code": 0
}
Additional data about the error
Further details about the error
The module name where the error occurred
A description of the error
A numeric error code