18
Configuring a dialer interface
About dialer interfaces
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."
Procedure
1.
Enter system view.
system-view
2.
Create a dialer group and configure a dial rule.
dialer-group
group-number rule
{
ip
|
ipv6
}
{
deny
|
permit
|
acl
{
acl-number
|
name acl-name
}
}
Configure this command only when the PPPoE session operates in on-demand mode.
3.
Create a dialer interface and enter its view.
interface dialer
number
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, bundle DDR is disabled.
6.
Associate the interface with the dial rule by associating the interface with the corresponding
dialer group.
dialer-group
group-number
By default, a dialer interface is not assigned to any dialer group.
Configure this command only when the PPPoE session operates in on-demand mode.
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.
Do not configure this command when the PPPoE session operates in permanent or diagnostic
mode.
9.
(Optional.) Set the auto-dial interval.
dialer timer autodial autodial-interval
The default setting is 300 seconds.
DDR starts the auto-dial timer after the link is disconnected and originates a new call when the
auto-dial timer expires.
As a best practice, set a shorter auto-dial interval for DDR to soon originate a new call.