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.
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. |
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.