Fortinet white logo
Fortinet white logo

CLI Reference

config network address

config network address

Description: Configure IPv4 addresses.

config network address

edit <name>

set type [ipmask | iprange]

set subnet {ipv4-address}

set start-ip {ipv4-address} *available when type is set to iprange

set end-ip {ipv4-address} *available when type is set to iprange

unset

next

show

abort

end

delete <name>

purge

show

end

Sample command:

FX201E5919000057 (address) # show
config network address
    edit lan
        set type ipmask
        set subnet 192.168.200.0/24
    next
Parameter Description Type Size Default
type Type of address. option - ipmask
Option Description
ipmask IP address and subnet mask.
iprange IP range.
subnet IP address and subnet mask. IPv4 address - none
start-ip The first IP address (inclusive) in the range of IP addresses. IPv4 address - none

end-ip

The last IP address (inclusive) in the range of IP addresses.

IPv4 address - none

config network address

config network address

Description: Configure IPv4 addresses.

config network address

edit <name>

set type [ipmask | iprange]

set subnet {ipv4-address}

set start-ip {ipv4-address} *available when type is set to iprange

set end-ip {ipv4-address} *available when type is set to iprange

unset

next

show

abort

end

delete <name>

purge

show

end

Sample command:

FX201E5919000057 (address) # show
config network address
    edit lan
        set type ipmask
        set subnet 192.168.200.0/24
    next
Parameter Description Type Size Default
type Type of address. option - ipmask
Option Description
ipmask IP address and subnet mask.
iprange IP range.
subnet IP address and subnet mask. IPv4 address - none
start-ip The first IP address (inclusive) in the range of IP addresses. IPv4 address - none

end-ip

The last IP address (inclusive) in the range of IP addresses.

IPv4 address - none