Fortinet white logo
Fortinet white logo

CLI Reference

config target

config target

Description: Configure router targets.

config target

edit <name>

set *target <name1>

set next-hop <name1>

unset

next

show

abort

end

delete <name>

purge

show

end

Sample command:
FX201E5919000057 # config router target
FX201E5919000057 (target) # show
config router target
    edit target.lo
        set interface lo
        set next-hop
next
Parameter Description Type Size Default
interface Target interface. option none
Option Description
lan LAN as the target interface.
lo Loopback as the target interface.
lte1 LTE 1 as the target interface.
wan WAN as the target interface.
port4 Port 4 as the target interface.
port1 Port 1 as the target interface.
next-hop Next-hop IP address in x.x.x.x format. IPv4 address - none

config target

config target

Description: Configure router targets.

config target

edit <name>

set *target <name1>

set next-hop <name1>

unset

next

show

abort

end

delete <name>

purge

show

end

Sample command:
FX201E5919000057 # config router target
FX201E5919000057 (target) # show
config router target
    edit target.lo
        set interface lo
        set next-hop
next
Parameter Description Type Size Default
interface Target interface. option none
Option Description
lan LAN as the target interface.
lo Loopback as the target interface.
lte1 LTE 1 as the target interface.
wan WAN as the target interface.
port4 Port 4 as the target interface.
port1 Port 1 as the target interface.
next-hop Next-hop IP address in x.x.x.x format. IPv4 address - none