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

S12700 V200R013C00 Command Reference

This document describes all the configuration commands of the device, including the command function, syntax, parameters, views, default level, usage guidelines, examples, and related commands.
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).
service-vlan (VAP profile view)

service-vlan (VAP profile view)

Function

The service-vlan command configures a service VLAN for a VAP.

The undo service-vlan command restores the default service VLAN of a VAP.

By default, VLAN 1 is the service VLAN of a VAP.

Format

service-vlan { vlan-id vlan-id | vlan-pool pool-name }

undo service-vlan

Parameters

Parameter

Description

Value

vlan-id vlan-id

Sets the service VLAN of a VAP to a specific VLAN.

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

vlan-pool pool-name

Sets the service VLANs of a VAP to all VLANs in a VLAN pool.

The VLAN pool must exist.

Views

VAP profile view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

You can specify a specific VLAN as the service VLAN of a VAP or all VLANs in a VLAN pool as the service VLANs of a VAP. Layer 2 data packets delivered from the VAP to an AP carry the service VLAN IDs.
  • When a specific VLAN is configured as the service VLAN of a VAP, STAs connected to the VAP join the same VLAN.
  • When VLANs in a VLAN pool are configured as service VLANs of a VAP, STAs connected to the VAP join different VLANs. The VLAN assignment algorithm can be configured using the assignment command.

Precautions

Modifying the service VLAN of a VAP will interrupt services of STAs connected to the VAP. Exercise caution when you run the command.

Example

# Set the service VLAN to VLAN2 in the VAP profile vap1.

<HUAWEI> system-view
[HUAWEI] wlan 
[HUAWEI-wlan-view] vap-profile name vap1
[HUAWEI-wlan-vap-prof-vap1] service-vlan vlan-id 2
Related Topics
Translation
Download
Updated: 2019-04-09

Document ID: EDOC1100065659

Views: 115302

Downloads: 83

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