Cisco路由器ADSL配置

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 15 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#      


你可能感兴趣的:(adsl,cisco路由器)