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


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


Fat AP and Cloud AP V200R008C00 CLI-based Configuration Guide

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).
Configuration Examples

Configuration Examples

This section provides several configuration examples of VLANs including networking requirements, configuration roadmap, and configuration procedure.

Example for Implementing Inter-VLAN Communication Using VLANIF Interfaces

Networking Requirements

Users in an enterprise use different services and locate at different network segments. Users who use the same service belong to different VLANs and they want to communicate with each other.

As shown in Figure 7-26, STA 1 and STA 2 use the same service but belong to different VLANs and locate at different network segments. STA 1 wants to communicate with STA 2.

Figure 7-26  Networking diagram for implementing inter-VLAN communication using VLANIF interfaces

Configuration Roadmap

The configuration roadmap is as follows:

  1. Create VLANs on the switches for different users.
  2. Create VLANIF interfaces and configure IP addresses for the VLANIF interfaces to implement Layer 3 communication.

To implement communication between VLANs, hosts in each VLAN must use the IP address of the corresponding VLANIF interface as the gateway address.


  1. Configure STAs to go online on the APs.

    Configure STA1 and STA2 to go online on the APs. The service VLANs of STA1 and STA2 are configured respectively as VLAN 10 and VLAN 20. For details, see Example for Configuring Fat AP Layer 2 Networking.

  2. Configure the AP.

    # Create VLANs.

    <Huawei> system-view
    [Huawei] vlan batch 10 20

    # Assign IP addresses to the VLANIF interfaces.

    [Huawei] interface vlanif 10
    [Huawei-Vlanif10] ip address 24
    [Huawei-Vlanif10] quit
    [Huawei] interface vlanif 20
    [Huawei-Vlanif20] ip address 24
    [Huawei-Vlanif20] quit

  3. Verify the configuration.

    Configure the IP address on STA 1's host, configure the VLANIF 10 interface IP address as the gateway address.

    Configure the IP address on STA 2's host, configure the VLANIF 20 interface IP address as the gateway address.

    After the preceding configurations are complete, STA 1 in VLAN 10 and STA 2 in VLAN 20 can communicate.

Configuration Files

Configuration file of the AP

 vlan batch 10 20
interface Vlanif10
 ip address
interface Vlanif20
 ip address
Updated: 2019-01-11

Document ID: EDOC1000176006

Views: 114085

Downloads: 309

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