< Home

port-forwarding auto-start enable

Function

The port-forwarding auto-start enable command enables the function of automatically starting port forwarding.

The undo port-forwarding auto-start enable command disables the function of automatically starting port forwarding.

Format

port-forwarding auto-start enable

undo port-forwarding auto-start enable

Parameters

None

Views

Function service view

Default Level

2: Configuration level

Usage Guidelines

After you enable the function of automatically starting port forwarding and install the component on the virtual gateway according to prompts, the port forwarding function automatically starts.

By default, the function of automatically starting port forwarding is disabled.

Example

# Enable the function of automatically starting port forwarding.

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