vpdn enable
!
vpdn-group pppoe
request-dialin
protocol pppoe
interface FastEthernet0/0
no ip address
ip tcp adjust-mss 1452
duplex auto
speed auto
pppoe enable group global
pppoe-client dial-pool-number 1
interface Dialer0
mtu 1492
ip address negotiated
encapsulation ppp
dialer pool 1
ppp chap hostname NNNNNNN
ppp chap password 0 PPPPPPP
ppp pap sent-username NNNNNpassword 0 PPPPPP
ip router 0 0 dialer0