Skip to main content
midlajkp888
Explorer II
June 18, 2025
Solved

Error while editing route-map via FortiManager

  • June 18, 2025
  • 3 replies
  • 1571 views

Hi Team,

I was trying to edit an existing BGP route-map via FortiManager but cannot save the configuration. I am getting this notification while doing so.

Error: rule/1/set-priority : out of range - prop[set-priority]: value 0 out of range (1,65535).

But I don't see any attribute or priority to set in the route-map configuration dialogue box. Please do let me know what am i missing here.

Warm Regards

FortiManager FortiGate 

Best answer by atakannatak

Hi @midlajkp888 ,

 

FortiManager rejects your route-map edit because the hidden field set-priority inside rule 1 is still set to 0, which is outside the current FortiOS valid range 1-65535. The CLI reference confirms that 0 is invalid, so any legacy route-map rule containing set-priority 0 triggers the “value 0 out of range (1,65535)” error you saw in FortiManager.

 

https://docs.fortinet.com/document/fortigate/7.2.0/cli-reference/556620/config-router-route-map

 

Clear the value ( unset set-priority ) or assign any number ≥ 1 on the FortiGate CLI, then re-sync; the route-map will save normally in FortiManager.

 

BR.

 

If my answer provided a solution for you, please mark the reply as solved it so that others can get it easily while searching for similar scenarios.

 

CCIE #68781

 

3 replies

atakannatak
Explorer
June 18, 2025

Hi @midlajkp888 ,

 

FortiManager rejects your route-map edit because the hidden field set-priority inside rule 1 is still set to 0, which is outside the current FortiOS valid range 1-65535. The CLI reference confirms that 0 is invalid, so any legacy route-map rule containing set-priority 0 triggers the “value 0 out of range (1,65535)” error you saw in FortiManager.

 

https://docs.fortinet.com/document/fortigate/7.2.0/cli-reference/556620/config-router-route-map

 

Clear the value ( unset set-priority ) or assign any number ≥ 1 on the FortiGate CLI, then re-sync; the route-map will save normally in FortiManager.

 

BR.

 

If my answer provided a solution for you, please mark the reply as solved it so that others can get it easily while searching for similar scenarios.

 

CCIE #68781

 

midlajkp888
Explorer II
June 23, 2025

Hi @atakannatak , Thank you very much for the reply. Yes, it was working when tried via CLI.

ebrlima
Staff
Staff
June 18, 2025

This is a know issue fixed in 7.4.7:

 

bug id 1152564, 1047850

 

https://docs.fortinet.com/document/fortimanager/7.4.7/release-notes/972111/resolved-issues

midlajkp888
Explorer II
June 23, 2025

Indeed. found it that later. Thank for the reply.

molitco2
New Member
June 23, 2025

had a similar experience yesterday, where fmg wanted to add "set allowas-in6 1" under "config neighbor", despite not set or used in the bgp template (ipv6 not even active).

ebrlima
Staff
Staff
June 23, 2025

Yes, it follows the same logic of @atakannatak's explanation.