Advertisement
Guest User

aaa auth telnet

a guest
Jan 23rd, 2018
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.15 KB | None | 0 0
  1.  
  2. R1
  3. !
  4. !
  5. aaa new-model
  6. !
  7. !
  8. aaa group server radius RADIUSGROUP
  9. server name RADIUSSERVER
  10. !
  11. aaa authentication login RADIUSMETHOD group RADIUSGROUP local-case
  12. !
  13. !
  14. !
  15. !
  16. !
  17. aaa session-id common
  18. no ip icmp rate-limit unreachable
  19. !
  20. !
  21. !
  22. !
  23. !
  24. !
  25. no ip domain lookup
  26. ip cef
  27. no ipv6 cef
  28. !
  29. !
  30. multilink bundle-name authenticated
  31. !
  32. key chain KEY
  33. key 1
  34. key-string cisco
  35. !
  36. !
  37. !
  38. !
  39. !
  40. !
  41. !
  42. username cisco secret 4 tnhtc92DXBhelxjYk8LWJrPV36S2i4ntXrpb4RFmfqY
  43. !
  44. !
  45. !
  46. !
  47. !
  48. ip tcp synwait-time 5
  49. !
  50. !
  51. !
  52. !
  53. !
  54. !
  55. !
  56. !
  57. !
  58. interface Loopback0
  59. ip address 1.1.1.1 255.255.255.255
  60. !
  61. interface FastEthernet0/0
  62. ip address 10.121.21.1 255.255.255.252
  63. ip authentication mode eigrp 1 md5
  64. ip authentication key-chain eigrp 1 KEY
  65. ip rip authentication mode md5
  66. ip rip authentication key-chain KEY
  67. ip ospf authentication-key cisco
  68. duplex full
  69. !
  70. !
  71. router eigrp 1
  72. network 10.121.21.0 0.0.0.3
  73. neighbor 10.121.21.2 FastEthernet0/0
  74. !
  75. router ospf 1
  76. area 0 authentication
  77. network 1.1.1.1 0.0.0.0 area 1
  78. network 10.121.21.0 0.0.0.3 area 0
  79. !
  80. router rip
  81. version 2
  82. network 0.0.0.0
  83. !
  84. router bgp 1
  85. bgp log-neighbor-changes
  86. neighbor 10.121.21.2 remote-as 2
  87. neighbor 10.121.21.2 password PASSWORD
  88. !
  89. ip forward-protocol nd
  90. !
  91. !
  92. no ip http server
  93. no ip http secure-server
  94. !
  95. !
  96. !
  97. !
  98. radius server RADIUSSERVER
  99. address ipv4 10.121.21.2 auth-port 1645 acct-port 1646
  100. key RADIUSKEY
  101. !
  102. !
  103. control-plane
  104. !
  105. !
  106. line con 0
  107. exec-timeout 0 0
  108. privilege level 15
  109. logging synchronous
  110. stopbits 1
  111. line aux 0
  112. exec-timeout 0 0
  113. privilege level 15
  114. logging synchronous
  115. stopbits 1
  116. line vty 0 4
  117. login authentication RADIUSMETHOD
  118. !
  119. !
  120. end
  121.  
  122. R2
  123. !
  124. !
  125. !
  126.  
  127. !
  128. version 15.2
  129. service timestamps debug datetime msec
  130. service timestamps log datetime msec
  131. !
  132. hostname R2
  133. !
  134. boot-start-marker
  135. boot-end-marker
  136. !
  137. !
  138. !
  139. no aaa new-model
  140. no ip icmp rate-limit unreachable
  141. !
  142. !
  143. !
  144. !
  145. !
  146. !
  147. no ip domain lookup
  148. ip cef
  149. no ipv6 cef
  150. !
  151. !
  152. multilink bundle-name authenticated
  153. !
  154. key chain KEY
  155. key 1
  156. key-string cisco
  157. !
  158. !
  159. !
  160. !
  161. !
  162. !
  163. !
  164. !
  165. !
  166. !
  167. !
  168. !
  169. ip tcp synwait-time 5
  170. !
  171. !
  172. !
  173. !
  174. !
  175. !
  176. !
  177. !
  178. !
  179. interface Loopback0
  180. ip address 2.2.2.2 255.255.255.255
  181. ip ospf authentication
  182. ip ospf authentication-key cisco
  183. !
  184. interface FastEthernet0/0
  185. ip address 10.121.21.2 255.255.255.252
  186. ip authentication mode eigrp 1 md5
  187. ip authentication key-chain eigrp 1 KEY
  188. ip rip authentication mode md5
  189. ip rip authentication key-chain KEY
  190. ip ospf authentication-key cisco
  191. duplex full
  192. !
  193. !
  194. router eigrp 1
  195. network 10.121.21.0 0.0.0.3
  196. neighbor 10.121.21.1 FastEthernet0/0
  197. !
  198. router ospf 2
  199. area 0 authentication
  200. network 2.2.2.2 0.0.0.0 area 2
  201. network 10.121.21.0 0.0.0.3 area 0
  202. !
  203. router rip
  204. network 0.0.0.0
  205. !
  206. router bgp 2
  207. bgp log-neighbor-changes
  208. neighbor 10.121.21.1 remote-as 1
  209. neighbor 10.121.21.1 password PASSWORD
  210. !
  211. ip forward-protocol nd
  212. !
  213. !
  214. no ip http server
  215. no ip http secure-server
  216. !
  217. !
  218. !
  219. !
  220. control-plane
  221. !
  222. !
  223. line con 0
  224. exec-timeout 0 0
  225. privilege level 15
  226. logging synchronous
  227. stopbits 1
  228. line aux 0
  229. exec-timeout 0 0
  230. privilege level 15
  231. logging synchronous
  232. stopbits 1
  233. line vty 0 4
  234. login
  235. !
  236. !
  237. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement