HP MSR2000/3000/4000 Router Series Layer 2 - WAN Configuration Guide

29
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,
and 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.
For more information about configuring dialer interfaces, bundle DDR, and dialer bundles, see
"Configuring DDR."
Configuring a dialer interface for a PPPoE client
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Create a dialer access group
and configure a dial access
control rule to specify the
conditions triggering DDR
calls.
dialer-group dialer-group rule
{ protocol-name { deny | permit } | acl
{ acl-number | name acl-number }
By default, no dialer group
exists.
3. Create a dialer interface and
enter its view.
interface dialer number N/A
4. Assign an IP address to the
interface.
ip address { address mask |
ppp-negotiate }
By default, no IP address is
configured.
5. Enable bundle DDR on the
interface.
dialer bundle enable By default, no DDR is enabled.