Guest User

Untitled

a guest
Jun 25th, 2020
414
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.12 KB | None | 0 0
  1. ####FRR router 1:
  2.  
  3. frrouting-1# show run
  4. Building configuration...
  5.  
  6. Current configuration:
  7. !
  8. frr version 7.5-dev_git
  9. frr defaults traditional
  10. hostname frrouting-1
  11. no ipv6 forwarding
  12. !
  13. interface eth1
  14. ip address 172.18.0.2/24
  15. !
  16. interface lo
  17. ip address 5.5.5.5/32
  18. !
  19. router bgp 800
  20. bgp router-id 5.5.5.5
  21. no bgp network import-check
  22. neighbor upstream peer-group
  23. neighbor upstream remote-as 700
  24. neighbor upstream capability dynamic
  25. neighbor 172.18.0.1 peer-group upstream
  26. !
  27. address-family ipv4 unicast
  28. network 5.5.5.5/32
  29. network 172.18.0.0/24
  30. exit-address-family
  31. !
  32. line vty
  33. !
  34. end
  35. ##show ip bgp
  36.  
  37. frrouting-1# show ip bgp
  38. BGP table version is 3, local router ID is 5.5.5.5, vrf id 0
  39. Default local pref 100, local AS 800
  40. Status codes: s suppressed, d damped, h history, * valid, > best, = multipath,
  41. i internal, r RIB-failure, S Stale, R Removed
  42. Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
  43. Origin codes: i - IGP, e - EGP, ? - incomplete
  44.  
  45. Network Next Hop Metric LocPrf Weight Path
  46. *> 5.5.5.5/32 0.0.0.0 0 32768 i
  47. *> 172.18.0.0/24 0.0.0.0 0 32768 i
  48.  
  49. ##show ip bgp neihbors 172.18.0.1
  50. frrouting-1# show ip bgp neighbors 172.18.0.1
  51. BGP neighbor is 172.18.0.1, remote AS 700, local AS 800, external link
  52. Hostname: frrouting-2
  53. Member of peer-group upstream for session parameters
  54. BGP version 4, remote router ID 4.4.4.4, local router ID 5.5.5.5
  55. BGP state = Established, up for 00:04:12
  56. Last read 00:00:12, Last write 00:00:12
  57. Hold time is 180, keepalive interval is 60 seconds
  58. Neighbor capabilities:
  59. 4 Byte AS: advertised and received
  60. AddPath:
  61. IPv4 Unicast: RX advertised IPv4 Unicast and received
  62. Dynamic: advertised and received
  63. Route refresh: advertised and received(old & new)
  64. Address Family IPv4 Unicast: advertised and received
  65. Hostname Capability: advertised (name: frrouting-1,domain name: n/a) received (name: frrouting-2,domain name: n/a)
  66. Graceful Restart Capability: advertised and received
  67. Remote Restart timer is 120 seconds
  68. Address families by peer:
  69. none
  70. Graceful restart information:
  71. End-of-RIB send: IPv4 Unicast
  72. End-of-RIB received: IPv4 Unicast
  73. Local GR Mode: Helper*
  74. Remote GR Mode: Helper
  75. R bit: False
  76. Timers:
  77. Configured Restart Time(sec): 120
  78. Received Restart Time(sec): 120
  79. IPv4 Unicast:
  80. F bit: False
  81. End-of-RIB sent: Yes
  82. End-of-RIB sent after update: Yes
  83. End-of-RIB received: Yes
  84. Timers:
  85. Configured Stale Path Time(sec): 360
  86. Message statistics:
  87. Inq depth is 0
  88. Outq depth is 0
  89. Sent Rcvd
  90. Opens: 3 3
  91. Notifications: 2 2
  92. Updates: 3 3
  93. Keepalives: 53 53
  94. Route Refresh: 0 0
  95. Capability: 0 0
  96. Total: 61 61
  97. Minimum time between advertisement runs is 0 seconds
  98.  
  99. For address family: IPv4 Unicast
  100. upstream peer-group member
  101. Update group 3, subgroup 3
  102. Packet Queue length 0
  103. Community attribute sent to this neighbor(all)
  104. Inbound updates discarded due to missing policy
  105. Outbound updates discarded due to missing policy
  106. 0 accepted prefixes
  107.  
  108. Connections established 3; dropped 2
  109. Last reset 00:04:14, Notification received (Cease/Other Configuration Change)
  110. Local host: 172.18.0.2, Local port: 55268
  111. Foreign host: 172.18.0.1, Foreign port: 179
  112. Nexthop: 172.18.0.2
  113. Nexthop global: fe80::e0a9:4ff:fe48:16b0
  114. Nexthop local: fe80::e0a9:4ff:fe48:16b0
  115. BGP connection: shared network
  116. BGP Connect Retry Timer in Seconds: 120
  117. Read thread: on Write thread: on FD used: 25
  118.  
  119. ##interfaces:
  120. frrouting-1# show int bri
  121. Interface Status VRF Addresses
  122. --------- ------ --- ---------
  123. eth0 up default
  124. eth1 up default 172.18.0.2/24
  125. eth2 up default
  126. eth3 up default
  127. lo up default 5.5.5.5/32
  128.  
  129. frrouting-1# ping 172.18.0.1
  130. PING 172.18.0.1 (172.18.0.1): 56 data bytes
  131. 64 bytes from 172.18.0.1: seq=0 ttl=64 time=0.181 ms
  132. 64 bytes from 172.18.0.1: seq=1 ttl=64 time=0.130 ms
  133. ^C
  134. --- 172.18.0.1 ping statistics ---
  135. 2 packets transmitted, 2 packets received, 0% packet loss
  136. round-trip min/avg/max = 0.130/0.155/0.181 ms
  137.  
  138. ###########################################################################
  139. ##ffrouting #2:
  140.  
  141. frrouting-2# show run
  142. Building configuration...
  143.  
  144. Current configuration:
  145. !
  146. frr version 7.5-dev_git
  147. frr defaults traditional
  148. hostname frrouting-2
  149. no ipv6 forwarding
  150. !
  151. interface eth1
  152. ip address 172.18.0.1/24
  153. !
  154. interface lo
  155. ip address 4.4.4.4/32
  156. !
  157. router bgp 700
  158. no bgp network import-check
  159. neighbor upstream peer-group
  160. neighbor upstream remote-as 800
  161. neighbor upstream capability dynamic
  162. neighbor 172.18.0.2 peer-group upstream
  163. !
  164. address-family ipv4 unicast
  165. network 4.4.4.4/32
  166. network 172.18.0.0/24
  167. exit-address-family
  168. !
  169. line vty
  170. !
  171. end
  172.  
  173. ##show ip bgp
  174. frrouting-2# show ip bgp
  175. BGP table version is 3, local router ID is 4.4.4.4, vrf id 0
  176. Default local pref 100, local AS 700
  177. Status codes: s suppressed, d damped, h history, * valid, > best, = multipath,
  178. i internal, r RIB-failure, S Stale, R Removed
  179. Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
  180. Origin codes: i - IGP, e - EGP, ? - incomplete
  181.  
  182. Network Next Hop Metric LocPrf Weight Path
  183. *> 4.4.4.4/32 0.0.0.0 0 32768 i
  184. *> 172.18.0.0/24 0.0.0.0 0 32768 i
  185.  
  186. Displayed 2 routes and 2 total paths
  187.  
  188. ##show ip bgp neighbors 172.18.0.2
  189. frrouting-2# show ip bgp neighbors 172.18.0.2
  190. BGP neighbor is 172.18.0.2, remote AS 800, local AS 700, external link
  191. Hostname: frrouting-1
  192. Member of peer-group upstream for session parameters
  193. BGP version 4, remote router ID 5.5.5.5, local router ID 4.4.4.4
  194. BGP state = Established, up for 00:06:51
  195. Last read 00:00:51, Last write 00:00:51
  196. Hold time is 180, keepalive interval is 60 seconds
  197. Neighbor capabilities:
  198. 4 Byte AS: advertised and received
  199. AddPath:
  200. IPv4 Unicast: RX advertised IPv4 Unicast and received
  201. Dynamic: advertised and received
  202. Route refresh: advertised and received(old & new)
  203. Address Family IPv4 Unicast: advertised and received
  204. Hostname Capability: advertised (name: frrouting-2,domain name: n/a) received (name: frrouting-1,domain name: n/a)
  205. Graceful Restart Capability: advertised and received
  206. Remote Restart timer is 120 seconds
  207. Address families by peer:
  208. none
  209. Graceful restart information:
  210. End-of-RIB send: IPv4 Unicast
  211. End-of-RIB received: IPv4 Unicast
  212. Local GR Mode: Helper*
  213. Remote GR Mode: Helper
  214. R bit: False
  215. Timers:
  216. Configured Restart Time(sec): 120
  217. Received Restart Time(sec): 120
  218. IPv4 Unicast:
  219. F bit: False
  220. End-of-RIB sent: Yes
  221. End-of-RIB sent after update: Yes
  222. End-of-RIB received: Yes
  223. Timers:
  224. Configured Stale Path Time(sec): 360
  225. Message statistics:
  226. Inq depth is 0
  227. Outq depth is 0
  228. Sent Rcvd
  229. Opens: 6 3
  230. Notifications: 6 2
  231. Updates: 3 3
  232. Keepalives: 55 55
  233. Route Refresh: 0 0
  234. Capability: 0 0
  235. Total: 70 63
  236. Minimum time between advertisement runs is 0 seconds
  237.  
  238. For address family: IPv4 Unicast
  239. upstream peer-group member
  240. Update group 3, subgroup 3
  241. Packet Queue length 0
  242. Community attribute sent to this neighbor(all)
  243. Inbound updates discarded due to missing policy
  244. Outbound updates discarded due to missing policy
  245. 0 accepted prefixes
  246.  
  247. Connections established 3; dropped 2
  248. Last reset 00:06:53, No AFI/SAFI activated for peer
  249. Local host: 172.18.0.1, Local port: 179
  250. Foreign host: 172.18.0.2, Foreign port: 55268
  251. Nexthop: 172.18.0.1
  252. Nexthop global: fe80::f05e:36ff:fef4:e6ac
  253. Nexthop local: fe80::f05e:36ff:fef4:e6ac
  254. BGP connection: shared network
  255. BGP Connect Retry Timer in Seconds: 120
  256. Read thread: on Write thread: on FD used: 26
  257.  
  258. ##show int bri
  259. frrouting-2# show interface brief
  260. Interface Status VRF Addresses
  261. --------- ------ --- ---------
  262. eth0 up default
  263. eth1 up default 172.18.0.1/24
  264. eth2 up default
  265. eth3 up default
  266. lo up default 4.4.4.4/32
  267.  
  268. ## ping
  269. frrouting-2# ping 172.18.0.2
  270. PING 172.18.0.2 (172.18.0.2): 56 data bytes
  271. 64 bytes from 172.18.0.2: seq=0 ttl=64 time=0.199 ms
  272. 64 bytes from 172.18.0.2: seq=1 ttl=64 time=0.143 ms
  273. 64 bytes from 172.18.0.2: seq=2 ttl=64 time=0.133 ms
  274. ^C
  275. --- 172.18.0.2 ping statistics ---
  276. 3 packets transmitted, 3 packets received, 0% packet loss
  277. round-trip min/avg/max = 0.133/0.158/0.199 ms
Add Comment
Please, Sign In to add comment