Fortinet Document Library

Version:


Table of Contents

6.2.3
Download PDF
Copy Link

set interface

This command configures the network interfaces of FortiWeb Manager.

FortiWeb Manager supports the following interfaces by default. You can set the parameters for these ports.

Network Interface* IPv4 Address/Netmask IPv6 Address/Netmask
port1 192.168.1.99/24 ::/0
port2 0.0.0.0/0 ::/0
port3 0.0.0.0/0 ::/0
port4 0.0.0.0/0 ::/0

Syntax

set interface <port> {(ip | ip6) <IPADDRESS/LENGTH>|(addressing-mode | addressing6-mode)(manual | dhcp)}

Variable Description

<port>

Select the physical network port of the FortiWeb Manager appliance.

addressing-mode {manual | dhcp}

Specify whether FortiWeb Manager acquires an IP address for this network interface manually or using DHCP to allow DHCP server to automatically assign IP address.

<IPADDRESS/LENGTH>

Type the IP address and subnet mask, separated by a forward slash ( / ), such as 192.0.2.2/24 for an IPv4 address.

Example

set interface port1 ip 10.200.111.98/24

set interface port1 addressing-mode dhcp

 

set interface

This command configures the network interfaces of FortiWeb Manager.

FortiWeb Manager supports the following interfaces by default. You can set the parameters for these ports.

Network Interface* IPv4 Address/Netmask IPv6 Address/Netmask
port1 192.168.1.99/24 ::/0
port2 0.0.0.0/0 ::/0
port3 0.0.0.0/0 ::/0
port4 0.0.0.0/0 ::/0

Syntax

set interface <port> {(ip | ip6) <IPADDRESS/LENGTH>|(addressing-mode | addressing6-mode)(manual | dhcp)}

Variable Description

<port>

Select the physical network port of the FortiWeb Manager appliance.

addressing-mode {manual | dhcp}

Specify whether FortiWeb Manager acquires an IP address for this network interface manually or using DHCP to allow DHCP server to automatically assign IP address.

<IPADDRESS/LENGTH>

Type the IP address and subnet mask, separated by a forward slash ( / ), such as 192.0.2.2/24 for an IPv4 address.

Example

set interface port1 ip 10.200.111.98/24

set interface port1 addressing-mode dhcp