Configuring a VA pool
The PPPoE server creates a VA interface for a PPPoE session to transmit packets between PPPoE and PPP, and removes the VA interface when the user goes offline. Creating and removing VA interfaces take time.
You can configure VA pools to improve the performance of PPPoE session establishment and termination. A VA pool contains a group of automatically numbered VA interfaces. The PPPoE server selects a VA interface from the pool for a requesting user and places the interface back to the VA pool when the user goes offline. When the VA pool is exhausted, the system creates VA interfaces for new PPPoE sessions, and removes those VA interfaces when the users go offline.
On a VT interface, you can create one global VA pool and one regional VA pool per member device for interfaces bound with the VT interface.
The global VA pool contains VA interfaces for logical interfaces that might span multiple devices, such as Ethernet aggregate interfaces.
The regional VA pool contains VA interfaces for interfaces that do not span multiple devices, such as Ethernet interfaces.
When you configure a VA pool, follow these guidelines:
To change the capacity of a VA pool, you must delete the previous configuration, and reconfigure the VA pool.
Creating or removing a VA pool takes time. During the process of creating or removing a VA pool, users can come online or go offline, but the VA pool does not take effect.
If the system fails to create a VA pool because of insufficient resources, you can view the available resources by using the display pppoe-server va-pool command.
VA pools are memory intensive. Set their capacity depending on your network requirements.
Deleting a VA pool does not log off the users who are using VA interfaces in the VA pool.
To configure a VA pool:
Step | Command | Remarks |
---|---|---|
1. Enter system view. | system-view | N/A |
2. Create a VA pool (centralized devices in standalone mode). | pppoe-server virtual-template template-number va-pool va-volume | By default, no VA pool exists. |
3. Create a VA pool (distributed devices in standalone mode/centralized IRF devices in IRF mode). | pppoe-server virtual-template template-number [ slot slot-number ] va-pool va-volume | By default, no VA pool exists. |
4. Create a VA pool (distributed devices in IRF mode). | pppoe-server virtual-template template-number [ chassis chassis-number slot slot-number ] va-pool va-volume | By default, no VA pool exists. |