R0106-HP MSR Router Series Layer 2 - WAN Configuration Guide(V7)

44
Ste
p
Command
Remarks
2. Enter Layer 3 Ethernet
interface, Layer 3 virtual
Ethernet interface, or Layer 3
aggregate interface view.
interface interface-type
interface-number
The PPPoE server is enabled on the
interface.
3. Configure the access line ID
content.
pppoe-server access-line-id content
{ all [ separator ] | circuit-id |
remote-id }
By default, the access line ID
includes only the circuit-id.
4. Configure the PPPoE server to
trust the access line ID in
received packets.
pppoe-server access-line-id trust
By default, the PPPoE server does
not trust the access line ID in
received packets.
5. Configure the access line ID to
automatically include BAS
information.
pppoe-server access-line-id
bas-info
By default, the access line ID does
not include BAS information
automatically.
6. Configure the format that is
used to parse the circuit-id.
pppoe-server access-line-id
circuit-id parse-mode { cn-telecom
| tr-101 }
The default mode is TR-101.
7. Configure the transmission
format for the circuit-id.
pppoe-server access-line-id
circuit-id trans-format { ascii | hex }
The default format is a string of
characters.
8. Configure the transmission
format for the remote-id.
pppoe-server access-line-id
remote-id trans-format { ascii |
hex }
The default format is a string of
characters.
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.
If a large number of users are going online or offline, the performance of PPPoE session establishment
and termination will be degraded.
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.
Deleting a VA pool does not log off the users who are using VA interfaces in the VA pool.
To configure a VA pool: