Get Segment Port Statistics
Get infra segment port statistics information
Request
URLURL
https://nsxmanager.your.domain/policy/api/v1/infra/segments/{segments-id}/ports/{port-id}/statistics
Parameters
Parameters
string
segments-id
Required
No description available
string
port-id
Required
No description available
Query Parameters
Query Parameters
string
cursor
Optional
Opaque cursor to be used for getting next page of records (supplied by current result page)
string
edge_path
Optional
Policy path of edge node
string
enforcement_point_path
Optional
String Path of the enforcement point
boolean
include_mark_for_delete_objects
Optional
Include objects that are marked for deletion in results
string
included_fields
Optional
Comma separated list of fields that should be included in query result
integer
page_size
Optional
Maximum number of results to return in this page (server may return fewer)
boolean
sort_ascending
Optional
No description available
string
sort_by
Optional
Field by which records are sorted
Response
Response
Response BodyResponse Body
200 OK returns
SegmentPortStatistics
{
"dropped_by_security_packets": {
"bpdu_filter_dropped": 0,
"dhcp_client_dropped_ipv4": 0,
"dhcp_client_dropped_ipv6": 0,
"dhcp_server_dropped_ipv4": 0,
"dhcp_server_dropped_ipv6": 0,
"spoof_guard_dropped": [
{
"counter": 0,
"packet_type": "string"
}
]
},
"last_update_timestamp": 0,
"logical_port_id": "string",
"mac_learning": {
"mac_not_learned_packets_allowed": 0,
"mac_not_learned_packets_dropped": 0,
"macs_learned": 0
},
"rx_bytes": {
"dropped": 0,
"multicast_broadcast": 0,
"total": 0
},
"rx_packets": {
"dropped": 0,
"multicast_broadcast": 0,
"total": 0
},
"tx_bytes": {
"dropped": 0,
"multicast_broadcast": 0,
"total": 0
},
"tx_packets": {
"dropped": 0,
"multicast_broadcast": 0,
"total": 0
}
}
integer
last_update_timestamp
Optional
Timestamp when the data was last updated; unset if data source has never updated the data.
string
logical_port_id
Optional
The id of the logical port
cURL Command
curl https://nsxmanager.your.domain/policy/api/v1/infra/segments/{segments-id}/ports/{port-id}/statistics
Errors
404
The requested resource could not be found but may be available again in the future.
500
The server encountered an unexpected condition which prevented it from fulfilling the request.
503
The server is currently unavailable (because it is overloaded or down for maintenance).
On This Page
Segments Operations
put
delete
delete
delete
delete
delete
delete
get
get
patch
patch
patch
patch