Advertisement
Guest User

Untitled

a guest
Dec 6th, 2019
171
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.09 KB | None | 0 0
  1. --------R1---------
  2. RP/0/0/CPU0:R1#sh run
  3. Fri Dec 6 10:41:52.447 UTC
  4. Building configuration...
  5. !! IOS XR Configuration 6.1.2
  6. !! Last configuration change at Tue Dec 3 15:41:16 2019 by root
  7. !
  8. hostname R1
  9. interface Loopback0
  10. ipv4 address 1.1.1.1 255.255.255.255
  11. !
  12. interface MgmtEth0/0/CPU0/0
  13. shutdown
  14. !
  15. interface GigabitEthernet0/0/0/0
  16. ipv4 address 10.1.2.1 255.255.255.0
  17. !
  18. interface GigabitEthernet0/0/0/1
  19. ipv4 address 10.1.1.1 255.255.255.0
  20. !
  21. interface GigabitEthernet0/0/0/2
  22. ipv4 address 10.1.1.2 255.255.255.0
  23. !
  24. route-policy PASS
  25. pass
  26. end-policy
  27. !
  28. router ospf 1
  29. router-id 1.1.1.1
  30. area 0
  31. interface Loopback0
  32. !
  33. interface GigabitEthernet0/0/0/0
  34. !
  35. !
  36. !
  37. router bgp 111
  38. address-family ipv4 unicast
  39. network 10.1.1.0/24
  40. !
  41. neighbor 10.1.2.2
  42. remote-as 100
  43. ebgp-multihop 5
  44. address-family ipv4 unicast
  45. route-policy PASS in
  46. route-policy PASS out
  47. !
  48. !
  49. !
  50. end
  51.  
  52. RP/0/0/CPU0:R1#sh bgp sum
  53. Fri Dec 6 10:42:10.456 UTC
  54. BGP router identifier 1.1.1.1, local AS number 111
  55. BGP generic scan interval 60 secs
  56. Non-stop routing is enabled
  57. BGP table state: Active
  58. Table ID: 0xe0000000 RD version: 5
  59. BGP main routing table version 5
  60. BGP NSR Initial initsync version 2 (Reached)
  61. BGP NSR/ISSU Sync-Group versions 0/0
  62. BGP scan interval 60 secs
  63.  
  64. BGP is operating in STANDALONE mode.
  65.  
  66.  
  67. Process RcvTblVer bRIB/RIB LabelVer ImportVer SendTblVer StandbyVer
  68. Speaker 5 5 5 5 5 0
  69.  
  70. Neighbor Spk AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down St/PfxRcd
  71. 10.1.2.2 0 100 761 758 5 0 0 12:34:34 2
  72.  
  73.  
  74. -----------R2-----------
  75.  
  76. RP/0/0/CPU0:R2#sh run
  77. Fri Dec 6 10:43:45.009 UTC
  78. Building configuration...
  79. !! IOS XR Configuration 6.1.2
  80. !! Last configuration change at Tue Dec 3 16:16:06 2019 by root
  81. !
  82. hostname R2
  83. interface Loopback0
  84. ipv4 address 2.2.2.2 255.255.255.255
  85. !
  86. interface MgmtEth0/0/CPU0/0
  87. shutdown
  88. !
  89. interface GigabitEthernet0/0/0/0
  90. ipv4 address 10.1.2.2 255.255.255.0
  91. !
  92. interface GigabitEthernet0/0/0/1
  93. ipv4 address 10.2.6.2 255.255.255.0
  94. !
  95. interface GigabitEthernet0/0/0/2
  96. ipv4 address 172.16.127.42 255.255.255.0
  97. !
  98. route-policy PASS
  99. pass
  100. end-policy
  101. !
  102. router ospf 1
  103. router-id 2.2.2.2
  104. area 0
  105. interface Loopback0
  106. !
  107. interface GigabitEthernet0/0/0/0
  108. !
  109. interface GigabitEthernet0/0/0/2
  110. !
  111. !
  112. !
  113. router bgp 100
  114. address-family ipv4 unicast
  115. network 10.1.2.0/24
  116. !
  117. neighbor 10.1.2.1
  118. remote-as 111
  119. ebgp-multihop 5
  120. address-family ipv4 unicast
  121. route-policy PASS in
  122. route-policy PASS out
  123. !
  124. !
  125. neighbor 10.2.6.6
  126. remote-as 666
  127. ebgp-multihop 5
  128. address-family ipv4 unicast
  129. route-policy PASS in
  130. route-policy PASS out
  131. !
  132. !
  133. neighbor 172.16.127.1
  134. remote-as 100
  135. update-source GigabitEthernet0/0/0/2
  136. address-family ipv4 unicast
  137. route-policy PASS in
  138. route-policy PASS out
  139. next-hop-self
  140. !
  141. !
  142. !
  143. end
  144.  
  145. RP/0/0/CPU0:R2#sh bgp sum
  146. Fri Dec 6 10:43:53.639 UTC
  147. BGP router identifier 2.2.2.2, local AS number 100
  148. BGP generic scan interval 60 secs
  149. Non-stop routing is enabled
  150. BGP table state: Active
  151. Table ID: 0xe0000000 RD version: 5
  152. BGP main routing table version 5
  153. BGP NSR Initial initsync version 2 (Reached)
  154. BGP NSR/ISSU Sync-Group versions 0/0
  155. BGP scan interval 60 secs
  156.  
  157. BGP is operating in STANDALONE mode.
  158.  
  159.  
  160. Process RcvTblVer bRIB/RIB LabelVer ImportVer SendTblVer StandbyVer
  161. Speaker 5 5 5 5 5 0
  162.  
  163. Neighbor Spk AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down St/PfxRcd
  164. 10.1.2.1 0 111 759 762 5 0 0 12:36:31 1
  165. 10.2.6.6 0 666 763 762 5 0 0 12:36:31 1
  166. 172.16.127.1 0 100 1517 1518 5 0 0 12:36:30 0
  167.  
  168. --------R4---------
  169.  
  170. RP/0/0/CPU0:R4#sh run
  171. Fri Dec 6 10:44:30.586 UTC
  172. Building configuration...
  173. !! IOS XR Configuration 6.1.2
  174. !! Last configuration change at Tue Dec 3 16:18:00 2019 by root
  175. !
  176. hostname R4
  177. interface Loopback0
  178. ipv4 address 4.4.4.4 255.255.255.255
  179. !
  180. interface MgmtEth0/0/CPU0/0
  181. shutdown
  182. !
  183. interface GigabitEthernet0/0/0/0
  184. ipv4 address 10.4.5.4 255.255.255.0
  185. !
  186. interface GigabitEthernet0/0/0/1
  187. ipv4 address 10.6.4.4 255.255.255.0
  188. !
  189. interface GigabitEthernet0/0/0/2
  190. ipv4 address 172.16.127.44 255.255.255.0
  191. !
  192. route-policy PASS
  193. pass
  194. end-policy
  195. !
  196. router ospf 1
  197. router-id 4.4.4.4
  198. area 0
  199. interface Loopback0
  200. !
  201. interface GigabitEthernet0/0/0/0
  202. !
  203. interface GigabitEthernet0/0/0/2
  204. !
  205. !
  206. !
  207. router bgp 100
  208. address-family ipv4 unicast
  209. network 10.4.5.0/24
  210. !
  211. neighbor 10.4.5.5
  212. remote-as 555
  213. ebgp-multihop 5
  214. address-family ipv4 unicast
  215. route-policy PASS in
  216. route-policy PASS out
  217. !
  218. !
  219. neighbor 10.6.4.6
  220. remote-as 666
  221. ebgp-multihop 5
  222. address-family ipv4 unicast
  223. route-policy PASS in
  224. route-policy PASS out
  225. !
  226. !
  227. neighbor 172.16.127.1
  228. remote-as 100
  229. update-source GigabitEthernet0/0/0/2
  230. address-family ipv4 unicast
  231. route-policy PASS in
  232. route-policy PASS out
  233. next-hop-self
  234. !
  235. !
  236. !
  237. end
  238.  
  239. RP/0/0/CPU0:R4#sh bgp sum
  240. Fri Dec 6 10:44:36.005 UTC
  241. BGP router identifier 4.4.4.4, local AS number 100
  242. BGP generic scan interval 60 secs
  243. Non-stop routing is enabled
  244. BGP table state: Active
  245. Table ID: 0xe0000000 RD version: 4
  246. BGP main routing table version 4
  247. BGP NSR Initial initsync version 2 (Reached)
  248. BGP NSR/ISSU Sync-Group versions 0/0
  249. BGP scan interval 60 secs
  250.  
  251. BGP is operating in STANDALONE mode.
  252.  
  253.  
  254. Process RcvTblVer bRIB/RIB LabelVer ImportVer SendTblVer StandbyVer
  255. Speaker 4 4 4 4 4 0
  256.  
  257. Neighbor Spk AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down St/PfxRcd
  258. 10.4.5.5 0 555 760 760 4 0 0 12:36:57 0
  259. 10.6.4.6 0 666 764 762 4 0 0 12:37:09 1
  260. 172.16.127.1 0 100 1519 1518 4 0 0 12:37:15 0
  261.  
  262.  
  263. ---------R5---------
  264.  
  265. RP/0/0/CPU0:R5#sh run
  266. Fri Dec 6 10:45:31.732 UTC
  267. Building configuration...
  268. !! IOS XR Configuration 6.1.2
  269. !! Last configuration change at Tue Dec 3 15:18:36 2019 by root
  270. !
  271. hostname R5
  272. interface Loopback0
  273. ipv4 address 5.5.5.5 255.255.255.255
  274. !
  275. interface MgmtEth0/0/CPU0/0
  276. shutdown
  277. !
  278. interface GigabitEthernet0/0/0/0
  279. ipv4 address 10.4.5.5 255.255.255.0
  280. !
  281. interface GigabitEthernet0/0/0/1
  282. shutdown
  283. !
  284. interface GigabitEthernet0/0/0/2
  285. shutdown
  286. !
  287. route-policy PASS
  288. pass
  289. end-policy
  290. !
  291. router ospf 1
  292. router-id 5.5.5.5
  293. area 0
  294. interface Loopback0
  295. !
  296. interface GigabitEthernet0/0/0/0
  297. !
  298. !
  299. !
  300. router bgp 555
  301. address-family ipv4 unicast
  302. !
  303. neighbor 10.4.5.4
  304. remote-as 100
  305. address-family ipv4 unicast
  306. route-policy PASS in
  307. route-policy PASS out
  308. !
  309. !
  310. !
  311. end
  312.  
  313. RP/0/0/CPU0:R5#sh bgp sum
  314. Fri Dec 6 10:45:37.191 UTC
  315. BGP router identifier 5.5.5.5, local AS number 555
  316. BGP generic scan interval 60 secs
  317. Non-stop routing is enabled
  318. BGP table state: Active
  319. Table ID: 0xe0000000 RD version: 4
  320. BGP main routing table version 4
  321. BGP NSR Initial initsync version 2 (Reached)
  322. BGP NSR/ISSU Sync-Group versions 0/0
  323. BGP scan interval 60 secs
  324.  
  325. BGP is operating in STANDALONE mode.
  326.  
  327.  
  328. Process RcvTblVer bRIB/RIB LabelVer ImportVer SendTblVer StandbyVer
  329. Speaker 4 4 4 4 4 0
  330.  
  331. Neighbor Spk AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down St/PfxRcd
  332. 10.4.5.4 0 100 761 760 4 0 0 12:38:10 2
  333.  
  334. --------R6---------
  335.  
  336. RP/0/0/CPU0:R6#sh run
  337. Fri Dec 6 10:46:15.569 UTC
  338. Building configuration...
  339. !! IOS XR Configuration 6.1.2
  340. !! Last configuration change at Tue Dec 3 15:22:07 2019 by root
  341. !
  342. hostname R6
  343. interface Loopback0
  344. ipv4 address 6.6.6.6 255.255.255.255
  345. !
  346. interface MgmtEth0/0/CPU0/0
  347. shutdown
  348. !
  349. interface GigabitEthernet0/0/0/0
  350. ipv4 address 10.2.6.6 255.255.255.0
  351. !
  352. interface GigabitEthernet0/0/0/1
  353. ipv4 address 10.6.4.6 255.255.255.0
  354. !
  355. interface GigabitEthernet0/0/0/2
  356. ipv4 address 192.168.6.6 255.255.0.0
  357. !
  358. route-policy PASS
  359. pass
  360. end-policy
  361. !
  362. router bgp 666
  363. address-family ipv4 unicast
  364. network 192.168.0.0/16
  365. !
  366. neighbor 10.2.6.2
  367. remote-as 100
  368. ebgp-multihop 5
  369. address-family ipv4 unicast
  370. route-policy PASS in
  371. route-policy PASS out
  372. !
  373. !
  374. neighbor 10.6.4.4
  375. remote-as 100
  376. ebgp-multihop 5
  377. address-family ipv4 unicast
  378. route-policy PASS in
  379. route-policy PASS out
  380. !
  381. !
  382. !
  383. end
  384.  
  385. RP/0/0/CPU0:R6#sh bgp sum
  386. Fri Dec 6 10:46:22.768 UTC
  387. BGP router identifier 6.6.6.6, local AS number 666
  388. BGP generic scan interval 60 secs
  389. Non-stop routing is enabled
  390. BGP table state: Active
  391. Table ID: 0xe0000000 RD version: 6
  392. BGP main routing table version 6
  393. BGP NSR Initial initsync version 2 (Reached)
  394. BGP NSR/ISSU Sync-Group versions 0/0
  395. BGP scan interval 60 secs
  396.  
  397. BGP is operating in STANDALONE mode.
  398.  
  399.  
  400. Process RcvTblVer bRIB/RIB LabelVer ImportVer SendTblVer StandbyVer
  401. Speaker 6 6 6 6 6 0
  402.  
  403. Neighbor Spk AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down St/PfxRcd
  404. 10.2.6.2 0 100 765 766 6 0 0 12:38:50 2
  405. 10.6.4.4 0 100 763 766 6 0 0 12:39:00 1
  406.  
  407. ----------GoBGP GLOBAL RIB----------
  408.  
  409. lb@lb-GL552VW:~$ gobgp global rib
  410. Network Next Hop AS_PATH Age Attrs
  411. *> 10.1.1.0/24 172.16.127.42 111 12:40:27 [{Origin: i} {Med: 0} {LocalPref: 100}]
  412. *> 10.1.2.0/24 172.16.127.42 12:40:27 [{Origin: i} {Med: 0} {LocalPref: 100}]
  413. *> 10.4.5.0/24 172.16.127.44 12:40:25 [{Origin: i} {Med: 0} {LocalPref: 100}]
  414. *> 192.168.0.0/16 172.16.127.42 666 12:40:27 [{Origin: i} {Med: 0} {LocalPref: 100}]
  415. * 192.168.0.0/16 172.16.127.44 666 12:40:25 [{Origin: i} {Med: 0} {LocalPref: 100}]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement