182 CHAPTER 13: CONFIGURING PPPOE CLIENT
Regardless of whether a PPPoE session is permanent or packet-triggered,
executing the
undo pppoe-client command 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
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
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
Operation Command
Display state of the PPPoE session and the
statistic information as well
display pppoe-client session {
summary | packet }
[dial-bundle-number number ]
Enable debugging of PPPoE client debugging pppoe-client option [
interface type number ]
LAN
ADSL Modem
Eth0
Eth1
192.168.1.1
RouterA
Internet
PC PC PC