< Home

untagged vlan (soft GRE profile view)

Function

The untagged vlan command configures an AP to send packets through the soft GRE tunnel without carrying the VLAN tag.

The undo untagged vlan command restores the VLAN tag carried in packets sent by an AP through the soft GRE tunnel.

By default, packets sent by an AP through the soft GRE tunnel carry the VLAN tag.

Format

untagged vlan vlan-id

undo untagged vlan

Parameters

Parameter Description Value
vlan-id

Specifies the ID of a VLAN whose tag is to be removed.

The value is an integer that ranges from 1 to 4094.

Views

Soft GRE profile view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

After receiving service data packets from STAs, an AP adds the service VLAN tag to the packets and then encapsulates them over a soft GRE tunnel. In some scenarios, however, the peer device of the soft GRE tunnel cannot process VLAN-tagged packets. In this case, run the untagged vlan command to add the soft GRE interface to the specified VLAN in untagged mode. Additionally, configure the PVID of the soft GRE interface to the same as the specified VLAN. If the VLAN specified in this command is the service VLAN, the VLAN tag of packets passing through the soft GRE tunnel will be removed. The AP then sends the packets in untagged mode.

Precautions

A soft GRE profile supports only one untagged VLAN.

Example

# Configure an AP to remove VLAN tag 101 from packets and send them through a soft GRE tunnel in untagged mode.

<HUAWEI> system-view
[HUAWEI] wlan
[HUAWEI-wlan-view] softgre-profile name soft1
[HUAWEI-wlan-softgre-prof-soft1] untagged vlan 101
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >