Technical Tip: Command to get the bandwidth usage, session information and link performance status of the interface
Description
This article provides commands to find the link and link-monitor process status.
Scope
FortiGate.
Solution
Use below command to fetch the latency, jitter, packet loose and bandwidth usage of interface FortiGate.
diagnose system link-monitor interface <interface name>
aegon-kvm20 # diagnose sys link-monitor interface port4
Interface(port4): state(up, since Sun Apr 11 12:30:26 2021
), bandwidth(up:1220bps, down:1600bps), session count(1), tx(2138996 bytes), rx(4274112 bytes), latency(0.81), jitter(0.07), packet-loss(0.00).
Note:
The packet loss is a percentage, not the number of packets.
These commands provide the below information:
- state: interface status up/down.
- bandwidth: bandwidth usage in bits per sec.
- session count: number of session established with x interface as destination interface .
- Current latency, jitter and packet-loss.
Note:
The interface should be a member of the SD-WAN health check or link-monitor to get the output.
Related documents:
