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#      


本文出自 “闲云野鹤” 博客,请务必保留此出处http://228110.blog.51cto.com/218110/1589641

郑重声明:本站内容如果来自互联网及其他传播媒体,其版权均属原媒体及文章作者所有。转载目的在于传递更多信息及用于网络分享,并不代表本站赞同其观点和对其真实性负责,也不构成任何其他建议。