Advertisement
Guest User

Layer 3 switch

a guest
Nov 12th, 2019
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.10 KB | None | 0 0
  1. Current configuration : 8888 bytes
  2. !
  3. version 16.3.2
  4. no service timestamps log datetime msec
  5. no service timestamps debug datetime msec
  6. service password-encryption
  7. !
  8. hostname Sw1-OIK-Core
  9. !
  10. !
  11. enable secret 5 $1$mERr$hx5rVt7rPNoS4wqbXKX7m0
  12. !
  13. !
  14. !
  15. !
  16. !
  17. aaa new-model
  18. !
  19. aaa authentication login consoleport none
  20. aaa authentication login default group tacacs+ local
  21. !
  22. !
  23. !
  24. !
  25. !
  26. !
  27. !
  28. ip cef
  29. ip routing
  30. !
  31. no ipv6 cef
  32. !
  33. !
  34. !
  35. username cisco privilege 15 secret 5 $1$mERr$hx5rVt7rPNoS4wqbXKX7m0
  36. !
  37. !
  38. !
  39. !
  40. !
  41. !
  42. !
  43. !
  44. !
  45. ip ssh version 2
  46. no ip domain-lookup
  47. ip domain-name oik.no
  48. !
  49. !
  50. spanning-tree mode rapid-pvst
  51. !
  52. !
  53. !
  54. !
  55. !
  56. !
  57. interface Port-channel1
  58. switchport trunk native vlan 99
  59. switchport trunk allowed vlan 10,20,30,40,50,60,70,80,85,90,100
  60. switchport trunk encapsulation dot1q
  61. switchport mode trunk
  62. !
  63. interface GigabitEthernet1/0/1
  64. description To-OIK-Firewall
  65. no switchport
  66. ip address 10.10.10.2 255.255.255.252
  67. ip ospf message-digest-key 19 md5 cisco
  68. duplex auto
  69. speed auto
  70. !
  71. interface GigabitEthernet1/0/2
  72. description To-OIK-Sw2-Core-LACP
  73. switchport trunk native vlan 99
  74. switchport trunk allowed vlan 10,20,30,40,50,60,70,80,85,90,100
  75. switchport trunk encapsulation dot1q
  76. switchport mode trunk
  77. channel-group 1 mode active
  78. spanning-tree cost 4096
  79. !
  80. interface GigabitEthernet1/0/3
  81. description To-OIK-Sw2-Core-LACP
  82. switchport trunk native vlan 99
  83. switchport trunk allowed vlan 10,20,30,40,50,60,70,80,85,90,100
  84. switchport trunk encapsulation dot1q
  85. switchport mode trunk
  86. channel-group 1 mode active
  87. spanning-tree cost 4096
  88. !
  89. interface GigabitEthernet1/0/4
  90. description To-OIK-arena1
  91. switchport trunk native vlan 99
  92. switchport trunk allowed vlan 10,20,30,40,50,60,70,80,85,90,100
  93. switchport trunk encapsulation dot1q
  94. switchport mode trunk
  95. spanning-tree cost 4096
  96. !
  97. interface GigabitEthernet1/0/5
  98. description To-OIK-sw1-floor1
  99. switchport trunk native vlan 99
  100. switchport trunk allowed vlan 10,20,30,40,50,60,70,80,85,90,100
  101. switchport trunk encapsulation dot1q
  102. switchport mode trunk
  103. spanning-tree cost 4096
  104. !
  105. interface GigabitEthernet1/0/6
  106. description To-OIK-Sw2-Core-LACP
  107. switchport trunk native vlan 99
  108. switchport trunk allowed vlan 10,20,30,40,50,60,70,80,85,90,100
  109. switchport trunk encapsulation dot1q
  110. switchport mode trunk
  111. channel-group 1 mode active
  112. spanning-tree cost 4096
  113. !
  114. interface GigabitEthernet1/0/7
  115. description To-OIK-sw1-floor2
  116. switchport trunk native vlan 99
  117. switchport trunk allowed vlan 10,20,30,40,50,60,70,80,85,90,100
  118. switchport trunk encapsulation dot1q
  119. switchport mode trunk
  120. spanning-tree cost 4096
  121. !
  122. interface GigabitEthernet1/0/8
  123. description To-OIK-sw2-floor2
  124. switchport trunk native vlan 99
  125. switchport trunk allowed vlan 10,20,30,40,50,60,70,80,85,90,100
  126. switchport trunk encapsulation dot1q
  127. switchport mode trunk
  128. spanning-tree cost 4096
  129. !
  130. interface GigabitEthernet1/0/9
  131. description To-OIK-sw1-floor3
  132. switchport trunk native vlan 99
  133. switchport trunk allowed vlan 10,20,30,40,50,60,70,80,85,90,100
  134. switchport trunk encapsulation dot1q
  135. switchport mode trunk
  136. spanning-tree cost 4096
  137. !
  138. interface GigabitEthernet1/0/10
  139. description To-OIK-sw3-floor3
  140. switchport trunk native vlan 99
  141. switchport trunk allowed vlan 10,20,30,40,50,60,70,80,85,90,100
  142. switchport trunk encapsulation dot1q
  143. switchport mode trunk
  144. spanning-tree cost 4096
  145. !
  146. interface GigabitEthernet1/0/11
  147. description To-OIK-sw2-mgmt
  148. switchport trunk native vlan 99
  149. switchport trunk allowed vlan 10,20,30,40,50,60,70,80,85,90,100
  150. switchport trunk encapsulation dot1q
  151. switchport mode trunk
  152. spanning-tree cost 4096
  153. !
  154. interface GigabitEthernet1/0/12
  155. description To-OIK-sw1-mgmt
  156. switchport trunk native vlan 99
  157. switchport trunk allowed vlan 10,20,30,40,50,60,70,80,85,90,100
  158. switchport trunk encapsulation dot1q
  159. switchport mode trunk
  160. spanning-tree cost 4096
  161. !
  162. interface GigabitEthernet1/0/13
  163. description To-OIK-arena2
  164. switchport trunk native vlan 99
  165. switchport trunk allowed vlan 10,20,30,40,50,60,70,80,85,90,100
  166. switchport trunk encapsulation dot1q
  167. switchport mode trunk
  168. spanning-tree cost 4096
  169. !
  170. interface GigabitEthernet1/0/14
  171. description To-OIK-sw2-arena3
  172. switchport trunk native vlan 99
  173. switchport trunk allowed vlan 10,20,30,40,50,60,70,80,85,90,100
  174. switchport trunk encapsulation dot1q
  175. switchport mode trunk
  176. spanning-tree cost 4096
  177. !
  178. interface GigabitEthernet1/0/15
  179. description To-OIK-Sw2-floor1
  180. switchport trunk native vlan 99
  181. switchport trunk allowed vlan 10,20,30,40,50,60,70,80,85,90,100
  182. switchport trunk encapsulation dot1q
  183. switchport mode trunk
  184. spanning-tree cost 4096
  185. !
  186. interface GigabitEthernet1/0/16
  187. description To-OIK-Sw2-Core-LACP
  188. switchport trunk native vlan 99
  189. switchport trunk allowed vlan 10,20,30,40,50,60,70,80,85,90,100
  190. switchport trunk encapsulation dot1q
  191. switchport mode trunk
  192. channel-group 1 mode active
  193. spanning-tree cost 4096
  194. !
  195. interface GigabitEthernet1/0/17
  196. switchport access vlan 98
  197. switchport mode access
  198. switchport nonegotiate
  199. spanning-tree cost 4096
  200. spanning-tree portfast
  201. shutdown
  202. spanning-tree bpduguard enable
  203. !
  204. interface GigabitEthernet1/0/18
  205. switchport access vlan 98
  206. switchport mode access
  207. switchport nonegotiate
  208. spanning-tree cost 4096
  209. spanning-tree portfast
  210. shutdown
  211. spanning-tree bpduguard enable
  212. !
  213. interface GigabitEthernet1/0/19
  214. switchport access vlan 98
  215. switchport mode access
  216. switchport nonegotiate
  217. spanning-tree cost 4096
  218. spanning-tree portfast
  219. shutdown
  220. spanning-tree bpduguard enable
  221. !
  222. interface GigabitEthernet1/0/20
  223. switchport access vlan 98
  224. switchport mode access
  225. switchport nonegotiate
  226. spanning-tree cost 4096
  227. spanning-tree portfast
  228. shutdown
  229. spanning-tree bpduguard enable
  230. !
  231. interface GigabitEthernet1/0/21
  232. switchport access vlan 98
  233. switchport mode access
  234. switchport nonegotiate
  235. spanning-tree portfast
  236. shutdown
  237. spanning-tree bpduguard enable
  238. !
  239. interface GigabitEthernet1/0/22
  240. switchport access vlan 98
  241. switchport mode access
  242. switchport nonegotiate
  243. spanning-tree portfast
  244. shutdown
  245. spanning-tree bpduguard enable
  246. !
  247. interface GigabitEthernet1/0/23
  248. switchport access vlan 98
  249. switchport mode access
  250. switchport nonegotiate
  251. spanning-tree portfast
  252. shutdown
  253. spanning-tree bpduguard enable
  254. !
  255. interface GigabitEthernet1/0/24
  256. switchport access vlan 98
  257. switchport mode access
  258. switchport nonegotiate
  259. spanning-tree portfast
  260. shutdown
  261. spanning-tree bpduguard enable
  262. !
  263. interface GigabitEthernet1/1/1
  264. switchport access vlan 98
  265. switchport mode access
  266. switchport nonegotiate
  267. spanning-tree portfast
  268. shutdown
  269. spanning-tree bpduguard enable
  270. !
  271. interface GigabitEthernet1/1/2
  272. switchport access vlan 98
  273. switchport mode access
  274. switchport nonegotiate
  275. spanning-tree portfast
  276. shutdown
  277. spanning-tree bpduguard enable
  278. !
  279. interface GigabitEthernet1/1/3
  280. switchport access vlan 98
  281. switchport mode access
  282. switchport nonegotiate
  283. spanning-tree portfast
  284. shutdown
  285. spanning-tree bpduguard enable
  286. !
  287. interface GigabitEthernet1/1/4
  288. switchport access vlan 98
  289. switchport mode access
  290. switchport nonegotiate
  291. spanning-tree portfast
  292. shutdown
  293. spanning-tree bpduguard enable
  294. !
  295. interface Vlan1
  296. no ip address
  297. shutdown
  298. !
  299. interface Vlan10
  300. mac-address 00e0.a317.3e01
  301. ip address 172.16.1.4 255.255.252.0
  302. !
  303. interface Vlan20
  304. mac-address 00e0.a317.3e02
  305. ip address 172.16.4.4 255.255.252.0
  306. !
  307. interface Vlan30
  308. mac-address 00e0.a317.3e0b
  309. ip address 172.16.8.32 255.255.255.0
  310. !
  311. interface Vlan40
  312. mac-address 00e0.a317.3e03
  313. ip address 172.16.9.4 255.255.255.0
  314. !
  315. interface Vlan50
  316. mac-address 00e0.a317.3e04
  317. ip address 172.16.10.4 255.255.255.0
  318. !
  319. interface Vlan60
  320. mac-address 00e0.a317.3e05
  321. ip address 172.16.11.4 255.255.255.0
  322. !
  323. interface Vlan70
  324. mac-address 00e0.a317.3e06
  325. ip address 172.16.12.4 255.255.255.0
  326. !
  327. interface Vlan80
  328. mac-address 00e0.a317.3e07
  329. ip address 172.16.13.4 255.255.255.0
  330. !
  331. interface Vlan85
  332. mac-address 00e0.a317.3e08
  333. ip address 172.16.14.4 255.255.255.128
  334. !
  335. interface Vlan90
  336. mac-address 00e0.a317.3e09
  337. ip address 172.16.14.133 255.255.255.128
  338. !
  339. interface Vlan100
  340. mac-address 00e0.a317.3e0a
  341. ip address 172.16.15.4 255.255.255.0
  342. !
  343. router ospf 1
  344. log-adjacency-changes
  345. network 172.16.0.0 0.0.3.255 area 3
  346. network 172.16.4.0 0.0.3.255 area 3
  347. network 172.16.8.0 0.0.0.255 area 3
  348. network 172.16.9.0 0.0.0.255 area 3
  349. network 172.16.10.0 0.0.0.255 area 3
  350. network 172.16.11.0 0.0.0.255 area 3
  351. network 172.16.12.0 0.0.0.255 area 3
  352. network 172.16.13.0 0.0.0.255 area 3
  353. network 172.16.14.0 0.0.0.127 area 3
  354. network 172.16.14.128 0.0.0.127 area 3
  355. network 172.16.15.0 0.0.0.255 area 3
  356. network 10.10.10.0 0.0.0.3 area 3
  357. !
  358. router rip
  359. !
  360. ip classless
  361. !
  362. ip flow-export version 9
  363. !
  364. !
  365. !
  366. no cdp run
  367. !
  368. !
  369. tacacs-server host 172.16.8.21 key cisco
  370. !
  371. !
  372. !
  373. snmp-server community nsm RW
  374. !
  375. logging 172.16.8.31
  376. line con 0
  377. !
  378. line aux 0
  379. !
  380. line vty 0 4
  381. login authentication default
  382. transport input ssh
  383. line vty 5 15
  384. login authentication default
  385. transport input ssh
  386. !
  387. !
  388. !
  389. ntp authentication-key 1 md5 0822455D0A16 7
  390. ntp authenticate
  391. ntp trusted-key 1
  392. ntp server 172.16.8.23
  393. !
  394. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement