R0106-HP MSR Router Series Layer 2 - WAN Command Reference(V7)

69
You can configure a VA pool to improve the performance of PPPoE session establishment and termination.
A VA pool contains a group of 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. This feature
speeds up the establishment and termination of PPPoE sessions. When a VA pool is exhausted, the system
creates a VA interface for a PPPoE session, and removes it when the user goes offline.
When you configure a VA pool, follow these guidelines:
A VT interface can be associated with only one global VA pool, and a card can be associated with
only one regional VA pool. Users on an Ethernet interface can only use the VA pool associated with
the VT interface that is bound to the Ethernet interface. To change the capacity for a VA pool, delete
the previous configuration, and reconfigure the VA pool.
Creating or removing a VA pool takes time. Users can go online or offline during the process of
creating or removing a VA pool, 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.
A VA pool occupies much system memory, so create a VA pool with an appropriate capacity.
Deleting a VA pool does not log off the users who are using VA interfaces in the VA pool.
Examples
# Create a VA pool with a capacity of 1000 on interface Virtual-template 2.
<Sysname> system-view
[Sysname] pppoe-server virtual-template 2 va-pool 1000
Related commands
display pppoe-server va-pool
reset pppoe-server
Use reset pppoe-server to clear PPPoE sessions on the PPPoE server.
Syntax
reset pppoe-server { all | interface interface-type interface-number | virtual-template number }
Views
User view
Predefined user roles
network-admin
Parameters
all: Clears all PPPoE sessions.
interface interface-type interface-number: Specifies an interface by its type and number.
virtual-template number: Specifies a VT interface by its number.
Examples
# Clear established sessions on interface Virtual-template 1 on the PPPoE server.
<Sysname> reset pppoe-server virtual-template 1