< Home

Configuring a VLAN pool

Context

A VLAN pool is a set of VLANs and is used to simplify network deployment. Perform the following operations to configure a VLAN tool.

  • Set the standard RADIUS attribute Tunnel-Private-Group-ID assigned to users who pass authentication by the RADIUS server so that wired users can be added to the specified VLAN pool.
  • For wireless users, three methods are available to apply a VLAN pool:
    • Run the vap-profile profile-name wlan wlan-id radio { radio-id | all } service-vlan vlan-pool pool-name command to configure the specified VLAN pool as the service VLAN of wireless users in the specified VAP profile.
    • Run the service-vlan vlan-pool pool-name command in the VAP profile view to configure the VLAN pool as the service VLAN of wireless users in the VAP profile.
    • On the RADIUS server, configure the standard RADIUS attribute Tunnel-Private-Group-ID for authenticated users to add the users to the specified VLAN pool.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run vlan batch { vlan-id1 [ to vlan-id2 ] } &<1-10>

    VLANs are created in a batch.

  3. Run vlan pool pool-name

    A specified VLAN pool is created and its view is displayed.

    By default, no VLAN pool is created.

  4. Run vlan { start-vlan [ to end-vlan ] } &<1-10>

    The specified VLANs are added to the VLAN pool.

    By default, no VLAN is available in a VLAN pool.

  5. (Optional) Run assignment { even | hash }

    A VLAN assignment algorithm is configured for the VLAN pool.

    By default, the VLAN assignment algorithm is hash for a VLAN pool.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic