52
• Permanent mode—Used when you set the link idle time to 0 by using the dialer timer idle command
and do not configure the dialer diagnose command.
• On-demand mode—Used when you set the link idle time to a non-zero value by using the dialer
timer idle command and do not configure the dialer diagnose command.
• Diagnostic mode—Used when you configure the dialer diagnose command.
Configuring a dialer interface
Before establishing a PPPoE session, you must first create a dialer interface and configure bundle DDR on
the interface. Each PPPoE session uniquely corresponds to a dialer bundle, and each dialer bundle
uniquely corresponds to a dialer interface. 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
Command
Remarks
1. Enter system view.
system-view N/A
2. Create a dialer access group
and configure a dial access
control rule.
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.
6. Associate the interface with
the dial access control rule by
associating the interface with
the corresponding dialer
access group.
dialer-group group-number
By default, a dialer interface is
not assigned to any dialer
group.
7. Configure the link-idle
timeout timer.
dialer timer idle idle [ in | in-out ]
The default setting is 120
seconds.
When this timer is set to 0
seconds, the PPPoE session
operates in permanent mode.
Otherwise, the PPPoE session
operates in on-demand mode.
8. Configure the DDR
application to operate in
diagnostic mode.
dialer diagnose [ interval interval ]
By default, the DDR application
operates in non-diagnostic
mode.
When DDR operates in
diagnostic mode, the link-idle
timeout timer is ignored.