< Home

vlan tagged (WDS profile view)

Function

The vlan tagged command adds one or a group of VLANs to a WDS profile in tagged mode.

The undo vlan tagged command deletes VLANs from a WDS profile.

By default, no VLAN is configured in a WDS profile.

Currently, VLANs can only be added to a WDS profile in tagged mode.

Format

vlan tagged { vlan-id1 [ to vlan-id2 ] } &<1-10>

undo vlan tagged { { vlan-id1 [ to vlan-id2 ] } &<1-10> | all }

Parameters

Parameter

Description

Value

vlan-id1 [ to vlan-id2 ]

Specifies the tagged VLAN ID.
  • vlan-id1 specifies the first VLAN ID.
  • to vlan-id2 specifies the last VLAN ID. The value of vlan-id2 must be greater than or equal to the value of vlan-id1. The vlan-id1 and vlan-id2 parameters determine a VLAN range.

If to vlan-id2 is not specified, only the VLAN specified by vlan-id1 is added to the WDS profile in tagged mode.

You can specify a maximum of 10 VLAN ranges at a time. The entered VLAN ranges cannot overlap.

  • The value of vlan-id1 is an integer that ranges from 1 to 4094.
  • The value of vlan-id2 is an integer that ranges from 1 to 4094.

all

Deletes all tagged VLANs from a WDS profile.

-

Views

WDS profile view

Default Level

2: Configuration level

Usage Guidelines

Adding VLANs to a WDS profile is equivalent to adding hybrid interfaces to a VLAN. After one or a group of VLANs is added to a WDS profile, the WDS link forwards only the packets with these VLAN IDs from STAs and peer APs.

A maximum of 256 VLANs can be added to a WDS profile.

Example

# Create the WDS profile test and add VLANs 3, 4, 5, 6, 10, and 12 to the WDS profile in tagged mode.

<HUAWEI> system-view
[HUAWEI] wlan
[HUAWEI-wlan-view] wds-profile name test 
[HUAWEI-wlan-wds-prof-test] vlan tagged 3 to 6 10 12
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >