< Home

forward-mode

Function

The forward-mode command sets the data forwarding mode in a VAP profile.

The undo forward-mode command restores the default data forwarding mode in a VAP profile.

By default, the forwarding mode is direct-forward in the VAP profile.

Format

forward-mode { direct-forward | tunnel | softgre profile-name }

undo forward-mode

Parameters

Parameter

Description

Value

direct-forward

Indicates the direct forwarding mode.

-

tunnel

Indicates the tunnel forwarding mode.

-

softgre profile-name

Specifies the soft GRE tunnel forwarding mode and the name of the soft GRE profile referenced by the VAP profile.

The soft GRE profile must exist.

Views

VAP profile view

Default Level

2: Configuration level

Usage Guidelines

You can run the forward-mode command to configure the forwarding mode in a VAP profile. The forwarding modes of VAP profiles can be different.

A soft GRE profile can be applied to a VAP profile only after a destination address is configured for the soft GRE tunnel in the soft GRE profile.

Example

# Create the VAP profile vap1 and set the forwarding mode to tunnel forwarding in the profile.

<HUAWEI> system-view
[HUAWEI] wlan 
[HUAWEI-wlan-view] vap-profile name vap1
[HUAWEI-wlan-vap-prof-vap1] forward-mode tunnel
Warning: This action may cause service interruption. Continue?[Y/N]y 
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >