364
To solve this problem, enable the early aging function.
With the early aging function, the router performs early aging when the ratio of the current number of
established sessions to the maximum number of sessions exceeds the specified upper limit. When the
ratio is equal to or less than the specified lower limit, the session aging time is restored to the value set in
application aging-time
or
session aging-time
.
To configure early aging of sessions:
To do...
Command...
Remarks
1.
Enter system view.
system-view
—
2.
Enable the early aging
function and set the early
aging-related
parameters.
session early-ageout
shorten-time
threshold-high
threshold-high-value
threshold-low
threshold-low-value
Required.
By default, the early aging function
is disabled.
Setting the maximum number of sessions allowed to be
established
limit the size of the session table by setting the maximum number of sessions allowed to be established,
thus preventing the session management module from occupying too many memory resources.
To set the maximum number of sessions allowed to be established:
To do...
Command...
Remarks
1.
Enter system
view.
system-view
—
2.
Set the maximum
number of
sessions allowed
to be established
on an A6602
router.
session max-entries
max-entries
Required.
The default maximum value depends on your
device model.
The maximum value here must not exceed the
corresponding specification of the router.
3.
Set the maximum
number of
sessions allowed
to be established
on an interface
board of any
other A6600
router.
session max-entries
max-entries
slot
slot-number
Required.
The default maximum value depends on your
device model.
The maximum value here must not exceed the
corresponding specification of the interface board.
Enabling checksum verification
To ensure that session tracking is not affected by packets with checksum errors, enable checksum
verification for protocol packets. With checksum verification enabled, the session management feature
processes only packets with correct checksums. Packets with incorrect checksums are processed by other
services based on the session management.
CAUTION:
Checksum verification might degrade the performance of the router. Enable it with caution.