Fortinet Document Library

Version:


Table of Contents

Cookbook

6.2.0
Download PDF
Copy Link

Data statistic

This example shows a FortiLink scenario where the FortiGate acts as the switch controller that collects the data statistics of managed FortiSwitch ports. This is counted by each FortiSwitch and concentrated in the controller.

Sample topology

To show data statistics using the GUI:
  1. Go to WiFi & Switch Controller > FortiSwitch Ports.
  2. Select Configure Table.
  3. Select Bytes, Errors and Packets to make them visible.

The related data statistic of each managed FortiSwitch port is shown.

To show data statistics using the CLI:
# diagnose switch-controller switch-info port-stats S248EPTF180XXXX
    ......

    Port(port50) is Admin up, line protocol is down
    Interface Type is Gigabit Media Independent Interface(GMII)
    Address is 70:4C:A5:E0:F3:8D, loopback is not set
    MTU 9216 bytes, Encapsulation IEEE 802.3/Ethernet-II
    full-duplex, 1000 Mb/s, link type is manual
    input  : 0 bytes, 0 packets, 0 errors, 0 drops, 0 oversizes
        0 unicasts, 0 multicasts, 0 broadcasts, 0 unknowns
    output : 0 bytes, 0 packets, 0 errors, 0 drops, 0 oversizes
        0 unicasts, 0 multicasts, 0 broadcasts
        0 fragments, 0 undersizes, 0 collisions, 0 jabbers
    ......

Data statistic

This example shows a FortiLink scenario where the FortiGate acts as the switch controller that collects the data statistics of managed FortiSwitch ports. This is counted by each FortiSwitch and concentrated in the controller.

Sample topology

To show data statistics using the GUI:
  1. Go to WiFi & Switch Controller > FortiSwitch Ports.
  2. Select Configure Table.
  3. Select Bytes, Errors and Packets to make them visible.

The related data statistic of each managed FortiSwitch port is shown.

To show data statistics using the CLI:
# diagnose switch-controller switch-info port-stats S248EPTF180XXXX
    ......

    Port(port50) is Admin up, line protocol is down
    Interface Type is Gigabit Media Independent Interface(GMII)
    Address is 70:4C:A5:E0:F3:8D, loopback is not set
    MTU 9216 bytes, Encapsulation IEEE 802.3/Ethernet-II
    full-duplex, 1000 Mb/s, link type is manual
    input  : 0 bytes, 0 packets, 0 errors, 0 drops, 0 oversizes
        0 unicasts, 0 multicasts, 0 broadcasts, 0 unknowns
    output : 0 bytes, 0 packets, 0 errors, 0 drops, 0 oversizes
        0 unicasts, 0 multicasts, 0 broadcasts
        0 fragments, 0 undersizes, 0 collisions, 0 jabbers
    ......