FortiGate
FortiGate Next Generation Firewall utilizes purpose-built security processors and threat intelligence security services from FortiGuard labs to deliver top-rated protection and high performance, including encrypted traffic.
sdabhade
Staff
Staff
Article Id 225118
Description The article describes why 'keep-alive-timer', 'holdtime-timer', 'connect-timer' and 'Weight' show a Default value of 4294967295 in the BGP Neighbor configuration.
Scope FortiGate.
Solution

By design, the BGP Neighbour configuration shows the default 32bit value 4294967295.

This is the maximum 32bit value calculated as [(2^32)-1].

 

The Routing Module's Internal default value will be used in place of the 4294967295 default value.

The large value displayed is not really used in the routing module.

 

For FortiOS v7.0.3 and Earlier Versions:

 

# config router bgp

    set keepalive-timer 60

    set holdtime-timer 180

    config neighbor

        edit "10.10.10.10"

            set keep-alive-timer 4294967295

            set holdtime-timer 4294967295

            set connect-timer 4294967295

            set weight 4294967295

    next

end

 

FGT (10.10.10.10) # set keep-alive-timer

keep-alive-timer    <----- Enter an integer value from <0> to <65535> (default = <4294967295>).

 

FGT (10.10.10.10) # set holdtime-timer

holdtime-timer    <----- Enter an integer value from <3> to <65535> or (special = <0>) (default = <4294967295>).

 

FGT (10.10.10.10) # set connect-timer

connect-timer   <----- Enter an integer value from <0> to <65535> (default = <4294967295>).

 

FGT (10.10.10.10) # set weight

weight    <----- Enter an integer value from <0> to <65535> (default = <4294967295>).

 

 

For FortiOS v7.0.4, v7.2.0 and Later Versions:

 

As per the FortiOS design, the BGP neighbour 'show full-configuration' displays the default value as 4294967295, however, CLI help/hint/reference description displays the correct default values for respective BGP weight attribute or other timers.

 

# config router bgp

    set keepalive-timer 60

    set holdtime-timer 180

    config neighbor

        edit "10.10.10.10"

            set keep-alive-timer 4294967295

            set holdtime-timer 4294967295

            set connect-timer 4294967295

            set weight 4294967295

    next

end

 

FGT (10.10.10.10) # set holdtime-timer

holdtime-time   <----- Enter an integer value from <3> to <65535> or (special = <0>) (default: <Global BGP value>).

 

FGT (10.10.10.10) # set keep-alive-timer

keep-alive-timer    <----- Enter an integer value from <0> to <65535> (default: <Global BGP value>).

 

FGT (10.10.10.10) # set connect-timer

connect-timer    <----- Enter an integer value from <0> to <65535> (default: <120>).

 

FGT (10.10.10.10) # set weight

   weight    <----- Enter an integer value from <0> to <65535> (default: <0>).
Contributors