Version:

Version:

Version:

Version:

Version:

Version:


Table of Contents

Administration Guide

Link monitor

You can create a probe to monitor the link to a server. The FortiSwitch unit sends periodic ping messages to test that the server is available. You can use both IPv4 and IPv6 addresses.

tooltip icon The link monitor will only update static routes if the set device command under config router static is set.

Configuring the link probe

Using the GUI:
  1. Go to Router > Config > Link Probes.
  2. Select Add Probe to create a new probe.
  3. Enter a name for the new probe.
  4. Select whether the address mode is IPv4 or IPv6.
  5. Select the source interface
  6. Select the protocol.
  7. Enter an IP address for the Gateway IP.
  8. Enter the source IP address.
  9. Enter the detection interval.
  10. Enter the detection timeout.
  11. Enter the number of retry attempts before the server is brought down.
  12. Enter the number of retry attempts before bringing the server up.
  13. Click Add to create the probe.
Using the CLI:

config system link-monitor

edit <link monitor name>

set addr-mode {ipv4 | ipv6}

set srcintf <string>

set protocol {arp | ping}

set gateway-ip <IPv4 address>

set gateway-ip6 <IPv6 address>

set source-ip <IPv4 address>

set source-ip6 <IPv6 address>

set interval <integer>

set timeout <integer>

set failtime <integer>

set recoverytime <integer>

set update-static-route {enable | disable}

set status {enable | disable}

next

end

 

Variable

Description

<link monitor name>

Enter the link monitor name.

addr-mode {ipv4 | ipv6}

Select whether to use IPv4 or IPv6 addresses. The default is IPv4 addresses.

srcintf <string>

Interface where the monitor traffic is sent.

protocol {arp | ping}

Protocols used to detect the server. Select ARP or ping.

gateway-ip <IPv4 address>

Gateway IPv4 address used to PING the server. This option is available only when addr-mode is set to ipv4.

gateway-ip6 <IPv6 address>

Gateway IPv6 address used to PING the server. This option is available only when addr-mode is set to ipv6.

source-ip <IPv4 address>

Source IPv4 address used in packet to the server. This option is available only when addr-mode is set to ipv4.

source-ip6 <IPv6 address>

Source IPv6 address used in packet to the server. This option is available only when addr-mode is set to ipv6.

interval <integer>

Detection interval in seconds. The range is 1-3600.

timeout <integer>

Detect request timeout in seconds. The range is 1-255.

failtime <integer>

Number of retry attempts before bringing the server down. The range is 1-10.

recoverytime <integer>

Number of retry attempts before bringing the server up. The range is 1-10.

update-static-route {enable | disable}

Enable or disable update static route. The default is enabled.

status {enable | disable}

Enable or disable link monitor administrative status. The default is enabled.

Viewing the link monitor

To display the list of link probes:

Go to Router > Config > Link Probes or enter get system link-monitor.

To view the link monitor:

Go to System > Link Monitor or enter diagnose sys link-monitor status all.

Link monitor

You can create a probe to monitor the link to a server. The FortiSwitch unit sends periodic ping messages to test that the server is available. You can use both IPv4 and IPv6 addresses.

tooltip icon The link monitor will only update static routes if the set device command under config router static is set.

Configuring the link probe

Using the GUI:
  1. Go to Router > Config > Link Probes.
  2. Select Add Probe to create a new probe.
  3. Enter a name for the new probe.
  4. Select whether the address mode is IPv4 or IPv6.
  5. Select the source interface
  6. Select the protocol.
  7. Enter an IP address for the Gateway IP.
  8. Enter the source IP address.
  9. Enter the detection interval.
  10. Enter the detection timeout.
  11. Enter the number of retry attempts before the server is brought down.
  12. Enter the number of retry attempts before bringing the server up.
  13. Click Add to create the probe.
Using the CLI:

config system link-monitor

edit <link monitor name>

set addr-mode {ipv4 | ipv6}

set srcintf <string>

set protocol {arp | ping}

set gateway-ip <IPv4 address>

set gateway-ip6 <IPv6 address>

set source-ip <IPv4 address>

set source-ip6 <IPv6 address>

set interval <integer>

set timeout <integer>

set failtime <integer>

set recoverytime <integer>

set update-static-route {enable | disable}

set status {enable | disable}

next

end

 

Variable

Description

<link monitor name>

Enter the link monitor name.

addr-mode {ipv4 | ipv6}

Select whether to use IPv4 or IPv6 addresses. The default is IPv4 addresses.

srcintf <string>

Interface where the monitor traffic is sent.

protocol {arp | ping}

Protocols used to detect the server. Select ARP or ping.

gateway-ip <IPv4 address>

Gateway IPv4 address used to PING the server. This option is available only when addr-mode is set to ipv4.

gateway-ip6 <IPv6 address>

Gateway IPv6 address used to PING the server. This option is available only when addr-mode is set to ipv6.

source-ip <IPv4 address>

Source IPv4 address used in packet to the server. This option is available only when addr-mode is set to ipv4.

source-ip6 <IPv6 address>

Source IPv6 address used in packet to the server. This option is available only when addr-mode is set to ipv6.

interval <integer>

Detection interval in seconds. The range is 1-3600.

timeout <integer>

Detect request timeout in seconds. The range is 1-255.

failtime <integer>

Number of retry attempts before bringing the server down. The range is 1-10.

recoverytime <integer>

Number of retry attempts before bringing the server up. The range is 1-10.

update-static-route {enable | disable}

Enable or disable update static route. The default is enabled.

status {enable | disable}

Enable or disable link monitor administrative status. The default is enabled.

Viewing the link monitor

To display the list of link probes:

Go to Router > Config > Link Probes or enter get system link-monitor.

To view the link monitor:

Go to System > Link Monitor or enter diagnose sys link-monitor status all.