设备:思科2800c路由器

  1. Router#show running-config
  2. Building configuration...
  3. Current configuration : 1917 bytes
  4. !
  5. ! Last configuration change at 11:06:54 UTC Mon Mar 7 2022
  6. !
  7. version 15.0
  8. service timestamps debug datetime msec
  9. service timestamps log datetime msec
  10. no service password-encryption
  11. !
  12. hostname Router
  13. !
  14. boot-start-marker
  15. boot-end-marker
  16. !
  17. !
  18. aaa new-model
  19. !
  20. !
  21. aaa authentication ppp default local
  22. !
  23. !
  24. !
  25. !
  26. !
  27. aaa session-id common
  28. !
  29. dot11 syslog
  30. ip source-route
  31. !
  32. !
  33. ip cef
  34. !
  35. !
  36. no ipv6 cef
  37. multilink bundle-name authenticated
  38. !
  39. !
  40. !
  41. !
  42. vpdn enable
  43. !
  44. vpdn-group 1
  45. accept-dialin
  46. protocol l2tp
  47. virtual-template 1
  48. source-ip 10.230.185.61
  49. lcp renegotiation always
  50. l2tp tunnel password 0 666666
  51. !
  52. !
  53. !
  54. !
  55. !
  56. !
  57. !
  58. voice-card 0
  59. !
  60. !
  61. !
  62. !
  63. !
  64. license udi pid CISCO2821C/K9 sn FGL160710LV
  65. username cisco password 0 cisco
  66. username hnfc@hnfc.vpdn.ha password 0 666666
  67. !
  68. !
  69. !
  70. !
  71. !
  72. !
  73. !
  74. interface GigabitEthernet0/0
  75. ip address 10.230.185.61 255.255.255.252
  76. duplex auto
  77. speed auto
  78. !
  79. interface GigabitEthernet0/1
  80. no ip address
  81. shutdown
  82. duplex auto
  83. speed auto
  84. !
  85. interface FastEthernet0/0/0
  86. !
  87. interface FastEthernet0/0/1
  88. !
  89. interface FastEthernet0/0/2
  90. !
  91. interface FastEthernet0/0/3
  92. !
  93. interface Serial0/1/0
  94. no ip address
  95. shutdown
  96. clock rate 2000000
  97. !
  98. interface Serial0/1/1
  99. no ip address
  100. shutdown
  101. clock rate 2000000
  102. !
  103. interface Serial0/2/0
  104. no ip address
  105. shutdown
  106. clock rate 2000000
  107. !
  108. interface Serial0/2/1
  109. no ip address
  110. shutdown
  111. clock rate 2000000
  112. !
  113. interface FastEthernet0/3/0
  114. no ip address
  115. shutdown
  116. duplex auto
  117. speed auto
  118. !
  119. interface FastEthernet0/3/1
  120. no ip address
  121. shutdown
  122. duplex auto
  123. speed auto
  124. !
  125. interface Virtual-Template1
  126. ip address 172.16.1.1 255.255.255.0
  127. peer default ip address pool 1
  128. ppp authentication pap chap
  129. !
  130. interface Vlan1
  131. no ip address
  132. !
  133. ip local pool 1 172.16.1.2 172.16.1.254
  134. ip forward-protocol nd
  135. no ip http server
  136. no ip http secure-server
  137. !
  138. !
  139. ip route 0.0.0.0 0.0.0.0 10.230.185.62
  140. !
  141. !
  142. !
  143. !
  144. control-plane
  145. !
  146. !
  147. !
  148. !
  149. !
  150. !
  151. !
  152. line con 0
  153. line aux 0
  154. line vty 0 4
  155. !
  156. scheduler allocate 20000 1000
  157. end