< Home

port-forwarding keep-alive enable

Function

The port-forwarding keep-alive enable command enables the keeping alive function of the port-forwarding.

The undo port-forwarding keep-alive enable command disables the keeping alive function of the port-forwarding.

Format

port-forwarding keep-alive enable

undo port-forwarding keep-alive enable

Parameters

None

Views

Function service view

Default Level

2: Configuration level

Usage Guidelines

By default, the keeping alive function is disabled.

When the keeping alive function of the port-forwarding is enabled, the client periodically sends messages to the gateway, therefore, the port-forwarding connection between the client and the server cannot be terminated due to the SSL session timeout.

Example

# Enable the keeping alive function of the port-forwarding.

<sysname> system-view
[sysname] v-gateway abc
[sysname-abc] service
[sysname-abc-service] port-forwarding keep-alive enable  
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >