Version:

Version:

Version:

Version:


Table of Contents

FortiGate-7000F Handbook

Download PDF
Copy Link

Controlling SNAT port partitioning behavior

You can use the following command to control how the FortiGate-7000F partitions source NAT (SNAT) source ports among FPMs:

config load-balance setting

set nat-source-port {chassis-slots | enabled-slots}

end

chassis-slots this option statically allocates SNAT source ports to all FPMs that are enabled when you enter the command. If you disable an FPM from the CLI or remove an FPM from its slot, the SNAT source ports assigned to that FPM will not be re-allocated to the remaining FPMs. All FPMs that are still operating will maintain the same SNAT source port allocation and active sessions being processed by the still operating FPMs will not be affected.

Note

You can use the following command to enable or disable an FPM from the CLI:

config workers

edit <slot>

set status {disable | enable}

end

enabled-slots this option dynamically re-distributes SNAT source ports to enabled or installed FPMs. This is the default behavior and is recommended in most cases.

If an FPM is disabled or removed from its slot, SLBC dynamically re-allocates SNAT source ports among the remaining FPMs. This means that all configured SNAT source ports remain available. If SNAT source ports are re-allocated when the FortiGate-7000F is actively processing traffic, some active sessions may be lost if their source ports are allocated to different FPMs.

Note

SNAT source ports are not dynamically reallocated if an FPM is powered off. To re-allocate SNAT source ports, the FPM must be disabled from the CLI or physically removed from its slot.

Controlling SNAT port partitioning behavior

You can use the following command to control how the FortiGate-7000F partitions source NAT (SNAT) source ports among FPMs:

config load-balance setting

set nat-source-port {chassis-slots | enabled-slots}

end

chassis-slots this option statically allocates SNAT source ports to all FPMs that are enabled when you enter the command. If you disable an FPM from the CLI or remove an FPM from its slot, the SNAT source ports assigned to that FPM will not be re-allocated to the remaining FPMs. All FPMs that are still operating will maintain the same SNAT source port allocation and active sessions being processed by the still operating FPMs will not be affected.

Note

You can use the following command to enable or disable an FPM from the CLI:

config workers

edit <slot>

set status {disable | enable}

end

enabled-slots this option dynamically re-distributes SNAT source ports to enabled or installed FPMs. This is the default behavior and is recommended in most cases.

If an FPM is disabled or removed from its slot, SLBC dynamically re-allocates SNAT source ports among the remaining FPMs. This means that all configured SNAT source ports remain available. If SNAT source ports are re-allocated when the FortiGate-7000F is actively processing traffic, some active sessions may be lost if their source ports are allocated to different FPMs.

Note

SNAT source ports are not dynamically reallocated if an FPM is powered off. To re-allocate SNAT source ports, the FPM must be disabled from the CLI or physically removed from its slot.