Router#show Run
Building configuration ...
Current configuration:1561 bytes
!
Version 12.4
Service Timestamps Debug DateTime msec
Service Timestamps log datetime msec
No service password-encryption
!
Hostname Router
!
Boot-start-marker
Boot-end-marker
!
Enable Secret 5 $1$6xpi$vgcpvaqgq4vp5chkdvduu.
Enable password Cisco
!
No AAA New-model
!
Resource Policy
!
IP Subnet-zero
!
IP CEF
IP DHCP use VRF connected
IP dhcp excluded-address 192.168.1.1
!
IP DHCP Pool CQXT
Import All
Network 192.168.1.0 255.255.255.0
Default-router 192.168.1.1
Dns-server 61.128.128.68 192.168.1.1
Lease 8
!
VPDN Enable
!
Vpdn-group 1
!
Username Cisco privilege Secret 5 $1$O45O$DYZBBN0DHZUU8K/KYY1R2.
!
Interface fastethernet0/0
IP address 192.168.1.1 255.255.255.0
IP nat Inside
IP NAT Enable
No IP mroute-cache
Duplex half
Speed auto
No MOP Enabled
!
Interface FASTETHERNET0/1
No IP address
No IP mroute-cache
Duplex Auto
Speed auto
PPPoE Enable
Pppoe-client Dial-pool-number 1
!
Interface serial0/0/0
No IP address
Shutdown
No Fair-queue
Clock rate 2000000
!
Interface SERIAL0/0/1
No IP address
Shutdown
Clock rate 2000000
!
Interface Dialer1
IP address negotiated
IP Nat Outside
Encapsulation PPP
Dialer Pool 1
Dialer-group 1
PPP Authentication pap Callin
PPP pap sent-username lan0586015018501 password 0 000000
!
IP classless
IP Route 0.0.0.0 0.0.0.0 Dialer1
!
IP HTTP Server
IP nat inside source List 1 interface Dialer1 overload
!
Access-list 1 Permit 192.168.1.0 0.0.0.255
!
Control-plane
!
Line con 0
Line aux 0
Line vty 0 4
Password Cisco
Login
!
Scheduler Allocate 20000 1000
!
End
router#
This article is from the "Xianyunyehe" blog, make sure to keep this source http://228110.blog.51cto.com/218110/1589641
Cisco router ADSL configuration