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

45
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Create a VA pool
(MSR2000/MSR3000).
pppoe-server virtual-template
template-number va-pool
va-volume
By default, no VA pool exists.
3. Create a VA pool (MSR4000).
pppoe-server virtual-template
template-number [ slot
slot-number ] va-pool va-volume
By default, no VA pool exists.
Clearing PPPoE sessions
To clear PPPoE sessions on the PPPoE server:
Ste
p
Command
Remarks
1. Enter user view.
user-view N/A
2. Clear PPPoE sessions.
reset pppoe-server { all | interface
interface-type interface-number |
virtual-template number }
N/A
Configuring a PPPoE client
PPPoE client configuration includes dialer interface configuration and PPPoE session configuration.
A PPPoE session can operate in one of the following modes:
Permanent mode—A PPPoE session is established immediately when the line is physically up. This
type of session remains until the physical link comes down or until the session is disconnected.
On-demand mode—A PPPoE session is established when there is a demand for data transmission
instead of when the line is physically up. It is terminated when idled for a specific period of time.
Diagnostic mode—A PPPoE session is established immediately after the device configurations finish.
The device automatically terminates the PPPoE session and then tries to re-establish a PPPoE session
at a pre-configured interval. By establishing and terminating PPPoE sessions periodically, you can
monitor the operating status of the PPPoE link.
The PPPoE session operating mode is determined by your configuration on the dialer interface:
Permanent mode—When you configure the link idle time as 0 by using the dialer timer idle
command and do not configure the dialer diagnose command, this mode is specified.
On-demand mode—When you configure the link idle time as a value other than 0 by using the
dialer timer idle command and do not configure the dialer diagnose command, this mode is
specified.
Diagnostic mode—When you configure the dialer diagnose command, this mode is specified.
Configuring a dialer interface
Before establishing a PPPoE session, you must first create a dialer interface and configure bundle
dial-on-demand routing (DDR) on the interface. Each PPPoE session uniquely corresponds to a dialer
bundle, and each dialer bundle uniquely corresponds to a dialer interface. Therefore, a PPPoE session
uniquely corresponds to a dialer interface.