hostname Router!no logging onenable secret 5 $1$oyeO$b.DP73YbQiLqnqSUV/WmX1!ip subnet-zero!!!vpdn enable!vpdn-group 1request-dialin-----request-dialin是做client用protocol pppoe!!!!!!!!!!no voice hpi capture bufferno voice hpi capture destination!!mta receive maximum-recipients 0!!!!interface FastEthernet0/0no ip addressshutdownduplex autospeed auto!interface FastEthernet0/1no ip addressduplex autospeed autopppoe enablepppoe-client dial-pool-number 1no cdp enable!interface Dialer1mtu 1492ip address negotiatedencapsulation pppdialer pool 1dialer-group 1ppp authentication pap chap callinppp chap hostname ttttppp chap password 0 123456ppp pap sent-username tttt password 0 123456!ip http serverip classlessip route 0.0.0.0 0.0.0.0 Dialer1!!!no logging trap!call rsvp-sync!!mgcp profile default!!!dial-peer cor custom!!!!line con 0line aux 0line vty 0 4password ciscologin!!