How should print tablesize be interpreted for dynamic BGP neighbors using neighbor-range / neighbor-group?
Hello everyone,
I would like to clarify how FortiGate handles dynamic BGP neighbors in relation to the print tablesize output.
In our environment, we use a hub-and-spoke topology. On the hub, BGP peers are not configured statically one by one under config neighbor. Instead, we use:
neighbor-groupneighbor-range
This allows spoke peers to establish BGP sessions dynamically.
Â
When running print tablesize, we see:
router.bgp:neighbor: 0 0 1000
Â
My doubt is about the meaning of this value in a dynamic BGP scenario.
Â
I understand that max-neighbor-num under neighbor-range is a per-range configurable control, not necessarily the total platform limit. For example, the CLI allows:
Â
set max-neighbor-num <1-1000> or 0Â and documentation mentions that 0 is the default special value.
Â
Because of that, I would like to understand the following:
- Does
router.bgp:neighborinprint tablesizeapply only to statically configured neighbors, or does it also include dynamic neighbors created throughneighbor-range? - If
max-neighbor-numis set to0, should this be interpreted as:- no explicit per-range limit, and
- only the platform/runtime capacity still applies?
- Is there any official Fortinet reference that defines the maximum supported number of dynamic BGP peers/sessions for a given model?
- In general, for this case, which value should be used for capacity planning:
print tablesize- datasheet/platform scale
- or another BGP-specific limit?
Â
I am asking because in other features such as IPsec, print tablesize seems to describe configuration object limits, while actual feature scale may depend on runtime/platform behavior.
Â
Any clarification, official reference, or field experience would be appreciated.
Â
Thanks.
