Fortigate 5.2的時候,GUI有個link-monitor的功能,可以偵測線路狀況。
5.4的時候,GUI就找不到了,原廠似乎建議使用WAN link load balancing功能去做。
不過link-monitor在CLI還是存在著,指令如下:
config system link-monitor
edit "port2"
set srcintf "port2"
set server "1.1.1.2"
set protocol ping
set gateway-ip 1.1.1.2
set source-ip 0.0.0.0
set interval 5
set timeout 1
set failtime 5
set recoverytime 5
set ha-priority 1
set update-cascade-interface disable
set update-static-route enable
set status enable
next
edit "port3"
set srcintf "port3"
set server "2.2.2.2"
set protocol ping
set gateway-ip 2.2.2.2
set source-ip 0.0.0.0
set interval 5
set timeout 1
set failtime 5
set recoverytime 5
set ha-priority 1
set update-cascade-interface disable
set update-static-route enable
set status enable
next
end
沒有留言:
張貼留言