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
  1. Select an interconnect URI.

    GET /rest/interconnects

  2. Using the interconnect URI, get all statistics for all the ports.

    GET {interconnect URI}/statistics

Reading port statistics using REST APIs
  1. Select an interconnect URI.

    GET /rest/interconnects

  2. Using the interconnect URI, select a port name.

    GET {interconnect URI}/ports

  3. Using the interconnect URI and port name, get the port and subport statistics

    GET {interconnect URI}/statistics/{portName}

Reading subport statistics using REST APIs
  1. Select an interconnect URI.

    GET /rest/interconnects

  2. Using the interconnect URI, select a port name and subport number.

    GET {interconnect URI}/ports

  3. Using the interconnect URI, port name, and subport number, get the subport statistics.

    GET {interconnect URI}/statistics/{portName}/subport/{subPortNumber}