FortiSwitch
FortiSwitch: secure, simple and scalable Ethernet solutions
Vishnuprasad
Staff
Staff
Article Id 350432
Description This article describes an error that occurs when attempting to configure additional DHCP-reserved addresses on a standalone FortiSwitch.
Scope FortiSwitch 124E-FPOE.
Solution

Reserving DHCP IP addresses for specific MAC addresses can be performed after configuring the DHCP server on the FortiSwitch.

 

Below is an example that demonstrates how to reserve IP addresses under the DHCP server. Exceeding the limit will result in an error.

 

Configuration Example:

 

S124EF591xxxxxxx #config system dhcp server
S124EF591xxxxxxx (server) #
S124EF591xxxxxxx (server) # edit 1
S124EF591xxxxxxx (1) # config reserved-address
S124EF591xxxxxxx (reserved-address) #
S124EF591xxxxxxx (reserved-address) # edit 1
new entry '1' added

S124EF591xxxxxxx (1) # set ip 10.10.10.10
S124EF591xxxxxxx (1) # set mac aa:aa:aa:aa:aa:aa
S124EF591xxxxxxx (1) # set type mac
S124EF591xxxxxxx (1) # next
S124EF591xxxxxxx (reserved-address) # edit 2
new entry '2' added

S124EF591xxxxxxx (2) #
S124EF591xxxxxxx (2) # set ip 10.10.10.11
S124EF591xxxxxxx (2) # set mac bb:bb:bb:bb:bb:bb
S124EF591xxxxxxx (2) # set type mac
S124EF591xxxxxxx (2) # next
S124EF591xxxxxxx (reserved-address) # edit 3
new entry '3' added
S124EF591xxxxxxx (3) # set ip 10.10.10.12
S124EF591xxxxxxx (3) # set mac cc:cc:cc:cc:cc:cc
S124EF591xxxxxxx (3) # set type mac
S124EF591xxxxxxx (3) # next
S124EF591xxxxxxx (reserved-address) #
S124EF591xxxxxxx (reserved-address) # edit 4
new entry '4' added
S124EF591xxxxxxx (4) # set ip 10.10.10.13
S124EF591xxxxxxx (4) # set mac dd:dd:dd:dd:dd:dd
S124EF591xxxxxxx (4) # set type mac
S124EF591xxxxxxx (4) # next
S124EF591xxxxxxx (reserved-address) # edit 5
Too many entries in this table: 4 / max=4
Command fail. Return code -361

 

As shown above, when attempting to add more than four reserved addresses on the FortiSwitch 124E-FPOE, receive the error:
'Too many entries in this table: 4 / max=4'.

 

In some firmware versions, this specific message might not appear, and only the generic error message will be displayed:
'Command fail. Return code -361'.

 

To determine the DHCP reserved address limits for different FortiSwitch models, refer to DHCP-reserved-list.