Link-Monitor only works with the Static and Policy Route, not the Directly Connected Route.
Link health monitor enables FortiGate to detect dead links when the failure is beyond the local physical connection.
FortiGate # config system link-monitor
FortiGate (link-monitor) # edit 1
new entry 'port1-monitor' added
FortiGate (link-monitor) # edit 1
new entry 'port1-monitor' added
user get command to see current full status
FortiGate (port1-monitor) # set srcintf port1
FortiGate (port1-monitor) # set gateway-ip 10.200.1.254
FortiGate (port1-monitor) # set server 4.2.2.1
FortiGate (port1-monitor) # set protocol ping
FortiGate (port1-monitor) # set update-static-route enable
FortiGate (port1-monitor) # end
FortiGate (port1-monitor) # set srcintf port1
FortiGate (port1-monitor) # set gateway-ip 10.200.1.254
FortiGate (port1-monitor) # set server 4.2.2.1
FortiGate (port1-monitor) # set protocol ping
FortiGate (port1-monitor) # set update-static-route enable
FortiGate (port1-monitor) # end
FortiGate # config system link-monitor
FortiGate (link-monitor) # edit 2
new entry 'port1-monitor' added
FortiGate (port1-monitor) # set srcintf port1
FortiGate (port1-monitor) # set gateway-ip 10.200.2.254
FortiGate (port1-monitor) # set server 4.2.2.2
FortiGate (port1-monitor) # set protocol ping
FortiGate (port1-monitor) # set update-static-route enable
FortiGate (port1-monitor) # end
FortiGate # show system link-monitor
config system link-monitor
edit "1"
set srcintf "port1"
set server "4.2.2.1"
set gateway-ip 10.200.1.254
next
edit "2"
set srcintf "port2"
set server "4.2.2.2"
set gateway-ip 10.200.2.254
next
end
FortiGate # diag sys link-monitor status
Link Monitor: 1, Status: alive, Server num(1), HA state: local(alive), shared(alive)
Flags=0x1 init, Create time: Mon Aug 21 16:43:45 2023
Source interface: port1 (3)
VRF: 0
Gateway: 10.200.1.254
Interval: 500 ms
Service-detect: disable
Diffservcode: 000000
Class-ID: 0
Peer: 4.2.2.1(4.2.2.1)
Source IP(10.200.1.1)
Route: 10.200.1.1->4.2.2.1/32, gwy(10.200.1.254)
protocol: ping, state: alive
Latency(Min/Max/Avg): 30.314/99.559/36.845 ms
Jitter(Min/Max/Avg): 0.108/64.081/8.087
Packet lost: 0.000%
MOS: 4.377
Number of out-of-sequence packets: 0
Fail Times(0/5)
Packet sent: 330, received: 329, Sequence(sent/rcvd/exp): 331/330/331
Link Monitor: 2, Status: alive, Server num(1), HA state: local(alive), shared(alive)
Flags=0x1 init, Create time: Mon Aug 21 16:20:16 2023
Source interface: port2 (6)
VRF: 0
Gateway: 10.200.2.254
Interval: 500 ms
Service-detect: disable
Diffservcode: 000000
Class-ID: 0
Peer: 4.2.2.2(4.2.2.2)
Source IP(10.200.2.1)
Route: 10.200.2.1->4.2.2.2/32, gwy(10.200.2.254)
protocol: ping, state: alive
Latency(Min/Max/Avg): 33.608/41.622/36.536 ms
Jitter(Min/Max/Avg): 0.126/6.616/2.617
Packet lost: 0.000%
MOS: 4.383
Number of out-of-sequence packets: 0
Fail Times(0/5)
Packet sent: 3142, received: 3129, Sequence(sent/rcvd/exp): 3143/3143/3144
Local-FortiGate #
Link Monitor: 1, Status: alive, Server num(1), HA state: local(alive), shared(alive)
Flags=0x1 init, Create time: Mon Aug 21 16:43:45 2023
Source interface: port1 (3)
VRF: 0
Gateway: 10.200.1.254
Interval: 500 ms
Service-detect: disable
Diffservcode: 000000
Class-ID: 0
Peer: 4.2.2.1(4.2.2.1)
Source IP(10.200.1.1)
Route: 10.200.1.1->4.2.2.1/32, gwy(10.200.1.254)
protocol: ping, state: alive
Latency(Min/Max/Avg): 30.314/99.559/36.845 ms
Jitter(Min/Max/Avg): 0.108/64.081/8.087
Packet lost: 0.000%
MOS: 4.377
Number of out-of-sequence packets: 0
Fail Times(0/5)
Packet sent: 330, received: 329, Sequence(sent/rcvd/exp): 331/330/331
Link Monitor: 2, Status: alive, Server num(1), HA state: local(alive), shared(alive)
Flags=0x1 init, Create time: Mon Aug 21 16:20:16 2023
Source interface: port2 (6)
VRF: 0
Gateway: 10.200.2.254
Interval: 500 ms
Service-detect: disable
Diffservcode: 000000
Class-ID: 0
Peer: 4.2.2.2(4.2.2.2)
Source IP(10.200.2.1)
Route: 10.200.2.1->4.2.2.2/32, gwy(10.200.2.254)
protocol: ping, state: alive
Latency(Min/Max/Avg): 33.608/41.622/36.536 ms
Jitter(Min/Max/Avg): 0.126/6.616/2.617
Packet lost: 0.000%
MOS: 4.383
Number of out-of-sequence packets: 0
Fail Times(0/5)
Packet sent: 3142, received: 3129, Sequence(sent/rcvd/exp): 3143/3143/3144
Local-FortiGate #
Link-monitor status on GUI
Add SDWAN widget to network dashboard
Log & Report > Events > System Events
verify routing change from cli or dashboard.
Comments
Post a Comment