Fortinet white logo
Fortinet white logo

interface

interface

Configure system interface settings.

Usage

config system interface
  edit <port>
    set ip <ip_address/netmask>
    set status { enable | disable }
    set allowaccess { ssh | https | icmp }
end

Subcommands

Command

Description

abort

End and discard last config.

edit

Add or edit a table value.

help

List available commands or provide detailed help for a specific command.

Set arguments

Argument

Description

ip

IP address with subnet prefix length (192.168.49.2/24)

status

Enable or disable this port.

allowaccess

Allow the specified services access on this port, delimited by

comma.

Allowed values:

  • ssh

  • https

  • icmp

interface

interface

Configure system interface settings.

Usage

config system interface
  edit <port>
    set ip <ip_address/netmask>
    set status { enable | disable }
    set allowaccess { ssh | https | icmp }
end

Subcommands

Command

Description

abort

End and discard last config.

edit

Add or edit a table value.

help

List available commands or provide detailed help for a specific command.

Set arguments

Argument

Description

ip

IP address with subnet prefix length (192.168.49.2/24)

status

Enable or disable this port.

allowaccess

Allow the specified services access on this port, delimited by

comma.

Allowed values:

  • ssh

  • https

  • icmp