Description | This article describes how to display the SLA link monitor status for an ADVPN shortcut tunnel. |
Scope | FortiGate v7.2.0 and later, v7.4.0 and later. |
Solution |
When the ADVPN scenario is configured it is necessary to set some SLAs for some Interface selection strategies. LAN1 192.168.13.0/24 LAN HUB 10.254.0.0/24 LAN2 192.168.12.0/24 Ping server 10.254.0.99
Before the shortcut is negotiated between both spokes, all the traffic is sent through the HUB tunnels. After the shortcut is established (VPN_HUB1_0), traffic between networks 192.168.13.0/24 and 192.168.12.0/24 is sent directly between Spokes. Spoke1:
FGT-SPOKE1 (SLA_LAN_HUB) # show
Spoke2:
FGT-SPOKE2 (HUB_PIN SERVER) # show
This will create a link monitor for each VPN tunnel from spokes to HUB to monitor the server 10.254.0.99.
FGT-SPOKE1 # diagnose sniffer packet VPN_HUB1_0 'none' 4 On link-monitor debug these probes are shown:
FGT-SPOKE1 # diagnose debug application link-monitor -1 FGT-SPOKE1 # diagnose debug enable
2025-03-11 18:55:26 lnkmtd::monitor_proto_peer_send_request(638): <----- SLA_LAN_HUB-1-VIRTUAL_WAN_LINK-1-VPN_HUB1_0(172.16.31.2:ping) send probe packet, fail count(0)
Even ping server 10.254.0.99 is configured on SLA it is not used for shortcut monitor, however, SD-WAN health check also reports the result for that tests:
FGT-SPOKE1 # diagnose sys sdwan health-check
It is possible to display the link monitor information for a shortcut using the name obtained on the link-monitor debug 'SLA_LAN_HUB-1-VIRTUAL_WAN_LINK-1-VPN_HUB1_0' by the following command:
diagnose sys link-monitor status "link_monitor name"
In this case: FGT-SPOKE1 # diagnose sys link-monitor status SLA_LAN_HUB-1-VIRTUAL_WAN_LINK-1-VPN_HUB1_0 Link Monitor: SLA_LAN_HUB-1-VIRTUAL_WAN_LINK-1-VPN_HUB1_0, Status: alive, Server num(1), cfg_version=0 Flags=0x3 init no_src_route, Create time: Tue Mar 11 18:52:10 2025
The above output shows that the peer IP (ping server) for the shortcut link-monitor is 172.16.31.2 (overlay IP) and not the ping server defined on the SLA health-check. |
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2025 Fortinet, Inc. All Rights Reserved.