码迷,mamicode.com
首页 > 系统相关 > 详细

Cisco路由器ADSL配置

时间:2014-12-14 07:08:33      阅读:197      评论:0      收藏:0      [点我收藏+]

标签: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

Cisco路由器ADSL配置

标签:cisco路由器 adsl

原文地址:http://228110.blog.51cto.com/218110/1589641

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!