vlan pool
Parameters
Parameter | Description | Value |
---|---|---|
pool-name | Specifies the name of a VLAN pool. | The value is a string of 1 to 31 characters. It does not contain question marks (?) or spaces, and cannot begin or end with double quotation marks (" "). |
Usage Guidelines
Usage Scenario
Since WLANs provide flexible access modes, STAs may connect to the same WLAN at the office entrance or stadium entrance, and then roam to different APs. If each SSID has only one service VLAN to deliver wireless access to STAs, IP address resources may become insufficient in areas where many STAs access the WLAN, and IP addresses in the other areas are wasted.
After a VLAN pool is created, add multiple VLANs to the VLAN pool and configure the VLANs as service VLANs. In this way, an SSID can use multiple service VLANs to provide wireless access services. STAs are dynamically assigned to VLANs in the VLAN pool, which reduces the number of STAs in each VLAN and also the size of the broadcast domain. Additionally, IP addresses are evenly allocated, preventing IP address waste.
You can also apply the VLAN pool to a user group to plan network segments by user role.
Follow-up Procedure
After a VLAN pool is created, run the vlan command to add VLANs to the VLAN pool. Note that these VLANs have been created using the vlan batch { vlan-id1 [ to vlan-id2 ] } &<1-10> command. Otherwise, VLANs in the VLAN pool cannot take effect.
Precautions
After a VLAN pool is configured to provide service VLANs, VLANs in the VLAN pool cannot be deleted. To delete the VLAN pool, cancel the service VLAN configuration of the VLAN pool.
When a STA attempts to obtain an IP address, the VLAN pool assigns a VLAN to the STA. If the address pool corresponding to the VLAN fails to allocate an IP address to the STA, the VLAN pool will assign a new VLAN to the STA.
In scenarios where a dual-stack address pool is configured, a STA successfully obtains an IP address if the VLAN pool has assigned an IPv4 or IPv6 address to it. In this case, the VLAN pool will not assign a new VLAN to the STA.