Fortinet white logo
Fortinet white logo

CLI Reference

config reserved-address

config reserved-address

Description: Configure options for the DHCP server to assign IP settings to specific MAC addresses.

config system dhcpserver
  edit <name>
    set reserved-address enable
    config reserved-addresses
      edit <name>
        set *ip {ipv4-address}
        set *mac {mac-address}
        set *action [block | reserved]
        unset
        next
        show
        abort
        end
      delete <name>
      purge
      show
      end
    next
    show
    end
  delete <name>
  purge
  show
  end
Parameter Description Type Size Default

ip

IP address to be reserved for the MAC address.

IPv4 address

-

none

mac

MAC address of the client that will get the reserved IP address.

string

-

none

action

Options for the DHCP server to configure the client with the reserved MAC address.

option

-

reserved

Option Description
block Block the address.
reserved Reserve the address.

config reserved-address

config reserved-address

Description: Configure options for the DHCP server to assign IP settings to specific MAC addresses.

config system dhcpserver
  edit <name>
    set reserved-address enable
    config reserved-addresses
      edit <name>
        set *ip {ipv4-address}
        set *mac {mac-address}
        set *action [block | reserved]
        unset
        next
        show
        abort
        end
      delete <name>
      purge
      show
      end
    next
    show
    end
  delete <name>
  purge
  show
  end
Parameter Description Type Size Default

ip

IP address to be reserved for the MAC address.

IPv4 address

-

none

mac

MAC address of the client that will get the reserved IP address.

string

-

none

action

Options for the DHCP server to configure the client with the reserved MAC address.

option

-

reserved

Option Description
block Block the address.
reserved Reserve the address.