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

Step

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 group-number rule { ip | ipv6 } { deny | permit | acl { acl-number | name acl-name } }

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.

9. Set the auto-dial interval.

dialer timer autodial autodial-interval

The default setting is 300 seconds.

In permanent or diagnostic mode, 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.

10. Set the MTU for the dialer interface

mtu size

By default, the MTU on a dialer interface is 1500 bytes.

The dialer interface fragments a packet that exceeds the configured MTU, and adds a 2-byte PPP header and a 6-byte PPPoE header to each fragment. You should modify the MTU of a dialer interface to make sure the total length of any fragment packet is less than the MTU of the physical interface.