Advertisement
Ilya_Bykonya

Untitled

Oct 12th, 2022
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.96 KB | None | 0 0
  1. Main-Router#sh run
  2. Building configuration...
  3.  
  4. Current configuration : 7765 bytes
  5. !
  6. version 15.4
  7. service timestamps debug datetime msec
  8. service timestamps log datetime msec
  9. service password-encryption
  10. !
  11. hostname Main-Router
  12. !
  13. boot-start-marker
  14. boot-end-marker
  15. !
  16. !
  17. enable password 7 075E731F1A5C
  18. !
  19. aaa new-model
  20. !
  21. !
  22. !
  23. !
  24. !
  25. !
  26. !
  27. aaa session-id common
  28. clock timezone EET 2 0
  29. mmi polling-interval 60
  30. no mmi auto-configure
  31. no mmi pvc
  32. mmi snmp-timeout 180
  33. !
  34. !
  35. !
  36. !
  37. !
  38. !
  39. !
  40. !
  41.  
  42.  
  43. !
  44. ip dhcp excluded-address 10.0.10.200 10.0.10.254
  45. ip dhcp excluded-address 10.0.20.200 10.0.20.254
  46. ip dhcp excluded-address 10.0.30.200 10.0.30.254
  47. ip dhcp excluded-address 10.0.40.200 10.0.40.254
  48. ip dhcp excluded-address 10.0.50.200 10.0.50.254
  49. ip dhcp excluded-address 10.0.60.200 10.0.60.254
  50. ip dhcp excluded-address 10.0.70.200 10.0.70.254
  51. !
  52. ip dhcp pool VLAN-10
  53. network 10.0.10.0 255.255.255.0
  54. default-router 10.0.10.254
  55. domain-name VLAN-10.Lab1
  56. dns-server 8.8.8.8
  57. !
  58. ip dhcp pool VLAN-20
  59. network 10.0.20.0 255.255.255.0
  60. default-router 10.0.20.254
  61. domain-name VLAN-20.Lab1
  62. dns-server 8.8.8.8
  63. !
  64. ip dhcp pool VLAN-30
  65. network 10.0.30.0 255.255.255.0
  66. default-router 10.0.30.254
  67. domain-name VLAN-30.Lab1
  68. dns-server 8.8.8.8
  69. !
  70. ip dhcp pool VLAN-40
  71. network 10.0.40.0 255.255.255.0
  72. default-router 10.0.40.254
  73. domain-name VLAN-40.Lab1
  74. dns-server 8.8.8.8
  75. !
  76. ip dhcp pool VLAN-50
  77. network 10.0.50.0 255.255.255.0
  78. default-router 10.0.50.254
  79. domain-name VLAN-50.Lab1
  80. dns-server 8.8.8.8
  81. !
  82. ip dhcp pool VLAN-60
  83. network 10.0.60.0 255.255.255.0
  84. default-router 10.0.60.254
  85. domain-name VLAN-60.Lab1
  86. dns-server 8.8.8.8
  87. !
  88. ip dhcp pool VLAN-70
  89. network 10.0.70.0 255.255.255.0
  90. default-router 10.0.70.254
  91. domain-name VLAN-70.Lab1
  92. dns-server 8.8.8.8
  93. !
  94. !
  95. !
  96. no ip domain lookup
  97. ip domain name roga.i.kopyta
  98. ip cef
  99. no ipv6 cef
  100. !
  101. multilink bundle-name authenticated
  102. !
  103. !
  104. !
  105. !
  106. !
  107. !
  108. !
  109. !
  110. username administrator privilege 15 password 7 03550958525A
  111. !
  112. redundancy
  113. !
  114. !
  115. !
  116. !
  117. !
  118. !
  119. !
  120. !
  121. !
  122. !
  123. !
  124. !
  125. !
  126. !
  127. !
  128. interface Ethernet0/0
  129. description "To Lab1 Network"
  130. no ip address
  131. !
  132. interface Ethernet0/0.10
  133. description VLAN-10
  134. encapsulation dot1Q 10
  135. ip address 10.0.10.254 255.255.255.0
  136. ip access-group 101 in
  137. ip access-group 110 out
  138. !
  139. interface Ethernet0/0.20
  140. description VLAN-20
  141. encapsulation dot1Q 20
  142. ip address 10.0.20.254 255.255.255.0
  143. ip access-group 120 in
  144. !
  145. interface Ethernet0/0.30
  146. description VLAN-30
  147. encapsulation dot1Q 30
  148. ip address 10.0.30.254 255.255.255.0
  149. ip access-group 130 in
  150. !
  151. interface Ethernet0/0.40
  152. description VLAN-40
  153. encapsulation dot1Q 40
  154. ip address 10.0.40.254 255.255.255.0
  155. !
  156. interface Ethernet0/0.50
  157. description VLAN-50
  158. encapsulation dot1Q 50
  159. ip address 10.0.50.254 255.255.255.0
  160. ip access-group 150 in
  161. !
  162. interface Ethernet0/0.60
  163. description VLAN-60
  164. encapsulation dot1Q 60
  165. ip address 10.0.60.254 255.255.255.0
  166. !
  167. interface Ethernet0/0.70
  168. description VLAN-70
  169. encapsulation dot1Q 70
  170. ip address 10.0.70.254 255.255.255.0
  171. !
  172. interface Ethernet0/1
  173. description C-R-1
  174. ip address 10.17.0.2 255.255.255.252
  175. !
  176. interface Ethernet0/2
  177. description C-R-2
  178. ip address 10.19.0.2 255.255.255.252
  179. !
  180. interface Ethernet0/3
  181. description C-R-3
  182. ip address 10.16.0.2 255.255.255.252
  183. !
  184. interface Ethernet1/0
  185. description C-R-4
  186. ip address 10.20.0.2 255.255.255.252
  187. !
  188. interface Ethernet1/1
  189. description "eBGP C-RIP-1"
  190. ip address 17.1.1.1 255.255.255.252
  191. ip access-group 50 out
  192. !
  193. interface Ethernet1/2
  194. no ip address
  195. shutdown
  196. !
  197. interface Ethernet1/3
  198. description "eBGP C-iBGP-102"
  199. ip address 16.1.1.1 255.255.255.252
  200. ip access-group 50 out
  201. !
  202. interface Ethernet2/0
  203. description "eBGP M-OSPF-10"
  204. ip address 14.1.1.1 255.255.255.252
  205. ip access-group 50 out
  206. !
  207. interface Ethernet2/1
  208. no ip address
  209. shutdown
  210. !
  211. interface Ethernet2/2
  212. no ip address
  213. shutdown
  214. !
  215. interface Ethernet2/3
  216. no ip address
  217. shutdown
  218. !
  219. router bgp 100
  220. bgp log-neighbor-changes
  221. redistribute connected
  222. redistribute static
  223. neighbor 14.1.1.2 remote-as 300
  224. neighbor 16.1.1.2 remote-as 400
  225. neighbor 17.1.1.2 remote-as 200
  226. default-information originate
  227. default-metric 1
  228. !
  229. ip forward-protocol nd
  230. !
  231. !
  232. no ip http server
  233. no ip http secure-server
  234. ip route 10.10.10.0 255.255.255.252 10.20.0.1
  235. ip route 10.11.11.0 255.255.255.252 10.20.0.1
  236. ip route 16.18.1.0 255.255.255.252 10.16.0.1
  237. ip route 16.18.2.0 255.255.255.252 10.16.0.1
  238. ip route 16.18.3.0 255.255.255.252 10.16.0.1
  239. ip route 17.16.1.0 255.255.255.252 10.17.0.1
  240. ip route 17.16.2.0 255.255.255.252 10.17.0.1
  241. ip route 17.16.3.0 255.255.255.252 10.17.0.1
  242. ip route 17.16.4.0 255.255.255.252 10.17.0.1
  243. ip route 18.20.1.0 255.255.255.252 10.19.0.1
  244. ip route 18.20.2.0 255.255.255.252 10.19.0.1
  245. ip route 18.20.3.0 255.255.255.252 10.19.0.1
  246. ip route 30.30.2.0 255.255.255.252 10.20.0.1
  247. ip route 30.30.3.0 255.255.255.252 10.20.0.1
  248. ip route 30.30.22.0 255.255.255.0 10.20.0.1
  249. ip route 30.30.33.0 255.255.255.0 10.20.0.1
  250. ip route 169.185.1.0 255.255.255.0 10.16.0.1
  251. ip route 169.185.2.0 255.255.255.0 10.16.0.1
  252. ip route 169.185.3.0 255.255.255.0 10.16.0.1
  253. ip route 172.160.1.0 255.255.255.0 10.17.0.1
  254. ip route 172.160.2.0 255.255.255.0 10.17.0.1
  255. ip route 172.160.3.0 255.255.255.0 10.17.0.1
  256. ip route 172.160.4.0 255.255.255.0 10.17.0.1
  257. ip route 182.200.1.0 255.255.255.0 10.19.0.1
  258. ip route 182.200.2.0 255.255.255.0 10.19.0.1
  259. ip route 182.200.3.0 255.255.255.0 10.19.0.1
  260. !
  261. !
  262. !
  263. access-list 50 deny 10.0.50.0 0.0.0.255
  264. access-list 50 permit any
  265. access-list 101 permit udp any any eq bootps
  266. access-list 101 permit udp any any eq bootpc
  267. access-list 101 permit tcp 10.0.70.0 0.0.0.255 10.0.10.0 0.0.0.255 eq 3389
  268. access-list 101 permit tcp 10.0.70.0 0.0.0.255 10.0.10.0 0.0.0.255 eq www
  269. access-list 101 permit tcp 10.0.70.0 0.0.0.255 10.0.10.0 0.0.0.255 eq 443
  270. access-list 101 permit tcp 10.0.70.0 0.0.0.255 10.0.10.0 0.0.0.255 eq 445
  271. access-list 101 permit icmp 10.0.70.0 0.0.0.255 10.0.10.0 0.0.0.255
  272. access-list 101 permit tcp 10.0.10.0 0.0.0.255 10.0.70.0 0.0.0.255 eq 3389
  273. access-list 101 permit tcp 10.0.10.0 0.0.0.255 10.0.70.0 0.0.0.255 eq www
  274. access-list 101 permit tcp 10.0.10.0 0.0.0.255 10.0.70.0 0.0.0.255 eq 443
  275. access-list 101 permit tcp 10.0.10.0 0.0.0.255 10.0.70.0 0.0.0.255 eq 445
  276. access-list 101 permit icmp 10.0.10.0 0.0.0.255 10.0.70.0 0.0.0.255
  277. access-list 110 permit udp any any eq bootps
  278. access-list 110 permit udp any any eq bootpc
  279. access-list 110 permit tcp 10.0.70.0 0.0.0.255 10.0.10.0 0.0.0.255 eq 3389
  280. access-list 110 permit tcp 10.0.70.0 0.0.0.255 10.0.10.0 0.0.0.255 eq www
  281. access-list 110 permit tcp 10.0.70.0 0.0.0.255 10.0.10.0 0.0.0.255 eq 443
  282. access-list 110 permit tcp 10.0.70.0 0.0.0.255 10.0.10.0 0.0.0.255 eq 445
  283. access-list 110 permit icmp 10.0.70.0 0.0.0.255 10.0.10.0 0.0.0.255
  284. access-list 110 permit tcp 10.0.10.0 0.0.0.255 10.0.70.0 0.0.0.255 eq 3389
  285. access-list 110 permit tcp 10.0.10.0 0.0.0.255 10.0.70.0 0.0.0.255 eq www
  286. access-list 110 permit tcp 10.0.10.0 0.0.0.255 10.0.70.0 0.0.0.255 eq 443
  287. access-list 110 permit tcp 10.0.10.0 0.0.0.255 10.0.70.0 0.0.0.255 eq 445
  288. access-list 110 permit icmp 10.0.10.0 0.0.0.255 10.0.70.0 0.0.0.255
  289. access-list 120 permit icmp 10.0.20.0 0.0.0.255 10.0.30.0 0.0.0.255
  290. access-list 120 permit icmp 10.0.20.0 0.0.0.255 10.0.40.0 0.0.0.255
  291. access-list 120 permit icmp 10.0.20.0 0.0.0.255 10.0.50.0 0.0.0.255
  292. access-list 120 permit icmp 10.0.20.0 0.0.0.255 10.0.60.0 0.0.0.255
  293. access-list 120 permit icmp 10.0.20.0 0.0.0.255 10.0.70.0 0.0.0.255
  294. access-list 120 deny ip 10.0.20.0 0.0.0.255 10.0.30.0 0.0.0.255
  295. access-list 120 deny ip 10.0.20.0 0.0.0.255 10.0.40.0 0.0.0.255
  296. access-list 120 deny ip 10.0.20.0 0.0.0.255 10.0.50.0 0.0.0.255
  297. access-list 120 deny ip 10.0.20.0 0.0.0.255 10.0.60.0 0.0.0.255
  298. access-list 120 deny ip 10.0.20.0 0.0.0.255 10.0.70.0 0.0.0.255
  299. access-list 120 permit ip any any
  300. !
  301. !
  302. !
  303. control-plane
  304. !
  305. !
  306. !
  307. !
  308. !
  309. !
  310. !
  311. !
  312. line con 0
  313. logging synchronous
  314. line aux 0
  315. line vty 0 4
  316. exec-timeout 5 0
  317. logging synchronous
  318. transport input all
  319. !
  320. !
  321. end
  322.  
  323.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement