No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

Fat AP and Cloud AP V200R010C00 Command Reference

Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
vlan (AP wired port profile view)

vlan (AP wired port profile view)

Function

The vlan command configures the VLAN to which an AP wired interface belongs.

The undo vlan command deletes the VLAN to which an AP wired interface belongs.

By default, an AP wired interface allows packets from all VLANs to pass. The wired interface is added to VLAN 1 in untagged mode and to other VLANs in tagged mode.

An AP's wired interface can be added to a maximum of 256 VLANs.

Format

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

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

Parameters

Parameter

Description

Value

tagged

Adds a wired interface to a VLAN in tagged mode.

-

untagged

Adds a wired interface to a VLAN in untagged mode.

-

vlan-id1 [ to vlan-id2 ]

Specifies the ID of the VLAN to which the wired interface belongs.
  • vlan-id1 specifies the first VLAN ID.
  • to vlan-id2 specifies the last VLAN ID. vlan-id2 must be larger than vlan-id1. vlan-id1 and vlan-id2 specify a range of VLANs.

If to vlan-id2 is not specified, the wired interface is added to the VLAN specified by vlan-id1.

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 the VLANs to which the AP wired interface belongs.

-

Views

AP wired port profile view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

When a wired interface connects to a PC or Layer 2 network, the interface is equivalent to a hybrid interface on a switch, and can forward the packets with multiple VLAN tags.

After the lineate-port vlan tagged command is executed to add the wired interface to one or more VLANs in tagged mode, the interface does not remove VLAN tags from the packets it forwarded.

After the lineate-port vlan untagged command is executed to add the wired interface to one or more VLANs in untagged mode, the interface removes VLAN tags from the packets it forwarded.

Configuration Impact

If the VLAN of an AP wired interface configured using the vlan untagged vlan-id command is the same as the management VLAN configured using the management-vlan vlan-id command, you must restart the AP to make the configuration take effect.

Eth-Trunk member interfaces cannot be added to VLANs.

Example

# Set the working mode of the AP's wired interface GE0 to endpoint and add GE0 to VLANs 3, 4, 5, and 10 in tagged mode and to VLANs 12, 13, 14, and 20 in untagged mode.

<Huawei> system-view
[Huawei] wlan
[Huawei-wlan-view] ap-group name ap-group1
[Huawei-wlan-ap-group-ap-group1] quit
[Huawei-wlan-view] wired-port-profile name wired
[Huawei-wlan-wired-port-prof-wired] mode endpoint
Warning: If the AP goes online through a wired port, the incorrect port mode configuration will cause the AP to go out of management
. This fault can be recovered only by modifying the configuration on the AP. Continue? [Y/N]:y
[Huawei-wlan-wired-port-prof-wired] vlan tagged 3 to 5 10
[Huawei-wlan-wired-port-prof-wired] vlan untagged 12 to 14 20
[Huawei-wlan-wired-port-prof-wired] quit
[Huawei-wlan-view] ap-group name ap-group1
[Huawei-wlan-ap-group-ap-group1] wired-port-profile wired gigabitethernet 0
Translation
Download
Updated: 2019-11-21

Document ID: EDOC1100064352

Views: 208086

Downloads: 122

Average rating:
This Document Applies to these Products
Related Version
Related Documents
Share
Previous Next