Advertisement
anzhari

VMX Contrail Gateway

Mar 4th, 2016
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.28 KB | None | 0 0
  1. [edit]
  2. root# run show route
  3.  
  4. inet.0: 9 destinations, 9 routes (9 active, 0 holddown, 0 hidden)
  5. + = Active Route, - = Last Active, * = Both
  6.  
  7. 10.1.255.1/32 *[Direct/0] 23:44:55
  8. > via lo0.0
  9. 10.102.144.0/24 *[Direct/0] 23:44:55
  10. > via fxp0.0
  11. 10.102.144.94/32 *[Local/0] 23:44:55
  12. Local via fxp0.0
  13. 192.168.2.31/32 *[Static/5] 23:43:54 ##ROUTE TO CONTROLLER
  14. > to 192.168.101.1 via ge-0/0/0.0
  15. 192.168.2.33/32 *[Static/5] 23:43:54 ##ROUTE TO COMPUTE1
  16. > to 192.168.101.1 via ge-0/0/0.0
  17. 192.168.2.34/32 *[Static/5] 23:43:54 ##ROUTE TO COMPUTE2
  18. > to 192.168.101.1 via ge-0/0/0.0
  19. 192.168.101.0/24 *[Direct/0] 23:43:54
  20. > via ge-0/0/0.0
  21. 192.168.101.11/32 *[Local/0] 23:43:54
  22. Local via ge-0/0/0.0
  23. 224.0.0.2/32 *[LDP/9] 23:44:55, metric 1
  24. MultiRecv
  25.  
  26. inet.3: 3 destinations, 3 routes (3 active, 0 holddown, 0 hidden)
  27. + = Active Route, - = Last Active, * = Both
  28.  
  29. 192.168.2.0/24 *[Tunnel/300] 23:44:55
  30. Tunnel
  31. 192.168.2.33/32 *[Tunnel/300] 23:40:16 ##TUNNEL TO COMPUTE1
  32. > via gr-0/0/0.32769
  33. 192.168.2.34/32 *[Tunnel/300] 00:26:05 ##TUNNEL TO COMPUTE2
  34. > via gr-0/0/0.32770
  35.  
  36. vrf1.inet.0: 4 destinations, 4 routes (4 active, 0 holddown, 0 hidden)
  37. + = Active Route, - = Last Active, * = Both
  38.  
  39. 10.0.1.10/32 *[BGP/170] 20:11:33, localpref 200, from 192.168.2.31 ##VIRTUAL MACHINE VM1
  40. AS path: ?, validation-state: unverified
  41. > via gr-0/0/0.32769, Push 17
  42. 10.0.1.11/32 *[BGP/170] 00:25:47, localpref 200, from 192.168.2.31 ##VIRTUAL MACHINE VM2
  43. AS path: ?, validation-state: unverified
  44. > via gr-0/0/0.32770, Push 17
  45. 10.0.3.0/24 *[Direct/0] 23:43:54
  46. > via ge-0/0/1.0
  47. 10.0.3.11/32 *[Local/0] 23:43:54
  48. Local via ge-0/0/1.0
  49.  
  50. mpls.0: 7 destinations, 7 routes (7 active, 0 holddown, 0 hidden)
  51. + = Active Route, - = Last Active, * = Both
  52.  
  53. 0 *[MPLS/0] 23:44:55, metric 1
  54. to table inet.0
  55. 0(S=0) *[MPLS/0] 19:49:05, metric 1
  56. to table mpls.0
  57. 1 *[MPLS/0] 23:44:55, metric 1
  58. Receive
  59. 2 *[MPLS/0] 23:44:55, metric 1
  60. to table inet6.0
  61. 2(S=0) *[MPLS/0] 19:49:05, metric 1
  62. to table mpls.0
  63. 13 *[MPLS/0] 23:44:55, metric 1
  64. Receive
  65. 16 *[VPN/0] 23:44:55
  66. > via lsi.0 (vrf1), Pop
  67.  
  68. bgp.l3vpn.0: 2 destinations, 2 routes (2 active, 0 holddown, 0 hidden)
  69. + = Active Route, - = Last Active, * = Both
  70.  
  71. 192.168.2.33:1:10.0.1.10/32 ##VIRTUAL MACHINE VM1
  72. *[BGP/170] 20:11:33, localpref 200, from 192.168.2.31
  73. AS path: ?, validation-state: unverified
  74. > via gr-0/0/0.32769, Push 17
  75. 192.168.2.34:1:10.0.1.11/32 ##VIRTUAL MACHINE VM2
  76. *[BGP/170] 00:25:47, localpref 200, from 192.168.2.31
  77. AS path: ?, validation-state: unverified
  78. > via gr-0/0/0.32770, Push 17
  79.  
  80. bgp.evpn.0: 6 destinations, 6 routes (6 active, 0 holddown, 0 hidden)
  81. + = Active Route, - = Last Active, * = Both
  82.  
  83. 2:192.168.2.33:1::0::02:ac:0b:36:f6:eb/304
  84. *[BGP/170] 20:11:44, localpref 100, from 192.168.2.31
  85. AS path: ?, validation-state: unverified
  86. > via gr-0/0/0.32769
  87. 2:192.168.2.34:1::0::02:a6:23:7f:90:ea/304
  88. *[BGP/170] 00:26:05, localpref 100, from 192.168.2.31
  89. AS path: ?, validation-state: unverified
  90. > via gr-0/0/0.32770
  91. 2:192.168.2.33:1::0::02:ac:0b:36:f6:eb::10.0.1.10/304
  92. *[BGP/170] 20:11:33, localpref 200, from 192.168.2.31
  93. AS path: ?, validation-state: unverified
  94. > via gr-0/0/0.32769
  95. 2:192.168.2.34:1::0::02:a6:23:7f:90:ea::10.0.1.11/304
  96. *[BGP/170] 00:25:47, localpref 200, from 192.168.2.31
  97. AS path: ?, validation-state: unverified
  98. > via gr-0/0/0.32770
  99. 3:192.168.2.33:1::0::192.168.2.33/304
  100. *[BGP/170] 20:11:44, localpref 100, from 192.168.2.31
  101. AS path: ?, validation-state: unverified
  102. > via gr-0/0/0.32769
  103. 3:192.168.2.34:1::0::192.168.2.34/304
  104. *[BGP/170] 00:26:05, localpref 100, from 192.168.2.31
  105. AS path: ?, validation-state: unverified
  106. > via gr-0/0/0.32770
  107.  
  108. [edit]
  109. root#
  110.  
  111. [edit]
  112. root# run show bgp summary
  113. Groups: 1 Peers: 1 Down peers: 0
  114. Table Tot Paths Act Paths Suppressed History Damp State Pending
  115. bgp.l3vpn.0
  116. 2 2 0 0 0 0
  117. bgp.l3vpn.2
  118. 0 0 0 0 0 0
  119. bgp.evpn.0
  120. 6 6 0 0 0 0
  121. Peer AS InPkt OutPkt OutQ Flaps Last Up/Dwn State|#Active/Received/Accepted/Damped...
  122. 192.168.2.31 64512 2870 3202 0 0 1d 6:43:24 Establ
  123. bgp.l3vpn.0: 2/2/2/0
  124. bgp.evpn.0: 6/6/6/0
  125. vrf1.inet.0: 2/2/2/0
  126.  
  127. [edit]
  128. root# show | no-more
  129. ## Last changed: 2016-03-04 16:51:39 UTC
  130. version 15.1F4.15;
  131. groups {
  132. 1;
  133. }
  134. system {
  135. root-authentication {
  136. encrypted-password "$5$nZQtUNoy$oF9ixv0G1JDWDjX7dOmMrwDsL.28IFblMCXCPYrNjZ1"; ## SECRET-DATA
  137. }
  138. services {
  139. ssh {
  140. root-login allow;
  141. }
  142. netconf {
  143. ssh;
  144. traceoptions {
  145. file nc;
  146. flag all;
  147. }
  148. }
  149. }
  150. syslog {
  151. user * {
  152. any emergency;
  153. }
  154. file messages {
  155. any notice;
  156. authorization info;
  157. }
  158. file interactive-commands {
  159. interactive-commands any;
  160. }
  161. }
  162. }
  163. chassis {
  164. fpc 0 {
  165. pic 0 {
  166. tunnel-services;
  167. }
  168. }
  169. }
  170. interfaces {
  171. ge-0/0/0 {
  172. unit 0 {
  173. family inet {
  174. address 192.168.101.11/24;
  175. }
  176. }
  177. }
  178. ge-0/0/1 {
  179. unit 0 {
  180. family inet {
  181. address 10.0.3.11/24;
  182. }
  183. }
  184. }
  185. inactive: ge-0/0/2 {
  186. encapsulation ethernet-bridge;
  187. unit 0 {
  188. family bridge;
  189. }
  190. }
  191. fxp0 {
  192. unit 0 {
  193. family inet {
  194. address 10.102.144.94/24;
  195. }
  196. }
  197. }
  198. lo0 {
  199. unit 0 {
  200. family inet {
  201. address 10.1.255.1/32;
  202. }
  203. family mpls;
  204. }
  205. }
  206. }
  207. routing-options {
  208. static {
  209. route 192.168.2.31/32 next-hop 192.168.101.1;
  210. route 192.168.2.33/32 next-hop 192.168.101.1;
  211. route 192.168.2.34/32 next-hop 192.168.101.1;
  212. }
  213. route-distinguisher-id 10.1.255.1;
  214. autonomous-system 64512;
  215. dynamic-tunnels {
  216. gre1 {
  217. source-address 10.1.255.1;
  218. gre;
  219. destination-networks {
  220. 192.168.2.0/24;
  221. }
  222. }
  223. }
  224. }
  225. protocols {
  226. mpls {
  227. interface lo0.0;
  228. }
  229. bgp {
  230. group to_contrail {
  231. type internal;
  232. local-address 10.1.255.1;
  233. family inet-vpn {
  234. any;
  235. }
  236. family evpn {
  237. signaling;
  238. }
  239. neighbor 192.168.2.31;
  240. }
  241. }
  242. ldp {
  243. interface lo0.0;
  244. }
  245. }
  246. routing-instances {
  247. vrf1 {
  248. instance-type vrf;
  249. interface ge-0/0/1.0;
  250. vrf-target target:64512:1001;
  251. vrf-table-label;
  252. }
  253. inactive: vrf2 {
  254. instance-type evpn;
  255. vlan-id none;
  256. interface ge-0/0/2.0;
  257. route-distinguisher 64512:2;
  258. vrf-target target:64512:1002;
  259. protocols {
  260. evpn {
  261. interface ge-0/0/2.0;
  262. }
  263. }
  264. }
  265. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement