Interconnects > Read interconnect statistics |  | next

# Read interconnect statistics

To analyze network traffic on a specific interconnect requires several different REST APIs to view an interconnect, port, or subport. To see which statistics are available, view the resource models for each REST API: SwitchStatistics, PortStatistics, or SubportStatistics. FIP snooping information is available through PortStatistics and SubportStatistics.

### Prerequisites

- Minimum required session ID privileges: Infrastructure administrator

Reading interconnect statistics using REST APIs
Select an interconnect URI. `GET /rest/interconnects` Using the interconnect URI, get all statistics for all the ports. `GET `{interconnect URI}`/statistics`

Reading port statistics using REST APIs
Select an interconnect URI. `GET /rest/interconnects` Using the interconnect URI, select a port name. `GET `{interconnect URI}`/ports` Using the interconnect URI and port name, get the port and subport statistics `GET `{interconnect URI}`/statistics/`{portName}``

Reading subport statistics using REST APIs
Select an interconnect URI. `GET /rest/interconnects` Using the interconnect URI, select a port name and subport number. `GET `{interconnect URI}`/ports` Using the interconnect URI, port name, and subport number, get the subport statistics. `GET `{interconnect URI}`/statistics/`{portName}`/subport/`{subPortNumber}``

prev | up | next
About interconnects | home | Reapply interconnect configuration

Copyright © 2013-2016 Hewlett Packard Enterprise Development LP