< Home

long-link enable

Function

The long-link enable command enables the policy-based persistent link function.

The undo long-link enable command disables the policy-based persistent link function.

Format

long-link enable

undo long-link enable

Parameters

None

Views

Security policy rule view

Default Level

2: Configuration level

Usage Guidelines

By default, the policy-based persistent link function is disabled.

This function takes effect only on TCP packets matching the specific policy. Compared with session aging-time that takes effect on all packets and provides only second-level session keepalive duration, this command provides more refined management and longer session keepalive duration.

Example

# Enable the policy-based persistent link function.

<sysname> system-view
[sysname] security-policy
[sysname-policy-security] rule name a1
[sysname-policy-security-rule-a1] long-link enable
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >