You can reset the aging time of the session on the FW to meet the requirement of the network.
You can set the session aging time for each service as required.
Generally, the default aging time of the session table is adopted. To change the aging time, you should first estimate and identify the traffic type and connection number of the actual network. For special services that require long time connections, you are advised to implement the persistent connection function instead of running the following command to lengthen the aging time of the traffic of a certain protocol.
In certain scenarios, when the number of concurrent sessions on the FW increases rapidly, new sessions may fail to be created for normal services. In this case, you can enable the fast session aging function to accelerate the aging process. In this way, sessions can be aged in advance, rapidly reducing the session table usage.
system-view
firewall session aging-time { service-set session-type aging-time | default }
The fast session aging function does not take effect for persistent-connection sessions, and sessions with TCP/SCTP connections being established or disconnected.
Fast DNS session aging is implemented by specifying the aging time of DNS sessions. Fast session aging does not change the aging time of sessions. Instead, it sets a rate for the aging time, so that sessions are aged before the aging time expires. When both fast DNS session aging and fast session aging are enabled, the FW ages sessions based on both the specified DNS session aging time and the aging time rate.
To view the aging time of the session table, run the display firewall session aging-time [ type { pre-defined | user-defined } ] command.