Fortinet black logo

Interface management

Copy Link
Copy Doc ID f815156d-f108-11e9-8977-00505692583a:705422
Download PDF

Interface management

FortiExtender-40D-AMEU comes with one LAN interface and one LTE interface, whereas FortiExtender-201E comes with one WAN interface, one LTE interface, and four LAN interfaces. The table below describes the CLI commands used to configure the system interface.

CLI command

Description

config system interface

Enters system interface configuration mode.

edit <interface_name>

Specify or edit an interface name.

set type <type>

Select the interface type:

  • physical—LAN interface, i.e., nas1 (Can be edited only).
  • lte—LTE interface, i.e., eth1 (Can be edited only).
  • loopback—Loopback interface (Can be edited only).
  • tunnel—Tunnel interface (Can be created, edited, or deleted).
  • virtual-wan—Virtual WAN interface (Can be created, edited, or deleted).

set status {up | down}

Specify the interface state:

  • up—Enabled.
  • down—Disabled.

set mode {static | dhcp}

Set the interface IP addressing mode:

  • static—If selected, FortiExtender will use a fixed IP address to connect to the Internet. See set ip <ip> below.
  • dhcp—If selected, FortiExtender will work in DHCP client mode.

set ip <ip>

(Applicable only when IP addressing mode is set to "static".) Specify an IPv4 address and subnet mask in the format: x.x.x.x/24

set gateway <gateway>

Set an IPv4 address for the router in the format: x.x.x.x

set mtu <mtu>

Set the interface's MTU value in the range of 0–4294967295.

allowaccess {ping | http | https | telnet | capwap}

Select the types of management traffic allowed to access the interface:

  • ping—PING access.
  • http—HTTP access.
  • https—HTTPS access.
  • telnet—TELNET access.
  • capwap—CAPWAP access.

Interface management

FortiExtender-40D-AMEU comes with one LAN interface and one LTE interface, whereas FortiExtender-201E comes with one WAN interface, one LTE interface, and four LAN interfaces. The table below describes the CLI commands used to configure the system interface.

CLI command

Description

config system interface

Enters system interface configuration mode.

edit <interface_name>

Specify or edit an interface name.

set type <type>

Select the interface type:

  • physical—LAN interface, i.e., nas1 (Can be edited only).
  • lte—LTE interface, i.e., eth1 (Can be edited only).
  • loopback—Loopback interface (Can be edited only).
  • tunnel—Tunnel interface (Can be created, edited, or deleted).
  • virtual-wan—Virtual WAN interface (Can be created, edited, or deleted).

set status {up | down}

Specify the interface state:

  • up—Enabled.
  • down—Disabled.

set mode {static | dhcp}

Set the interface IP addressing mode:

  • static—If selected, FortiExtender will use a fixed IP address to connect to the Internet. See set ip <ip> below.
  • dhcp—If selected, FortiExtender will work in DHCP client mode.

set ip <ip>

(Applicable only when IP addressing mode is set to "static".) Specify an IPv4 address and subnet mask in the format: x.x.x.x/24

set gateway <gateway>

Set an IPv4 address for the router in the format: x.x.x.x

set mtu <mtu>

Set the interface's MTU value in the range of 0–4294967295.

allowaccess {ping | http | https | telnet | capwap}

Select the types of management traffic allowed to access the interface:

  • ping—PING access.
  • http—HTTP access.
  • https—HTTPS access.
  • telnet—TELNET access.
  • capwap—CAPWAP access.