< Home

hardware fast-forwarding session ttl-percent

Function

The hardware fast-forwarding session ttl-percent command sets the percentage of the aging time of hardware fast forwarding entries in the aging time of CPU session entries.

The undo hardware fast-forwarding session ttl-percent command restores the default setting (80%).

Format

hardware fast-forwarding session ttl-percent ttl-percent

undo hardware fast-forwarding session ttl-percent

Parameters

Parameter Description Value

ttl-percent

Specifies the percentage of the aging time of hardware fast forwarding entries in the aging time of CPU session entries.

The value is an integer ranging from 10 to 80, in percentages.

The maximum aging time of the fast forwarding flow table is 4095 seconds. If the flow table aging time calculated by percentage is greater than 4095 seconds, directly set the flow table aging time to 4095 seconds.

Views

System view

Default Level

3: Management level

Usage Guidelines

In versions earlier than V600R007C20SPC200, all models support this command. For V600R007C20SPC200 and later versions, device batches are distinguished by BomID Version (which can be checked using the display version command). All models except the USG6680E and USG6712E/6716E whose BomID Version is 003 or later or whose device BOM numbers contain "-001" support this command.

When session entries on the CPU age, it is unnecessary for hardware fast forwarding entries to live. Therefore, hardware fast forwarding entries age prior to session entries on the CPU. Therefore, the default percentage (80%) of the aging time of hardware fast forwarding entries in the aging time of CPU session entries is recommended.

For example, the aging time (TTL) of a session entry on the CPU is 30s, the aging time of the corresponding hardware fast forwarding entry is 30s x ttl-percent. The aging time of hardware fast forwarding entries cannot be less than 4s. If the aging time of hardware fast forwarding entries calculated based on the percentage is less than 4s, the aging time of hardware fast forwarding entries is considered as 4s.

The FW does not create flow tables for sessions whose aging time is no longer than four seconds.

Example

# Set the percentage of the aging time of hardware fast forwarding entries in the aging time of CPU session entries to 70%.

<sysname> system-view
[sysname] hardware fast-forwarding session ttl-percent 70
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >