182CHAPTER 13: CONFIGURING PPPOE CLIENT

Regardless of whether a PPPoE session is permanent or packet-triggered, executing the undo pppoe-clientcommand will permanently delete the session. Hence, you need to make reconfiguration for establishing a new PPPoE session.

Display and Debug PPPoE Client

Perform the display and debugging command in all views.

Table 216 Display and debug PPPoE Client

Operation

Command

 

 

Display state of the PPPoE session and the

display pppoe-client session {

statistic information as well

summary packet }

 

[dial-bundle-number number ]

 

 

Enable debugging of PPPoE client

debugging pppoe-client option [

 

interface type number ]

 

 

Typical PPPoE

Configuration

Example

Access a LAN to the Internet via ADSL

I. Networking Requirements

The PCs on a LAN access the Internet via RouterA, and RouterA adopts the permanent approach to accesses the Internet via ADSL. It uses “3com" as the user name of the ADSL account, and the password is 12345. Enable the PPPoE client function on the router, so that the hosts on the LAN can access the Internet, even installed with no PPPoE client software.

II. Networking Diagram

Figure 53 Access a LAN to the Internet via ADSL

PCPCPC

LAN

192.168.1.1 Eth0

RouterA

Eth1

ADSL Modem

Internet

III.Configuration Procedure 1 Configure a dialer interface

[Router]dialer-rule 1 ip permit

[Router]interface dialer 1

[Router-Dialer1]dialer bundle 1

[Router-Dialer1]dialer-group 1

Page 186
Image 186
3Com 10014299 Display and Debug PPPoE Client, Typical PPPoE Configuration Example, Access a LAN to the Internet via Adsl