1. cisco1841#sh run
  2. Building configuration...
  3. Current configuration : 2970 bytes
  4. !
  5. version 12.4
  6. service timestamps debug datetime msec
  7. service timestamps log datetime msec
  8. no service password-encryption
  9. service dhcp
  10. !
  11. hostname cisco1841
  12. !
  13. boot-start-marker
  14. boot-end-marker
  15. !
  16. logging buffered 51200 warnings
  17. !
  18. no aaa new-model
  19. !
  20. resource policy
  21. !
  22. mmi polling-interval 60
  23. no mmi auto-configure
  24. no mmi pvc
  25. mmi snmp-timeout 180
  26. ip subnet-zero
  27. ip cef
  28. !
  29. !
  30. ip dhcp database 123
  31. no ip dhcp use vrf connected
  32. ip dhcp excluded-address 192.168.1.1
  33. ip dhcp ping packets 0
  34. !
  35. ip dhcp pool 123
  36. network 192.168.1.0 255.255.255.0
  37. default-router 192.168.1.1
  38. dns-server 202.106.0.20 202.106.46.151
  39. !
  40. !
  41. no ip domain lookup
  42. ip domain name yourdomain.com
  43. ip dhcp-server 192.168.1.1
  44. vpdn enable
  45. vpdn ip udp ignore checksum
  46. !
  47. vpdn-group pppoe
  48. request-dialin
  49. protocol pppoe
  50. !
  51. !
  52. username cisco privilege 15 secret 5 $1$ZKUk$YoVcdG31aDaIAn/mdK9qL0
  53. !
  54. !
  55. !
  56. interface FastEthernet0/0
  57. description $ETH-LAN$$ETH-SW-LAUNCH$$INTF-INFO-FE 0$
  58. ip address 192.168.1.1 255.255.255.0
  59. ip access-group 100 in
  60. ip nat inside
  61. duplex auto
  62. speed auto
  63. !
  64. interface FastEthernet0/1
  65. no ip address
  66. duplex auto
  67. speed auto
  68. pppoe enable
  69. pppoe-client dial-pool-number 1
  70. !
  71. interface Dialer1
  72. ip address negotiated
  73. ip access-group 100 in
  74. ip mtu 1492
  75. ip nat outside
  76. encapsulation ppp
  77. dialer pool 1
  78. dialer vpdn
  79. dialer-group 1
  80. no cdp enable
  81. ppp pap sent-username 1234567 password 0 1234567
  82. !
  83. ip classless
  84. ip route 0.0.0.0 0.0.0.0 Dialer1
  85. !
  86. no ip http server
  87. ip http authentication local
  88. ip http timeout-policy idle 5 life 86400 requests 10000
  89. ip nat inside source list 1 interface Dialer1 overload
  90. !
  91. access-list 1 permit any
  92. access-list 100 deny
  93. access-list 100 deny
  94. access-list 100 permit ip any any
  95. dialer-list 1 protocol ip permit
  96. !
  97. control-plane
  98. !

Cisco路由器配置ADSL上网的更多相关文章

  1. cisco路由器配置教程

    配置cisco路由器 经过几十年的发展,从最初的只有四个节点的ARPANET发展到现今无处不在的Internet,计算机网络已经深入到了我们生活当中.随着计算机网络规模的爆炸性增长,作为连接设备的路由 ...

  2. cisco 2901 配置拨号上网

    1.输入en,然后输入密码确认后按conf t2.Router(config)# vpdn enable        interface dialer 1   // 进入拨号器13.Router(c ...

  3. Cisco路由器配置基本命令

    特权模式:enable Router1 # show running-config Router1 # show ip route Router # show ip interface brief S ...

  4. 路由与交换,cisco路由器配置,动态路由协议—RIP

    一.动态路由协议分类 动态路由协议包括IGP(内部网关协议)和EGP(外部网关协议). 1.IGP IGP又包括距离向量路由协议和链路状态路由协议. (1)距离向量路由协议典型代表:RIP (2)链路 ...

  5. 路由与交换,cisco路由器配置,浮动静态路由

    设置浮动静态路由的目的就是为了防止因为一条线路故障而引起网络故障.言外之意就是说浮动静态路由实际上是主干路由的备份.例如下图: 假如我们设路由器之间的串口(seria)为浮动静态路由(管理距离为100 ...

  6. 路由与交换,cisco路由器配置,静态路由

    网络是一个大型的拓扑结构,在路由表中,最重要的是管理距离和度量值 管理距离 管理距离用来确定路由的优先级.管理距离的范围是0-255之间的整数值.值越低代表优先级越高.0代表最高优先级.并且只有直连路 ...

  7. 路由与交换,cisco路由器配置,基础知识点(二)

    1.进退用户/特权/全局模式 (1)从用户模式进入特权模式 enable (2)从特权模式进入全局配置模式 configure terminal (3)从其他模式回到特权模式 end (4)从特权模式 ...

  8. 路由与交换,cisco路由器配置,基础知识点(一)

    基础知识点 1.路由器与交换机端口初始化区别 路由器的所有接口默认都是关闭的 交换机的所有接口默认都是打开的 2.路由器 fastEthernet 端口 fastEthernet 0/0 第一个0代表 ...

  9. 关于cisco路由器配置的一些参数

    单臂路由设置 Switch(config-if)#no switchport Switch(config)#ip routingSwitch(config)#interface FastEtherne ...

随机推荐

  1. C#基础 函数部分

    函数:能够独立完成某项功能的模块. 函数四要素:输入.输出.函数体.函数名 函数定义: (static/public) 返回类型 函数名(参数类型 参数名,参数类型 参数名){ 函数体} 函数的调用: ...

  2. (1)HTML声明与基础(已入垃圾筐)

    来自网站http://www.runoob.com/html/html-intro.html <!DOCTYPE/> 声明 Doctype=Document Type=文档类型说明 htt ...

  3. 全面介绍Android Studio中Git 的使用(一)

    来源 :http://blog.csdn.net/gao_chun/article/details/49817229/

  4. 关于使用Axis2 webservice 处理Fault响应时抛org.apache.axis2.AxisFault的分析

    使用Axis2这个框架进行webservice协议通讯,期间出了个问题,我(CLIENT)请求后,当服务端返回符合协议的SOAP异常报文,例如<soap:fault> ... 我的程序直接 ...

  5. PHP7 上传文件报错 Internal Server Error 解决方法

    打开Apache配置httpd.conf.在最后添加FcgidMaxRequestLen指令一个足够大的值(以字节为单位),例如 FcgidMaxRequestLen 100000000 最后重新启动 ...

  6. Qt 5.8.3 部署/添加 Crypto++第三方库(5.6.5版本)

    首先,Qt没有封装加解密算法库(其实有个哈希函数的函数).介于OpenSSL函数封装不友好,以及先前爆发的心脏滴血漏洞广受诟病,我们考虑在C++上使用一种新的,并且封装友好的,OOAD程度更高的加解密 ...

  7. Objective-C中copy 、retain以及ARC中新加入的strong、weak关键字的含义

    copy: 创建一个引用计数为1的对象,然后释放旧的对象 retain:释放旧的对象,将旧对象的值赋予输入对象,再提高输入对象的引用计数为 1 Copy其实是建立了一个相同的对象,而retain不是: ...

  8. 扩增子统计绘图1箱线图:Alpha多样性

    绘制Alpha多样性线箱图 绘图和统计全部为R语言,建议复制代码,在Rstuido中运行,并设置工作目录为存储之前分析结果文件的result目录 # 运行前,请在Rstudio中菜单栏选择“Sessi ...

  9. Makefile,Shell command,Shell Language 之间的联系

    1. Makefile 首先要知道Makefile 是什么东西,Makefile 是一个指令文件,里面存储着自定义的命令(可以借助已有的命令创造而来)在不同的系统下对Makefile 的区别不一样,L ...

  10. KMP瞎扯一下

    什么是KMP KMP俗称看毛片算法,是高效寻找匹配字串的一个算法 百度百科 KMP算法是一种改进的字符串匹配算法,由D.E.Knuth,J.H.Morris和V.R.Pratt同时发现,因此人们称它为 ...