Target
Target is the network connected to FortiExtender. It is usually an up-link network, such as an NSP network provided by a wireless carrier. A target consists of an outgoing interface and a next hop. Targets are always used in routing systems and SD-WANs to define the destination network to which traffic is sent.
The table below describes the commands for setting a target.
CLI command |
Description |
---|---|
config router target |
Enters target configuration mode. |
edit <name> |
Specify the target network. |
set interface <interface> |
Specify the outgoing interface of the gateway. |
set next-hop <next_hop> |
Specify the IP address of the next-hop gateway. |
Example target configuration:
# get system interface == [ lo ] name: lo status: online/up/link up type: loopback mac: 00:00:00:00:00:00 mode: static ip: 127.0.0.1/8 mtu: 65536 gateway: 0.0.0.0 == [ eth1 ] name: eth1 status: online/up/link up type: lte mac: 9a:fd:56:f1:1a:08 mode: dhcp ip: 10.118.38.4/29 mtu: 1500 gateway: 10.118.38.5 dns: 172.26.38.1 == [ nas1 ] name: nas1 status: online/up/link up type: physical mac: 70:4c:a5:fd:1b:38 mode: dhcp ip: 172.24.236.22/22 mtu: 1500 gateway: 172.24.239.254 dns: 172.30.1.105, 172.30.1.106 # config router target (target) # edit target.lte (target/lte) <M> # abort (target) # edit target.lte (target.lte) <M> # set interface eth1 (target.lte) <M> # set next-hop 10.118.38.5 (target.lte) <M> # next (target) # end
A target is automatically created when an LTE is connected, with the LTE as the outgoing interface and the gateway as the next hop. The next hop is not mandatory if the outgoing interface is a tunnel interface or a Virtual-WAN interface. For example: edit target.fcs-1-phase-1 set interface fcs-1-phase-1 set next-hop next edit target.vwan1 set interface vwan1 set next-hop next |